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

#1546
2.2.17 is a fairly old version that we do not support any more. It's recommended to upgrade to 3.1.
#1547
It's a rare bug that is hard to replicate. Would it be possible that you compile netxms server from sources? If yes, we could prepare a patch that could do deeper debugging in this situation.
#1548
General Support / Re: Handles Open customer Parameter
February 21, 2020, 05:19:50 PM
In configuration -> Server configuration there is parameter AgentCommandTimeout that defines, how long server waits for queries to agent. By default it's 4000 ms. It's good to keep this low, otherwise, if there'll be a lot of parameters, that take to long to reply, server poller processes will be massively occupied with waiting and server will have problems with getting all the data it should.

From agent side there is param in config file ExecTimeout that defines how long agent waits for an extrenal process (2000 ms by default).

It's better to keep the above settings as the are, since there's a special approach for running long queries - ExternalParametersProvider.
(https://www.netxms.org/documentation/adminguide/agent-management.html#externalparametersprovider)

It runs long queries in the background, caches the result and passes it to the server when server requests corresponding metric.
There is parameter in agent configuration file that defines maximum timeout for command - ExternalParameterProviderTimeout (in seconds). If a command runs longer, it will be terminated.
#1549
Какая версия сервера используется? Откуда ставилась - из пакетов, или компилировалась?
Какая база данных?
#1550
You can change logging level for particular debug tags, e.g.:
nxadm -c "debug obj.sync 6"
Then you can check current status of logging
nxadm -c "debug"
And reset logging to default level for particular tag:
nxadm -c "debug obj.sync -1"

"SQL query failed" are errors, so should be visible on debug level 0, so we assume there is no such errors on your system.

obj.sync messages are delayed, should happen within about a minute after deletion on the front-end. Try setting debug level 6 to obj.sync and see what's going to be in the log.
#1551
General Support / Re: netxmsd Killed, Ran Out of Memory?
February 20, 2020, 03:38:52 PM
1) please show full output of nxadm -c 'sh st'
2) please show full output of nxadm -c 'sh q'
3) please show graph of NetXMS server: physical memory used by process for the duration for few days - from server start till out of memory event.
#1552
Try checking server log either for SQL query error messages or messages with tag [obj.sync           ] saying something like "Unable to delete...". If you see nothing, try increasing debug level to 6.
#1553
General Support / Re: Handles Open customer Parameter
February 20, 2020, 02:26:46 PM
Agent reads it's configuration file only on start-up, so you have to restart the agent so it will be able to ran this custom parameter.
Now, the server reads available parameters from the agent on configuration poll only. So once you've restarted the agent, you can do a manual configuration poll and then the parameter should appear in the list.
#1554
General Support / Re: scripting and ssh commands
February 18, 2020, 06:42:01 PM
ssh functionality is implemented only in ssh.nsm subagent, server does not do ssh communications. So, if you have zoning, you need to load ssh.nsm on zone proxies. If there's no zoning, agent running on netxms server will be used for ssh commands, so you need to enable ssh.nsm there.
#1555
Try to use -P instead of -p.
(one day nxpush will give correct error message in that case :))
#1556
ldconfig says that there's something wrong with files in /usr/lib/arm-linux-gnueabihf/ - but that's not related to netxms.
What about nxagentd - what happens if you try to start it?
#1557
What's in the log file of agent at the moment when they became unsupported?

Probable reason could be some problems with platform subagent - it's winnt.nsm in case if the agent is on windows.
#1558
config file absence is not an issue yet - it's not able to find a .so library.

Try to create a file /etc/ld.so.conf.d/netxms.conf with the following contents:
/opt/netxms/lib/

Then run
ldconfig

This should add /opt/netxms/lib/ to the list of places where system searches for shared libraries.

Then attempt to launch nxagentd -D 6 should give something like this:
Configuration loading error: Could not process "/etc/nxagentd.conf"!
Error loading configuration from "/etc/nxagentd.conf" section CORE
Error loading configuration file


The next step is to create agent config file /etc/nxagentd.conf. The minimal config could be like this (replace the address in MasterServers to actual address of your NetXMS server):

LogFile = /var/log/nxagentd
DebugLevel = 2
MasterServers = 192.168.1.2

#1559
The first thing to try is generic ARM agent that's available among downloads:

https://www.netxms.org/download/releases/3.1/nxagent-3.1.343-linux-arm.tar.gz

Extract it to the root of the filesystem - the files will get to /opt/netxms - and try running
/opt/netxms/bin/nxagentd -D 6

If we are lucky, it will start - and will blame that there is no config file - you could create one in /etc/nxagentd.conf. Or it will not start, then you'd have to compile it from sources.
Please report the results.
#1560
General Support / Re: Network map node placement
February 06, 2020, 04:55:20 PM
This happens only when map is scrolled - the coordinates where the node appears do not consider the offset due to scrolling. Created https://track.radensolutions.com/issue/NX-1790 for that.