[mrtg] Re: Forking MRTG

Jason Frisvold Jason.Frisvold at corp.ptd.net
Sat Jun 1 04:42:53 MEST 2002


Actually, what would be even more helpful would be to have MRTG report
those "Dead" hosts somewhere...  While ignoring them if they were "dead"
would be nice, what happens if it was a temporary down?  Does it check
once per cycle?

---------------------------
Jason H. Frisvold
Senior ATM Engineer
Engineering Dept.
Penteledata
CCNA Certified - CSCO10151622
friz at corp.ptd.net
---------------------------
"Imagination is more important than knowledge. Knowledge is limited.
Imagination encircles the world." -- Albert Einstein [1879-1955]


-----Original Message-----
From: Greg.Volk at edwardjones.com [mailto:Greg.Volk at edwardjones.com] 
Sent: Friday, May 31, 2002 8:15 PM
To: oetiker at ee.ethz.ch
Cc: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Forking MRTG


> > You can tell forking is working by watching top. When a new
> > poll sequence begins (after <inteval> seconds) you should see
> > one mrtg process per fork specified in the config file. So
> > if you set Forks: 10 you should see 10 MRTG processes right
> > after the poll sequence begins. They'll die relatively quickly,
> > so you might need to run top in 1 second intervals instead of
> > the 5sec default. I don't like the forking mechanism for the
> > reasons listed in:
> >
> > http://www.ee.ethz.ch/~slist/mrtg/msg13364.html
> >
> > Actually, I should say I don't completely _understand_ how the
> > forking mechanism works, so I have elected to use multiple
> > daemons instead (at the cost of extra memory).
> 
> Greg,
> 
> The Forking mechanism splits the workload into as many forks as
> defined ... by the config file ...
> 

Does each fork hit one target, or does each one hit n targets where
n = total_targets/forks ?

When I tried forking, it seemed like the forked mrtg's died 
very quickly - indicating to me that the forked processes
were only hitting a few targets each, and then the main mrtg 
process would continue on and hit the rest of them.

>
> your problem with the router going offline does not get solved by
> this ... but it does not become worse either. What could be done
> about it is to make mrtg kill all other queries to the same host if
> one comes back without answer ... would this help ?
> 

That would be very useful to be able to skip queries to known 
dead hosts. Is there a global config command that does this?


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

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