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

#1411
Announcements / NetXMS 2.2.13 released
March 12, 2019, 10:41:57 AM
Hi all!

NetXMS version 2.2.13 is out! Changes since previous release:

- TimescaleDB supported as backend database
- Added option to show SELECT output in nxdbmgr batch
- New attribute "parameterNames" in NXSL class "Event"
- New attribute "instanceData" in NXSL class "DCI"
- Added option to play alarm notifiacation sound only for active dashboard
- Required object access is "read" for all forced polls except full configuration poll which requires "modify" access
- Improved server startup and shutdown time
- Added option to save network map as image file
- New nxmc command line options -take-map-snapshot and -exit-after-open
- Fixed issues:
        NX-241 ("nxdbmgr batch" should support stdin)
        NX-887 (Additional variables in threshold script)
        NX-1388 (Event correlation route should start at proxy)
        NX-1536 (No output from forced status poll without "modify" object access right)
        NX-1552 (NXSL function to check for EPP timer existence)
        NX-1558 (Add ability to change node's comment from script)
        NX-1561 (Unexpected SYS_SNMP_DOWN events after SNMP proxy node restart)
        NX-1567 (EPP selection gets stuck)
        NX-1569 (Agent crash on 32 bit Windows 10)
        NX-1571 (Option to automatically terminate resolved alarms after timeout)

Best regards,
Victor
#1412
General Support / Re: Unable to Start Netxms Server
March 04, 2019, 11:01:31 AM
Hi,

try to delete them from database (can do that with query DELETE FROM scheduled_tasks WHERE taskid='Execute.Action';)

Best regards,
Victor


#1413
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
#1414
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
#1415
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
#1416
Hi!

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

Best regards,
Victor
#1417
Hi,

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

Best regards,
Victor
#1418
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
#1419
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
#1420
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
#1421
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
#1422
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
#1423
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
#1424
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
#1425
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