[mrtg] Re: Fw: Flatline in mrtg, I think it's calling rateup wrong -- Repost

alex at ergens.op.Het.Net alex at ergens.op.Het.Net
Thu Jul 6 00:12:21 MEST 2000


Greg Smythe wrote:

> Is there anyone on this list? The only response I received was from Marty,
> who was having the same problem. Tobias are you here?? :)

Good practice is to only answer if there's something to say. Perhaps
nobody knows what's going on?

> ----- Original Message -----

> I was doing a ps -ax on my linux box (that's where it's installed) and I
> noted that it was calling rateup weird. It was like perl /usr/bin//rateup
> <gobbly gook>. But I get no errors when I run ./mrtg mrtg.cfg in my /usr/bin

You just gobbly gooked the relevant part out.

If it looks like
  219  ?  R    0:00 /home/mrtg/run//rateup /home/mrtg/public_html/router/
router.outside 962834416 u 2261292299 3445440742 32000 c #00cc00 #0000ff
#006600 #ff00ff k 1000 i router.outside-day.gif 32000 32000 600  100 1 1
1 300 1

then it's okay.

> directory. Looking at the logfile that mrtg creates I'm getting all zeros in
> the columns except for the first one (the timestamp one).

Also on the first line?  Are you sure MRTG is monitoring the right
interface?  Do you use 32-bit counters?  What is returned by
snmpget router public .1.3.6.1.2.1.2.2.1.2.<insert the number that
is included in the config file here> ?

If you receive zeros from the device, perhaps because the config file
was not created correctly, there's nothing to graph and the logfile
behaves as you descibe.

Try setting debug mode to 1 and maybe you spot something that's failing.

regards,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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