[mrtg] Re: How to graph temperatures from snmp query
Eric Brander
eric_mailing_list at rednarb.com
Tue Mar 15 22:11:47 MET 2005
Kimmo Koivisto wrote:
~snip~
>I could execute shell script which woud filter out decimals and return
>temperature, but how to use custom scripts?
>
>I tried like this:
>
>Target[kellari.temp]: /usr/local/bin/mrtg-check-temp.sh
>
>but got an error msg:
>
>ERROR: Target[kellari.temp][_IN_] '/usr/local/bin/mrtg-check-temp.sh' (warn):
>(Missing operator before rtg?)
>ERROR: Target[kellari.temp][_OUT_] '/usr/local/bin/mrtg-check-temp.sh' (warn):
>(Missing operator before rtg?)
>
>Any hints how this could be done?
>
>
Enclose the statement in reverse single quotes, a.k.a backticks or
something. `
Target[kellari.temp]: `/usr/local/bin/mrtg-check-temp.sh`
HTH,
Eric Brander
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list