[mrtg] Re: target script lines
Jimmy Stewpot
xtc at elsker.com
Tue Jun 6 01:30:02 MEST 2000
I changed the symbol to ` instead of ' and it still has the same error that i have down below,
which is.
I generally get this error
./mrtg mrtg.cfg
Problem with Externale get '`netstat -an | grep -c FIN`':
Expected an INTEGER for 'out' but got ''
Any Ideas?
thankyou
Jimmy Stewpot
> Instead of the ' symbol (the one grouped with the " symbol) use the `
> symbol (the one grouped with the ~ symbol) to surround the program name.
> T. Brian Granier
> MCSE MCP+I A+
> Telecommunications Specialist
> Zebec Data Systems
> -----Original Message-----
> From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
> Behalf Of Jimmy Stewpot
> Sent: Monday, June 05, 2000 5:28 PM
> To: mrtg at list.ee.ethz.ch
> Subject: [mrtg] target script lines
> hello,
> i am currently having problems with getting the interger to be accepted
> by mrtg. when i run a simple command line it gives me a particular
> number.. but when i run it in the target line like so :
> Target[sys1.fin]:'netstat -an | grep -c FIN'
> it doesnt produce any numbers/intergers.
> But this is it at the prompt:
> # netstat -an | grep -c FIN
> 3
> #
> What could cause this to not produce any resuls when its in the mrtg.cfg
> file.
> My options line is like so :
> Options[sys1.fin]: gauge growright
> I generally get this error
> ./mrtg mrtg.cfg
> Problem with Externale get '`netstat -an | grep -c FIN`':
> Expected an INTEGER for 'out' but got ''
> Any help would be much appreciated.
> thankyou
> Jimmy stewpot
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=subscribe
> Archive http://www.ee.ethz.ch/~slist/mrtg
> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
--
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