The official way to do this is to use the ConversionCode feature - see the MRTG 
manual for details; there is even an example given of doing just this very 
thing (converting a string to a number from SNMP)

Steve

________________________________________
From: [email protected] [[email protected]] On Behalf 
Of Evert [[email protected]]
Sent: Saturday, 28 February 2009 12:26 a.m.
To: [email protected]
Subject: [mrtg]  newbie question: how to convert string -> value?

Hi all,

A very basic/newbie question from me: I have an SNMP query (load average)
which returns:
    STRING: 0.35


How do I configure this in mrtg.conf so that I get something I can graph?

-----
Greetings,
   Evert
--
View this message in context: 
http://n2.nabble.com/newbie-question%3A-how-to-convert-string--%3E-value--tp2395093p2395093.html
Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to