[mrtg] Using shell scripts ?
Samuel Krieg
samuel.krieg at vtx.ch
Tue Jul 23 15:57:06 MEST 2002
Hi,
I am a beginner of MRTG.
I'm tryig to use shell scripts but MRTG doesn't seem to understand.
The official and unofficial FAQs do not explain how to use shell scripts.
My target line :
Target[test]: `/etc/mrtg/test.pl`
My test.pl :
#!/usr/bin/perl
print "10\n";
print "15\n";
The beginning of my log file :
1027431604 10 15
1027431604 0 0 0 0
1027431305 0 0 0 0
1027431300 0 0 0 0
1027431000 0 0 0 0
1027430700 0 0 0 0
and so...
Did I forgot something ?
Is the script output correct ?
Does MRTG need specifical options with shell scripts ?
Is this problem explained somewhere ?
Thank's
--
Samuel Krieg
samuel.krieg at vtx.ch
--
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