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

#1711
General Support / Re: error starting nxmc
May 04, 2018, 06:10:56 PM
Hi,

did you run it from local desktop session? If it is remote session, do you have DISPLAY environment variable set correctly?

Best regards,
Victor
#1712
Delta calculation for tables is not implemented yet.

Best regards,
Victor
#1713
General Support / Re: No interface
May 02, 2018, 09:28:06 PM
Hi,

I will add workaround for it in 2.2.5.

Best regards,
Victor
#1714
Hi,

there are multiple command line options to Windows agent installer. You can get standard installer options by running it with /?. Generally for unattended install you'll have to specify /VERYSILENT and /SUPPRESSMSGBOXES options. There are also custom command line options that allows you to pass information for generated agent configuration file:

/SERVER= 
Set server IP address or host name (will be set in configuration file as MasterServers)

/CENTRALCONFIG
Read configuration from server on startup

/LOCALCONFIG
Use local configuration file (it is the default)

/SUBAGENT=
Add sub-agent loading directive to configuration file. Possible sub-agent names are ECS, FILEMGR, LOGWATCH, PING, PORTCHECK, WINPERF, WMI, and UPS. You can specify this parameter multiple times to add more than one sub-agent.

Best regards,
Victor
#1715
General Support / Re: Duplicate Subnets in Tree
May 02, 2018, 09:16:39 PM
Hi,

looks like a bug. Could you set debug level to 4 or higher and check for records with Node::createSubnet prefix? Then check what nodes are mentioned when duplicate subnets are created.

Best regards,
Victor
#1716
General Support / Re: Logwatch file lock
May 02, 2018, 09:14:18 PM
Hi,

no, it's irrelevant for Windows Event Log. Agent uses appropriate Windows API to access events in event log.

Best regards,
Victor
#1717
Hi,

NetXMS has interface for ticketing system integration (called helpdesk link), but so far we have developed only two drivers - for Jira and for Redmine. What exact ticketing system you are interested in?
Some level of integration can be achieved with external scripts - you can run external commands as actions that will create tickets and you can use nxalarm command line tool to manipulate alarms from external scripts.

Best regards,
Victor
#1718
Hi,

it is not possible to delete data from within script. Reset to 0 will work (you can check current date and time in script and return 0 if it is first poll after midnight).

Another possible option is to create two DCIs - one short term and one long term. Long term DCI will have custom schedule to collect it once per day/week/month/etc. and it will get get sum of values from short term DCI for required period. Retention time for short term DCI can be set to desired time interval plus some extra time to allow long term DCI collector script to run.

Best regards,
Victor
#1719
General Support / Re: MQTT
May 02, 2018, 09:05:41 PM
Hi,

could you please share your agent configuration and log so I can check if it set up correctly? You can set debug level on agent to 7 to get MQTT diagnostic messages.

Best regards,
Victor
#1720
General Support / Re: Logwatch file lock
May 02, 2018, 09:03:52 PM
Hi,

agent opens file being monitored with "shared for write" access. However, if application that writes to the file attempts to open it without specifying "shared for read" option it will get file open error. In upcoming 2.2.5 release we have added log parser option "keepOpen" that can be set to false to instruct parser to re-open file every time to get new records.

Best regards,
Victor
#1721
General Support / Re: Installing NetXMS agent error
April 24, 2018, 05:28:16 PM
Hi,

are you sure you download correct agent again? I just downloaded agent 2.2.4 (https://netxms.org/download/releases/2.2/2.2.4/nxagent-2.2.4-linux-x86_64.tar.gz) and get the following ldd output:

   linux-vdso.so.1 =>  (0x00007fffe67fb000)
   libappagent.so.2 => /home/victor/tmp/agent/opt/netxms/lib/libappagent.so.2 (0x00007fe6af982000)
   libnxagent.so.2 => /home/victor/tmp/agent/opt/netxms/lib/libnxagent.so.2 (0x00007fe6af77d000)
   libnxdb.so.2 => /home/victor/tmp/agent/opt/netxms/lib/libnxdb.so.2 (0x00007fe6af569000)
   libnetxms.so.2 => /home/victor/tmp/agent/opt/netxms/lib/libnetxms.so.2 (0x00007fe6af2dc000)
   libnxsnmp.so.2 => /home/victor/tmp/agent/opt/netxms/lib/libnxsnmp.so.2 (0x00007fe6af0c6000)
   libnxexpat.so.2 => /home/victor/tmp/agent/opt/netxms/lib/libnxexpat.so.2 (0x00007fe6aeea3000)
   libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe6aec6e000)
   libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe6aea51000)
   libssl.so.1.0.0 => /home/victor/tmp/agent/opt/netxms/lib/libssl.so.1.0.0 (0x00007fe6ae7e1000)
   libcrypto.so.1.0.0 => /home/victor/tmp/agent/opt/netxms/lib/libcrypto.so.1.0.0 (0x00007fe6ae3a7000)
   libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fe6ae025000)
   libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe6add1c000)
   libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe6adb05000)
   libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe6ad73b000)
   libnxtre.so.5 => /opt/netxms/lib/libnxtre.so.5 (0x00007fe6ad529000)
   libnxzlib.so.1 => /home/victor/tmp/agent/opt/netxms/lib/libnxzlib.so.1 (0x00007fe6ad314000)
   libnxjansson.so.4 => /home/victor/tmp/agent/opt/netxms/lib/libnxjansson.so.4 (0x00007fe6ad108000)
   /lib64/ld-linux-x86-64.so.2 (0x000055d0dfb86000)
   libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fe6acede000)
   libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fe6accc4000)
   libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fe6acaa8000)
   libjemalloc.so.1 => /usr/lib/x86_64-linux-gnu/libjemalloc.so.1 (0x00007fe6ac871000)

As you see it references correct libssl library from it's own directory.

Best regards,
Victor
#1722
Hi,

there are separate agent parameters that returns used and free space in bytes - respectively FileSystem.Used and FileSystem.Free. You can either replace parameter names in template or create new template DCIs with same settings but usiong different parameters.

Best regards,
Victor
#1723
General Support / Re: Inventory-Serial Numbers
April 24, 2018, 12:15:37 PM
Hi,

you can create template with DCI using OID you have provided and apply as necessary. Then you can create DCI summary table and use it to get serial numbers for all switches in one table. For SFP modules you likely can use instance discovery to create DCI for each SFP (I don't know how this information exposed on your devices so I'm not sure). If you'll have DCIs for SFP modules you can add them to the same summary table as additional columns.

Best regards,
Victor
#1724
Hi,

it should be \t. Just checked on my system this configuration:

ExternalTable = TestTable:separator=\t;instanceColumn=COL1:cat /home/victor/test.csv

and got expected results:

victor@hp8570w ~ $ /opt/netxms/bin/nxget -T ::1 TestTable
| COL1 | COL2  | COL3  |
| 1    | test  | test  |
| 2    | test2 | test2 |
| 3    | test3 | test3 |

Best regards,
Victor
#1725
General Support / Re: Installing NetXMS agent error
April 19, 2018, 02:47:13 PM
Hi,

please send output of command

ldd /opt/netxms/bin/nxagentd

Best regards,
Victor