I am trying to set-up MRTG to monitor Linux box's loadaverage. I have
put together small shell script and put this into MRTG's config:
Target[nella-load]: `/root/admin/load2mrtg`
MaxBytes[nella-load]: 1000
AbsMax[nella-load]: 10000
Options[nella-load]: growright,absolute
Title[nella-load]: nella.ujep.cz load average
PageTop[nella-load]: <H1>nella load</H1>
The pages are generated, but the "input" is always zero. The script is
apparently working well. I did this thing once already some time ago and I
use some other special scripts to pass values to MRTG so I really wonder
what's wrong here. MRTG is version 2.5.3
Bye Borek
--
=====================================================================
BOREK LUPOMESKY, network administrator University of J. E. Purkyne
WWW: http://www.ujep.cz/~lupomesk/ Ceske mladeze 8
IRCnet: Borek @ #usti Usti nad Labem, 40096
talk: bo...@ishtar.ujep.cz The Czech Republic
PGP keyid: 9DD1C54D ICQ: 10139578 tel: +420-602-376368
==========[ MIME/ISO-8859-2 & PGP encrypted mail welcome ]===========
--
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-r...@list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
> I suspect that you need to add "gauge" to your Options line.
> > The pages are generated, but the "input" is always zero. The script is
Well, well, ... this is where the saying "RTFM" applies -- of course,
you're right and it works now. Thanks a lot.