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

#1696
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
#1697
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
#1698
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
#1699
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
#1700
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
#1701
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
#1702
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
#1703
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
#1704
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
#1705
Судя по сообщению "Too many open files" - не хватает файловых дескрипторов. Какой стоит лимит сейчас? Возможно простои надо его увеличить. Если в сети много устройств то сервер может открывать много сокетов - лимит должен соответствовать.
#1706
General Support / Re: Installing NetXMS agent error
April 18, 2018, 03:48:40 PM
Turns out to be packaging error. We just updated packages on web site - please try to download again.

Best regards,
Victor
#1707
General Support / Re: Installing NetXMS agent error
April 18, 2018, 03:35:56 PM
Hi,

seems that agent was built against older OpenSSL version. If you can install some sort of compatibility package that will bring OpenSSL 0.9.8 to the system it will help. Otherwise please wait for release 2.2.5 - we will fix generic Linux agent packaging.

Best regards,
Victor
#1708
Hi,

could you export your dashboard configuration into XML and post it or just describe what elements are on those dashboards?

Best regards,
Victor
#1709
General Support / Re: Probleme DCI format sytax
April 13, 2018, 01:07:59 PM
Hi,

you should use %*s, not just %*.

Best regards,
Victor
#1710
Hi,

just sent contacts in private message.

Best regards,
Victor