[mrtg] Error when running mrtg

Laurent Jacquinot ljacquinot at travelprice.com
Mon Nov 12 09:12:11 MET 2001


Hello,

I am using mrtg 2.9.17 and ucd-snmp 4.2-12. I want graph httpd process
number for example on a server.

So, I have declared "proc httpd" in the process checks section of the
snmpd.conf. When I execute the following  command "snmpget localhost public
.1.3.6.1.4.1.2021.2.1.5.1" the result is 8 or 10 depending on the number of
process httpd running.

Next, I have configured my mrtg.cfg.

Target[processnb]: .1.3.6.1.4.1.2021.2.1.5.1:public at localhost
RouterUptime[processnb]: public at localhost
Options[processnb]: gauge,integer,nopercent,growright
ShortLegend[processnb]: &nbsp
MaxBytes[processnb]: 100
Title[processnb]: PROCESS NUMBER
PageTop[processnb]: <H1>Process Number</H1>
YLegend[processnb]: Process Number
Legend1[processnb]: &nbsp;httpd:
Legend2[processnb]:
LegendI[processnb]: &nbsp;httpd:
LegendO[processnb]:

Then, I run mrtg. And th result is :

Rateup ERROR: /usr/local/mrtg-2/bin/rateup found processnb's log file was
corrupt
          or not in sorted order:
time: 1005300300.Rateup WARNING: /usr/local/mrtg-2/bin/rateup could not read
the primary log file for processnb
Rateup ERROR: /usr/local/mrtg-2/bin/rateup found processnb's log file was
corrupt
          or not in sorted order:
time: 1005300300.Rateup WARNING: /usr/local/mrtg-2/bin/rateup The backup log
file for processnb was invalid as well
WARNING: rateup died from Signal 0
 with Exit Value 1 when doing router 'processnb'
 Signal was 0, Returncode was 1

I don't understand why? Someone can help me please.

regards.
LJ


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