[mrtg] Re: target syntax problems.

John strgout at unixjunkie.com
Thu Aug 14 23:58:23 MEST 2003


ok, this just seems wrong, but this is what i'm doing (which works)

target[thing]: `/bin/echo $var1 ; echo /bin/echo $var2`
On Thu, Aug 14, 2003 at 01:56:52PM +1000, KELLY David (NQ) wrote:
> 
> John
> 
> You can run the script directly from the target eg target[thing]:
> `/usr/mrtg/myscript.scr`
> 
> The script must return 4 values each on their own line.  The first two
> must be whole integer data while the other two must be text (hostname
> and uptime to be exact but mrtg doesn't really care as long as it is
> text. Eg

--
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