[mrtg] how to echo system.sysDescr.0 in the output html

veer nagelkruid at gmail.com
Wed Oct 14 08:57:54 CEST 2009


Hello,

I want to echo the current value for system.sysDescr.0 into the html output
file but cannot get it to work.
In fact i don't know how to get it done :)

if i do snmpget -v 2c -c secret myhost system.sysDescr.0 | cut -c34-120
i get a lovely line with the exact string i want to be echoed in the html
page.

Has anyone done this or something similar and can give me a pointer what i
should be doing to make this work?

Thanks a lot for any input,
Jeroen 
-- 
View this message in context: http://n2.nabble.com/how-to-echo-system-sysDescr-0-in-the-output-html-tp3821005p3821005.html
Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.



More information about the mrtg mailing list