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

value in custom sensor

Votes:

0

I want to add a custom sensor to monitor optical power values for the interfaces of a switch. I have compiled the corresponding MIB. If I use SNMP Library sensor I get the correct expected values (i can verify this with the SNMP Tester) but if i use custom sensor i get a different value instead. I have tried custom sensors to monitor other objects before and i've got the correct values.

custom-sensor snmp value

Created on Apr 24, 2015 4:32:59 PM



4 Replies

Votes:

0

Dear Daniela

Please create a new OIDLIB from the MIB containing only a single OID (the OID in question) and use that new OIDLIB to create an SNMP library sensor. Are you now getting the same value?

Created on Apr 27, 2015 4:18:27 PM by  Arne Seifert [Paessler Support]



Votes:

0

With the library sensor i get the correct values, regardless if i use the entire MIB or just the specific OID.

http://i.imgur.com/h4YP7OF.png

in the capture sensors 21 and 22 are custom sensors, 23 and 24 are library sensors with the single oid as you suggested. Sensors 23 and 24 show the correct values.

could this issue have something to do with the fact that the oid is a table?

Created on Apr 27, 2015 10:20:03 PM



Votes:

0

Dear Daniela

This looks like a number conversion issue. When you create the SNMP Custom sensor, please set the Value Type to Gauge (signed integer, e.g. "-12", "120")

Created on Apr 28, 2015 8:58:24 AM by  Arne Seifert [Paessler Support]



Votes:

0

Indeed that was the problem. Solved. Thank you very much!

Created on Apr 28, 2015 3:58:45 PM




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.