[mrtg] Re: Non-SNMP data to MRTG

Stieers, Ken KStieers at DainRauscher.com
Mon May 22 18:55:00 MEST 2000


Use backticks(`) not quotes ("), as stated in the docs:

  Target[k]: `test.pl`

You'll probably have to use this:

  Target[k]: `perl c:\mrtg\test.pl`



HTH, 

> I am trying to use MRTG with non SNMP data, but it doesn't work.
> 
> I have MRTG in a Windows NT computer and I made the following:
> 
> I created the test.pl script 
> 
> 
> print "10\n";
> print "0\n";
> print "0\n";
> print "0\n";
> 
> Next in the file mrtg.cfg I wrote
> 
> WorkDir: C:\test
> 
> Target[k]: "test.pl"
> MaxBytes[k]: 50
> 
> but the graphs don't show values, it is everything with zero 
> instead of 10.
> 
> What can be missed?
> 

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



More information about the mrtg mailing list