[mrtg] diskmon

Brian N. Byrnes Jr. brian at insnet.com
Wed Aug 25 18:54:56 MEST 1999


Hi everyone,

I am trying to monitor 5 volumes on 4 different servers.  When I was testing
I started with 2 of the servers which work fine.  I then added the
getdisk.pl to the other servers and I am able to get output when I run from
my stats server.  When I added to the cfg file I get errors for all of the
servers I added after the first 2.  The mail output I get looks like the
following.

##########################################################
PROBLEM: rateup died from Signal 0
 with Exit Value 1 when doing router 'helioshome'
 If this happens all the time,
 you should probably investigate the cause. :-)

Rateup ERROR: /usr/bin//rateup found oberonroot's log file was corrupt
              or not in sorted order.Rateup WARNING: /usr/bin//rateup could
not read the primary log file for oberonroot
Rateup ERROR: /usr/bin//rateup found oberonroot's log file was corrupt
              or not in sorted order.Rateup WARNING: /usr/bin//rateup The
backup log file for oberonroot was invalid as well

PROBLEM: rateup died from Signal 0
 with Exit Value 1 when doing router 'oberonroot'
 If this happens all the time,
 you should probably investigate the cause. :-)

Rateup ERROR: /usr/bin//rateup found ns1root's log file was corrupt
              or not in sorted order.Rateup WARNING: /usr/bin//rateup could
not read the primary log file for ns1root
Rateup ERROR: /usr/bin//rateup found ns1root's log file was corrupt
              or not in sorted order.Rateup WARNING: /usr/bin//rateup The
backup log file for ns1root was invalid as well
#############################################################
This is an example of my cfg file
---------------------------------------------------------------

Target[helioshome]: '/home/httpd/html/mrtg/getdisk.pl helios 2'
Title[helioshome]:  Helios's Home partition % used
MaxBytes[helioshome]: 100
PageTop[helioshome]: <H1> Helios's Home partition % used </H1>
Suppress[helioshome]: y
LegendI[helioshome]:  % used
LegendO[helioshome]:
Legend1[helioshome]:  % used
Legend2[helioshome]:
YLegend[helioshome]: percent used
ShortLegend[helioshome]: used
Options[helioshome]: gauge

#---------------------------------------------------------------

Target[oberonroot]: '/home/httpd/html/mrtg/getdisk.pl oberon 1'
Title[oberonroot]:  Oberons's Root partition % used
MaxBytes[oberonroot]: 100
PageTop[oberonroot]: <H1> Oberons's Root partition % used </H1>
Suppress[oberonroot]: y
LegendI[oberonroot]:  % used
LegendO[oberonroot]:
Legend1[oberonroot]:  % used
Legend2[oberonroot]:
YLegend[oberonroot]: percent used
ShortLegend[oberonroot]: used
Options[oberonroot]: gauge

#---------------------------------------------------------------
Remember I can run this manually and get correct output, so I dont
understand what I did wrong, which I am sure its something stupid.  I did
cut, past and update the info from one of the first 2 that worked.

Please any suggestions...and sorry about the lengthy email.

Thanks,
Brian

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list