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

#3091
General Support / Re: Nagios integration
May 13, 2015, 04:20:14 PM
Hi,

value of external parameter is whatever is written to stdout by command. So you can simply remove redirection to /dev/null:


ExternalParameter=Nagios(*):/etc/netxms/plugins/$1 -H $2 -c $3 -a $4 / 2>&1


Best regards,
Victor
#3092
Hi!

SNMP version constants are a bit illogical (for historical reasons). They are following:

0 = SNMP v1
1 = SNMP v2
3 = SNMP v3

2 is an invalid value, so it falls back to v1 (as any invalid value will do). You can use constants from AbstractNode class:

AbstractNode.SNMP_VERSION_1, AbstractNode.SNMP_VERSION_2C, AbstractNode.SNMP_VERSION_3

Best regards,
Victor
#3093
Announcements / Re: NetXMS 2.0-M4 released
May 12, 2015, 10:40:53 PM
Quote from: possamai on May 10, 2015, 03:53:12 PM
Tried to update the agent by deploying it to a Windows 8.1 x64 machine.
Update kept failing, apparently some DLL was still in use by the session-agent.. that one was still running while the nxagent service was stopped.

That's quite strange - installer runs taskkill before start copying files. Can you  please run manually command

taskkill.exe /IM nxsagent.exe /F /T

and check that session agent was terminated?

Best regards,
Victor
#3094
Hi,

first of all, mail notification is not related to alarm generation, so it will continue to work. DCI ID provided for all events generated by thresholds - other events will not contain it (although they may have %3 or %5 - it's just numbered event-specific parameters). You can also use named parameter dciId as %<dciId> to avoid misunderstanding. It is always recommended to include DCI ID into alarm key for threshold-based alarms. You can change all existing rules safely - the only problem is that you'll have to terminate currently active alarms manually.

Best regards,
Victor
#3095
It is not related to database housekeeping, but to in-memory object cache inside NetXMS. It seems that after move/delete object still stuck in internal index, and so adding new object/moving it back is not working. I'll try to reproduce this issue on my test system.

Best regards,
Victor
#3096
Hi,

it actually sounds really weird - NetXMS should not cache non-working community. How did you change it - in communication properties of the node or change list of default communities? Can it be that device responds on old community as well as on new one and you have old community in default community list?

Best regards,
Victor
#3097
General Support / Re: Automatic bind on zoneID
May 11, 2015, 09:57:37 AM
It also could be simplified to


return $node->zoneId == 106;


Best regards,
Victor
#3098
General Support / Re: Portech SMS Driver
May 08, 2015, 01:41:01 PM
Hi,

if you are using Linux (or other UNIX) you should use different format for SMSDriver:


<prefix>/lib/libnxsms_portech.so


for example if NetXMS is installed in /usr/local:


/usr/local/lib/libnxsms_portech.so


Best regards,
Victor
#3099
А можно будет организовать мне read-only SNMP доступ на какое-то такое устройство?
#3100
Hi,

what do you mean by "excluded"? Did you delete the node or unbind it?

Best regards,
Victor
#3101
Hi,

how delete is involved here? I thought that original question was about applying template. Do you need to apply template to all nodes in the system or only some of them?

Best regards,
Victor
#3102
Hi,

there is another reports of portcheck subagent being broken in 2.0-M4. We will check it soon.

Best regards,
Victor
#3103
Also, if you know any web-based SMS sending service with REST API - driver for it can be implemented very quickly - it will definitely be easier then adding proxy connection support for Portech driver.

Best regards,
Victor
#3104
Accessing Portech via proxy will be a bit more time consuming - for accessing agent everything is ready, but for gateway behind proxy we will have to implement generic TCP connection proxy through agent. It can be implemented but not so fast and easy as agent-based solution. We also support Kannel SMS gateway - can it help?

Best regards,
Victor
#3105
Missing script message is normal if you really do not have it (as most installations do). Hook script is optional and not required for normal system operation.

Best regards,
Victor