News:

We really need your input in this questionnaire

Main Menu
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 - Victor Kirhenshtein

#1381
General Support / Re: agent tunnel not connecting
March 02, 2019, 09:40:10 AM
Hi,

please make sure that you have debug level 6 for tag agent.tunnel on server side and provide debug output for tunnel establishing.

Best regards,
Victor
#1382
General Support / Re: nxmc with Java 11
March 02, 2019, 09:35:56 AM
Hi,

you can also create symbolic link named "jre" within "nxmc" directory pointing to JRE 8 - nxmc will pick up that JRE then.

Best regards,
Victor
#1383
General Support / Re: Unable to Start Netxms Server
March 01, 2019, 01:03:36 PM
Hi,

this is a bug in delayed action execution. As temporary workaround you can find and delete in database scheduled tasks of type "Execute.Action". You can find them using the following query:

SELECT * FROM scheduled_tasks WHERE taskid='Execute.Action';

We will provide fix soon.

Best regards,
Victor
#1384
Hi!

What OS you are using? Can you provide crash dump?

Best regards,
Victor
#1385
Hi,

it is defined by agent parameter TunnelKeepaliveInterval, but same interval also used for sending keepalive packets in existing tunnels.

Best regards,
Victor
#1386
Hi,

to get the dump, do the following:

1. Stop netxmsd process
2. Run command

gdb netxmsd

3. You'll get "gdb>" prompt - run command

run -D4

4. Wait for the crash. When process crashed, you'll get "gdb>" prompt again.

5. Run command

bt

and send me it's output.

If you have installed server from deb packages, make sure that package netxms-server-dbg is installed.

Best regards,
Victor
#1387
General Support / Re: Find text string within log file
February 27, 2019, 10:01:27 PM
Hi!

You can use macros for forming date/time based file name (possible macros can be found here: http://www.cplusplus.com/reference/ctime/strftime/) or you can use output of shell script as file name using backticks, like this:


<file>C:\FX_CHUB\LOGS\`C:\gen_file_name.cmd`</file>


In this example file name will be taken from output of script C:\gen_file_name.cmd

Best regards,
Victor
#1388
You can open filter in event processing policy editor and type rule comments, event name, or object name to show only rule(s) containing search term.

Best regards,
Victor
#1389
Hi,

currently the only way I can think of is to create nxshell script that will request summary table and push DCI value. Summary tables are not accessible from NXSL scripts so simple script DCI is not possible.

Best regards,
Victor
#1390
General Support / Re: NetXMS agent takes up 100% CPU
February 27, 2019, 07:13:28 PM
Hi,

I don't see anything wrong in the dump - all threads seems to be waiting on something. Try to comment out all subagents in nxagentd.conf and restart agent. If CPU usage stay low, enable them one by one to find out which is responsible.

Best regards,
Victor
#1391
Hi,

You can do this with nxshell script, like this:


for node in [o for o in session.getAllObjects() if isinstance(o, objects.Node)]:
  print 'Processing ', node.getObjectName()
  session.pollNode(node.getObjectId(), NodePollType.CONFIGURATION_NORMAL, None)
  md = NXCObjectModificationData(node.getObjectId())
  md.setObjectFlags(node.getFlags() | Node.NF_DISABLE_CONF_POLL)
  session.modifyObject(md)


You can do mass enable of configuration poll like this:


for node in [o for o in session.getAllObjects() if isinstance(o, objects.Node)]:
  print 'Processing ', node.getObjectName()
  md = NXCObjectModificationData(node.getObjectId())
  md.setObjectFlags(node.getFlags() & ~Node.NF_DISABLE_CONF_POLL)
  session.modifyObject(md)


Best regards,
Victor
#1392
General Support / Re: v2.0.8 to v2.2.12 upgrade issue
February 21, 2019, 03:18:44 PM
It actually looks like SNMP is not detected at all with new server version. Could you set debug level to 6, run configuration poll again, and check or post here relevant lines from the log (usually those with name or IP address of the node in question)?

Best regards,
Victor
#1393
Hi,

SSH credentials currently not accessible as macro or from the script. Feel free to register feature request for that in our tracker.

Best regards,
Victor
#1394
General Support / Re: v2.0.8 to v2.2.12 upgrade issue
February 20, 2019, 07:20:20 PM
Quite strange. Looks like it get empty interface list from device. What device driver is used? Can you provide SNMP walk results on ifMib?

Best regards,
Victor
#1395
General Support / Re: v2.0.8 to v2.2.12 upgrade issue
February 20, 2019, 02:33:39 PM
Hi,

please provide output of configuration and status poll for such node.

Best regards,
Victor