What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

How to set an alarm on an SNMP Custom sensor to know when it's not reporting the proper info?

Votes:

0

I use PRTG to monitor a network of about 30 devices and I'm interested in monitoring the routing tables of a few of them. As far I am concerned there is no out of the box sensor provided by PRTG to monitor the entire routing table. Because of this I am using a custom OIDLIB file to add my sensors to each of the devices that I'm interested in. The sensors can be added with no issues. I can attach notification on changes using the "Trigger 'change' notification" setting and I do get the notifications when the routes change.

My issue only occurs when I increase the number of sensors to about >1800. Around 1400 are SNMP Custom string sensors. The problem itself is that every time that I have to restart the server for maintenance, the custom string values don't survive the restart. After a restart the sensors that were supposed to return the IP address of the next hop as specified by the OID, return the string 'OK' instead. This of course has no meaning as far as routes are concerned. Additionally, no notifications are sent even though the last value was an IP address and it now reports the string 'OK'. So it silently fails to report this change.

I have tried to use the Sensor Setting for Keyword Search->Response Not Must Include (Down Status) and provided the string 'OK', but the sensor is never set to down. While the sensor is in this state I used the Paessler SNMP Tester 5.2.3 with the same OID and it returns the IP address as expected so I know the information must be getting to PRTG.

When my installation gets into this unstable state I have to refresh all the SNMP Custom string sensors multiple times so that eventually most of them start reporting the IPs again. On other occasions I've had to delete the sensor and add a new one. Besides time consuming this makes managing the routes extremely painful. I wasn't able to find help in the questions on the knowledge base so I'm posting my issue as a new question.

My questions are: how do I work around this problem so that all of my sensors wake up and start reporting the correct data? If this is a known issue and wont be fixed for a couple of releases I kindly request help to set these SNMP custom string sensors to down when the string 'OK' is reported instead of the route's IP info. This will allow me hook up notifications to these sensors so that I can get them back to report the correct data.

Let me know if you have further questions.

Thank you,

Dan.

computer-restart- snmp snmp-custom-sensor snmp-library

Created on Nov 18, 2016 9:09:50 PM



1 Reply

Votes:

0

Hi Dan,

This is a known issue, we had a handful of similar requests over the last few years, but couldn't find a solution yet - unfortunately. We couldn't retrace the error in our testing environments, which makes it very hard to further debug the cause of this issue. Our developers are aware of the issue and will take these findings into account while working on the code in the future, but this is nothing what will be changed in the very near future I'm afraid.

Restarting the PRTG Probe Service should help to resolve the issue.

Best regards, Felix

Created on Nov 22, 2016 6:36:34 AM by  Felix Saure [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.