[mrtg] Problems running an external script

José Maria Costa Pereira ze.maria at telecelvodafone.pt
Thu Jun 21 16:43:04 MEST 2001


Hi!

I'm running a .CFG mrtg script wich in turn runs a perl script that produces
an output as follows:

	first line:	 a numeric value
	second line: another numeric value
	third line:	 the sysUpTime (in days, hours:minutes:seconds)
	fourth line: the sysName

This perl script runs ok in a DOS prompt
(sample output...)

	3
	4
	204 days, 14:29:01
	abc.xpto.pt

Why doesn't it run ok with mrtg-2.9.10 ? ... I can't see the sysname nor the
sysuptime and I always get the value 1 for variable 1 and 2.

Does anyone have any sugestion?

Thanks.

---------- 
This message may contain confidential information or privileged material,
and is intended only for the individual(s) named. If you are not in the
named addressee you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. 
E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses.  The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission. If verification is required please
request a hard-copy version. 

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