Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Filipp Sudanov

#736
Also, for testing you can use Tools->Send notification menu.
#737
Configuration looks correct (except for RetryCount=5 - it's now taken from a global server variable).

Most probably there is some issue with your mail relay software. I've successfully used https://sourceforge.net/projects/emailrelay/, you may try this as well.

You can simply test your email relay like this:

telnet localhost 25
EHLO localhost
MAIL FROM: <[email protected]>
RCPT TO: <[email protected]>
DATA
From: [email protected]
To: [email protected]
Subject: test email

test body
.
quit
#738
If you double-click on the notification channel, what settings will be available there?
#739
Yes, grafana users logging out 5-10 mins later is normal.

Also, sessions that are marked as DESKTOP but without any user could be some connections to port 4701 (e.g. just telnet to that port would give such thing). You can use netstat to check from which IPs these connections may be coming.

If data collection interruption is observed, it could be that something actually hangs in netxmsd process. The other possible options is some issues with the DB.

I've attached script that collects debug information. If you observe the issue, pls run this script and share the results.

The second script is here: https://raw.githubusercontent.com/netxms/netxms/master/tools/capture_netxmsd_threads.sh
It collects information about netxmsd threads. When the issue happens, please run this script 3 times with 20-60 seconds interval. It will produce files in /tmp. It requires gdb on the system.

There's a new release. We suggest upgrading as, anyways, if a bug will be found it will be fixed in the new version.

P.S. nx-collect-server-diag script uses nxadm which requires authentication in 4.1. The script is not updated yet to do that. You can turn off this by changing server parameter Server.Security.RestrictLocalConsoleAccess


#740
Quote2022.06.07 16:44:25.647 *E* [db                 ] Your database has format version 40.100, but server is compiled for version 41.17
This means that netxms managed to connect to the database, but netxms binaries are newer version then these that were used last time with this database. Please execute
nxdbmgr upgrade
and once it complete try to start netxms again.
#741
How the IP of DB server is configured in netxmsd.conf? Is it like this:
DBServer=127.0.0.1

If so, try
mysql -u root -p -h 127.0.0.1
#742
Try connecting from the machine where your netxms server is running by giving the IP address of your database server:

mysql -u root -p -h 1.2.3.4

1.2.3.4 should be replaced by IP address of your database server.
#743
Well, this line gives the answer:
2022.06.07 13:06:12.175 *E* [db                 ] Unable to establish connection with database (Access denied for user 'netxms'@'localhost' (using password: NO))
NetXMS was not able to connect to the database. Check your login and password and that the database accepts connection from that IP address.
#744
General Support / Re: Network Discovery
June 07, 2022, 01:29:20 PM
Descovery debugging was a bit improved. Fix will be included in next patch release. Please try the new version when it will be available and share the log.
#745
Can you check in Audit Log in netxms if there are any unsuccessful logins happening?
#746
Ok, so looks that the event about the SQL error is generated showing the server as source.

This error happens due to old version netxms agent - it cropped name of software package and it could happen that remaining part of name for two packages was the same. So the solution is to upgrade agents on all nodes.
You can try to find the node

select from software_inventory where name like '6733-Cisco AnyConnect Secure Mobility Client%' and version = '4.7.04056';
#747
Are there also lines like this in the log:

2022.06.06 11:41:35.641 *I* [comm.listener      ] SocketListener/Clients: listening on 0.0.0.0:4701
2022.06.06 11:41:35.641 *I* [comm.listener      ] SocketListener/Clients: listening on [0.0.0.0]:4701
#748
General Support / Re: File upload error
June 06, 2022, 11:39:32 AM
It is planned to rework file upload mechanism in the near future - when this will be done, we will double-check that all issues like this one are fixed.
#749
General Support / Re: nxadm: Server error 2
June 03, 2022, 05:07:56 PM
Authentication was recently added to nxadm and is turned on by default. It can be turned off by server configuration variable Server.Security.RestrictLocalConsoleAccess.

Or
nxadm -u username -P password -i

We will try to make the error message more human-friendly.
#750
try
sudo systemctl start netxmsd
instead of
systemctl start netxms-server