[mrtg] dead host detection
Daniel J McDonald
dan.mcdonald at austinenergy.com
Thu Dec 28 14:42:24 MET 2006
My mrtg setup runs at the ragged edge - a "normal" cycle takes about 4
minutes to complete, so any dead hosts that are supposed to be polled
tend to kill the whole thing. the file locking mechanism has never
seemed to work properly (I routinely have several instances of mrtg
polling cycles running concurrently), so I'm considering a few ways to
fix this.
One idea I have would be to create an "includeif" statement. It would,
while parsing the config, check that something responds before adding an
included file. Since my setup is one router per file, that would be
pretty easy to set up.
I imagine the syntax would be:
includeif sysuptime public at host1.example.com directory/host1.cfg
or maybe
includeif ping host1.example.com directory/host1.cfg
I'm not certain how I would include snmpv3 credentials in the first
form, maybe sysuptime --username=public --privproto=des ...
I'm open to suggestions as to what this should look like and alternative
solutions.
--
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
Austin Energy
http://www.austinenergy.com
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the mrtg
mailing list