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:[EMAIL PROTECTED] 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
