NetXMS Support Forum

English Support => General Support => Topic started by: twparker on May 09, 2025, 06:05:48 PM

Title: ICMP Ping to monitor surveillance cameras
Post by: twparker on May 09, 2025, 06:05:48 PM
Hello,

I am trying to monitor network security cameras that have no SNMP functionality. I set the objects to use ICMP to determine node status, but the objects don't generate alarms even though they are offline. I tried resetting the alarms using the link below:


https://wiki.netxms.org/wiki/Reseting_state_of_all_alarms_and_node_statuses

Cameras showing 100% ICMP packet loss show as normal and don't have any alarms even after alarm status reset. Any suggestions?

Title: Re: ICMP Ping to monitor surveillance cameras
Post by: Filipp Sudanov on May 11, 2025, 05:06:29 PM
Hi,

Can you please share the textual output of status poll for the node when your camera is online and offline
Title: Re: ICMP Ping to monitor surveillance cameras
Post by: twparker on May 12, 2025, 04:33:22 PM
Offline Camera:
[12.05.2025 09:24:38] **** Poll request sent to server ****
[12.05.2025 09:24:38] Poll request accepted, waiting for outstanding polling requests to complete...
[12.05.2025 09:24:38] Starting status poll of node Tara Kitchen - 3
[12.05.2025 09:24:38]    Starting status poll on interface unknown
[12.05.2025 09:24:38]      Current interface status is NORMAL
[12.05.2025 09:24:38]      Starting ICMP ping
[12.05.2025 09:24:41]      Interface is NORMAL for 3659 polls (3 polls required for status change)
[12.05.2025 09:24:41]      Interface status after poll is NORMAL
[12.05.2025 09:24:41]    Finished status poll on interface unknown
[12.05.2025 09:24:41] Checking primary IP address with ICMP ping
[12.05.2025 09:24:45]   Primary IP address is not responding to ICMP ping
[12.05.2025 09:24:45] Node is still unreachable
[12.05.2025 09:24:45] Finished status poll of node Tara Kitchen - 3
[12.05.2025 09:24:45] Node status after poll is NORMAL
[12.05.2025 09:24:45] **** Poll completed successfully ****


Online Camera:
[12.05.2025 09:30:20] **** Poll request sent to server ****
[12.05.2025 09:30:20] Poll request accepted, waiting for outstanding polling requests to complete...
[12.05.2025 09:30:20] Starting status poll of node Tara Kitchen - 4
[12.05.2025 09:30:20]    Starting status poll on interface unknown
[12.05.2025 09:30:20]      Current interface status is NORMAL
[12.05.2025 09:30:20]      Starting ICMP ping
[12.05.2025 09:30:20]      Interface is NORMAL for 3813 polls (3 polls required for status change)
[12.05.2025 09:30:20]      Interface status after poll is NORMAL
[12.05.2025 09:30:20]    Finished status poll on interface unknown
[12.05.2025 09:30:20] Node is connected
[12.05.2025 09:30:24] Finished status poll of node Tara Kitchen - 4
[12.05.2025 09:30:24] Node status after poll is NORMAL
[12.05.2025 09:30:24] **** Poll completed successfully ****



I suspect that this is due to certain cameras being down when they were first added, but I would like for them to show down even if they never polled up when first added.
Title: Re: ICMP Ping to monitor surveillance cameras
Post by: Filipp Sudanov on May 13, 2025, 03:45:11 PM
Ok, next thing to check - it you have a look at Event Log for a node that went from online to offline, what events are there?
Title: Re: ICMP Ping to monitor surveillance cameras
Post by: twparker on May 13, 2025, 05:11:41 PM
 
IDTimeOrigin timeOriginSourceZoneDCIEventSeverityMessageEvent tagsRoot ID
4805606211.05.2025 06:03:4711.05.2025 06:03:47System4th Fl Stair 2Default0SYS_ICMP_UNREACHABLEMajorNode is unreachable by ICMP48056060
4805606111.05.2025 06:03:4611.05.2025 06:03:46System4th Fl Stair 2Default0SYS_NODE_CRITICALCriticalNode status changed to CRITICALNodeStatus0
4805606011.05.2025 06:03:4611.05.2025 06:03:46System4th Fl Stair 2Default0SYS_NODE_DOWNCriticalSite:Vicina Main 4th Fl Stair 2 is unresponsive - 10.1.102.1710

So it looks like ICMP status check updates for cameras that were added when they were online.
Title: Re: ICMP Ping to monitor surveillance cameras
Post by: Filipp Sudanov on May 13, 2025, 05:28:24 PM
Ok, so SYS_NODE_DOWN event is happening. In Configuration -> Event Processing Policy there should be a default rule named "Show alarm when node is down" that should create alarm when such event happens. Is this rule present and enabled?
Title: Re: ICMP Ping to monitor surveillance cameras
Post by: twparker on May 13, 2025, 09:24:16 PM
It is indeed.
Title: Re: ICMP Ping to monitor surveillance cameras
Post by: Filipp Sudanov on May 13, 2025, 11:20:05 PM
Ok, then an alarm should have been generated. I'd check the alarm log for the node, maybe the alarm was terminated after its creation.
Title: Re: ICMP Ping to monitor surveillance cameras
Post by: twparker on May 15, 2025, 07:53:19 PM
Quite a few of these cameras were added to NetXMS when they were already offline. They then all polled down as they were checking for SNMP. I terminated the first alarms as I knew they didn't have SNMP functionality, but I have been unable to get them to change status based on ICMP either. They have also been offline since addition so I figure that would be why their status is not changing.