Hi all-- I just got a temperature monitoring device which supports SNMP queries. However, the OID returns an INTEGER that is 100x of the actual value. For example, if the temperature would be 98.6 F, the OID returns an integer of 9860. I need to divide the value returned by 100 to properly display the temperature in my graphs. I've created a custom CDEF called "Divide by 100" (I copied the syntax in the sample Divide by 10). How do I apply this CDEF to either (a) my data queries, or (b) the graph so that I don't see my server room being 7000 degrees?
Many thanks in advance for any assistance.
Scott
Calculating value from OID data
Moderators: Developers, Moderators
Reinhard,
Thank you for your reply. I guess I'm not sure how I go about doing what you've suggested.
What I've done is to create a "Generic SNMP Enabled Device" and a graph with it using the "SNMP - Generic OID Template". I don't see anywhere in the device or graph options where I can modify any of the parameters you mention. The Cacti manual is a little ambiguous on how to use CDEFs as well.
Thanks,
Scott
Thank you for your reply. I guess I'm not sure how I go about doing what you've suggested.
What I've done is to create a "Generic SNMP Enabled Device" and a graph with it using the "SNMP - Generic OID Template". I don't see anywhere in the device or graph options where I can modify any of the parameters you mention. The Cacti manual is a little ambiguous on how to use CDEFs as well.
Thanks,
Scott
Who is online
Users browsing this forum: No registered users and 2 guests