Agreed - status polling hook is the better place. My config polling is once per hour - much too slow to be useful for this.
There is the PING subagent - 10k is the value when no response - but if I am only using SNMP from central NetXMS server, I don't know if subagent is available.
https://www.netxms.org/forum/configuration/subagent-icmp-ping/ .
But this has already been suggested and advised against anyway.
https://www.netxms.org/forum/feature-requests/icmp-ping-as-internal-parameter/
BUT....the idea of putting them on the containers is good as that gives me a "once-per-hour" refresh for any node that was not picked up otherwise.
It nearly got a lookin here:
https://www.netxms.org/forum/configuration/simple-ping-monitoring/
But - it is not explained how NetXMS is remembering that a node is down and not to generate a new SYS_NODE_DOWN and when to generate a SYS_NODE_UP event.
It was even closer here:
https://www.netxms.org/forum/general-support/trying-to-under-stand-polling/
But went off track by advising to use $node->status rather than advising what the internal variable is used. $node-status has 8 possible values - none of which is down - the whole reason users keep asking. This error was repeated here:
https://wiki.netxms.org/wiki/Step_by_step_service_monitoring - again, just because a node is critical, does not mean it is down.
As suggested - I will use the Status Polling hook - runs every minute, and I will just have to persevere trying to identify the internal variable NetXMS uses when ICMP response = none and where NetXMS stores the trigger for SYS_NODE_DOWN and SYS_NODE_UP.
My biggest problem - dynamic IP addressed devices - I am turning off DiscoveryViaTrap = yes - and let DNStoIP on status polling update the IP - will see if once the IP is changed, the node comes back up.
**** Update ****
I exported all my duplicates and just deleted them - will come back to them later.
The status poll hook is working - working fine - but.......
I have put my Nodes that have issues into Maintenance but my Dashboard severity filter for Status Map does not allow me to exclude Maintenance.
I will have to use unmanage which prevents polling - and prevents the Node clearing the nodeUpDown as there is no polling.
For the purpose of pure up/down monitoring - Dashboard view - either the node is unmanaged (no polling) or it is polled and the up/down status shows.
Will see how this goes over the next week - I think this might be close enough.
**** Update 2 ****
Dashboard view was showing the unmanaged devices even though Unmanaged was unticked
Thinking back - NetXMS likes specifics - the unmanaged nodes were also in maintenance.
Updated each node - leave maintenance - disappeared from the display (as hoped but not as expected)
Finally - working as desired.
************
There is the PING subagent - 10k is the value when no response - but if I am only using SNMP from central NetXMS server, I don't know if subagent is available.
https://www.netxms.org/forum/configuration/subagent-icmp-ping/ .
But this has already been suggested and advised against anyway.
https://www.netxms.org/forum/feature-requests/icmp-ping-as-internal-parameter/
BUT....the idea of putting them on the containers is good as that gives me a "once-per-hour" refresh for any node that was not picked up otherwise.
It nearly got a lookin here:
https://www.netxms.org/forum/configuration/simple-ping-monitoring/
But - it is not explained how NetXMS is remembering that a node is down and not to generate a new SYS_NODE_DOWN and when to generate a SYS_NODE_UP event.
It was even closer here:
https://www.netxms.org/forum/general-support/trying-to-under-stand-polling/
But went off track by advising to use $node->status rather than advising what the internal variable is used. $node-status has 8 possible values - none of which is down - the whole reason users keep asking. This error was repeated here:
https://wiki.netxms.org/wiki/Step_by_step_service_monitoring - again, just because a node is critical, does not mean it is down.
As suggested - I will use the Status Polling hook - runs every minute, and I will just have to persevere trying to identify the internal variable NetXMS uses when ICMP response = none and where NetXMS stores the trigger for SYS_NODE_DOWN and SYS_NODE_UP.
My biggest problem - dynamic IP addressed devices - I am turning off DiscoveryViaTrap = yes - and let DNStoIP on status polling update the IP - will see if once the IP is changed, the node comes back up.
**** Update ****
I exported all my duplicates and just deleted them - will come back to them later.
The status poll hook is working - working fine - but.......
I have put my Nodes that have issues into Maintenance but my Dashboard severity filter for Status Map does not allow me to exclude Maintenance.
I will have to use unmanage which prevents polling - and prevents the Node clearing the nodeUpDown as there is no polling.
For the purpose of pure up/down monitoring - Dashboard view - either the node is unmanaged (no polling) or it is polled and the up/down status shows.
Will see how this goes over the next week - I think this might be close enough.
**** Update 2 ****
Dashboard view was showing the unmanaged devices even though Unmanaged was unticked
Thinking back - NetXMS likes specifics - the unmanaged nodes were also in maintenance.
Updated each node - leave maintenance - disappeared from the display (as hoped but not as expected)
Finally - working as desired.
************