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

#1141
Was it one-time occurence or it happens often? Currently the probocol between management console and server is not tolerant to interruptions and console needs to be restarted.
Is there anything is netxms server log at that moment? Did server restart that moment?
#1142
Какая версия NetXMS?
#1143
apt install netxms-base

if it's already installed, try removing it first with
apt purge netxms-base
#1144
Did you manage to find and delete libnx* and libnetxms* files?

Please show the output of these two commands:
ldd /usr/bin/nxagentd
ldd /usr/lib/x86_64-linux-gnu/libnxdb.so.36

#1145
The database will stand as it is, so there is no need to do init or upgrade. Netxms will just connect to the database that it has in config file.
#1146
I would do the following way:
apt remove "netxms*"

Then find and delete the following files on the file system:
libnx*
libnetxms*

And then install netxms again - install  netxms-release package and then netxms-server, netxms-agent and database driver package.
#1147
try deleting /var/log/netxmsd and running
netxmsd -D 6
again.
Wil the error be the same?
#1148
It's ok with /etc/netxmsd.conf - it's just printing what config file it's using. The error is "FATAL ERROR: Cannot open log file".

I can think of two reasons for that:
- you are starting it as regular user, but the log file was previously opened by netxms running under root (because systemd lauches it this way). So under regular user you don't have rights to write to same log file. Try running under root user.
- check log file configuration in /etc/netxmsd.conf. Does it point to non-existing folder?
#1149
try starting netxmsd process from command prompt in foregroud mode:

netxmsd -D 6

This will start it with 6-th level or debug and will put all messages that are written to log file to the console. After it terminates, share the output.
#1150
You can check the list of published packages in package repository, e.g. for Ubuntu Focal Fossa: https://packages.netxms.org/ubuntu/pool/focal/main/n/netxms/
Currently it's 3.6.300

Make sure you run
apt update
prior to
apt upgrade
#1151
On startup netxms management console downloads netxms.mib file from server (or if it's already downloaded, checks, if it needs downloading again).
As a workaround you can set "Connection over slow network" checkbox on console's login screen - it will omit mib file downloading. Or you can try to copy /var/lib/netxms/netxms.mib
file from server and putting it in ~/.nxmc/data folder, but I am not sure it that will work.

How fast is your network connection from your desktop to NetXMS server? What are OSes on the server and your desktop? Is your netxms console the most recent version?
#1152
Hi!

If you installed on Ubuntu from package, you just need to do the standard upgrade with apt or apt-get, no special procedures required.
#1153
NetXMS keeps separate tables for each nodes to keep DCI history. idata is for single value DCIs and tdata for table DCIs.
This could happen, if some nodes were deleted prior to netxms shutdown or crash, the correspnding tables won't be deleted from the database. Then, when new node is created, it used same IDs and tries to create tables that already exist.
22092 and 22093 should be IDs or recently created nodes (you can search in object tree by #22092).
So this error message is not really a problem and should not cause any issues.
#1154
It could be related to connectivity problems that were introduced in 3.6. Today 3.6.300 that hopefully fixes that issue, please try upgrading to that.
#1155
Service check is performing the checks via NetXMS agent that is installed on NetXMS server. The agent should have portcheck subagent enabled.

But overall service check functionality is old and is not being developed. It's recommended to use netsvc subagent, which is based on curl. It provides Service.Check(URL[, regex]) agent parameter. Here's some information: https://www.netxms.org/documentation/adminguide/service-monitoring.html#netsvc-configuration