[mrtg] Re: DNS stats script not returning results
John Oliver
joliver at john-oliver.net
Fri Dec 12 08:10:13 MET 2003
On Fri, Dec 12, 2003 at 02:44:21PM +1300, Steve Shipway wrote:
> >
> >@stat = `tail -n 15 $log`;
> >
> ...
> >
> >What's wrong with that script?
> >
> Don't you mean
> $stat = `tail -n 15 $log`;
> @stat = split " ",$stat;
> ?
That gets me:
[joliver at ns joliver]$ /usr/local/mrtg-2/bin/stat.pl
0
-126591
152 days
ns.sdsitehosting.net
--
John Oliver, CCNA http://www.john-oliver.net/
Linux/UNIX/network consulting http://www.john-oliver.net/resume/
* * * * * * * * * * * * * * *
Contribute to the SpamCon Legal Fund!! http://www.spamcon.org/legalfund/
--
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