[mrtg] Re: Problem with external scripts !

David Sawyer david.sawyer at uk.mckhboc.com
Fri Nov 16 10:17:22 MET 2001


> " WorkDir: c:\InetPub\wwwroot\MRTG
> 
> Target[coexist]: 'stat.cmd'      
> MaxBytes[coexist]: 240
> Title[coexist]: DATA X / DATA Y
> Options[coexist]: gauge, noinfo, growright
> ..........."
> 
> then running:
> c:\perl\bin\perl c:\mrtg-2.9.17\bin\mrtg c:\mrtg-2.9.17\bin\stat.cfg
> - works without error, but graphic is blank
> 
It will do because you haven't used the back tics.

> If  i am write `stat.cmd` instead 'stat.cmd' according to documentation
> - error  occured:
> " WARNING: Problem with External get 'stat.cmd':
>  Expected a Number for 'in' but got ''  "
> 
The problem is not the target line, most likely the stat.cmd or the device
itself.

Are you sure "stat.cmd" is polling two OIDs

Have you correctly configured "stat.cmd" with the correct community string
and IP address.




----------------------------------------------------------------------------
The information contained in this e-mail is confidential and is intended
only for the named recipient(s). If you are not the intended recipient you
must not copy, distribute, or take any action or reliance on it.
If you have received this e-mail in error, please notify the sender.
Any unauthorised disclosure of the information contained in this e-mail
is strictly prohibited.
----------------------------------------------------------------------------



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