[mrtg] Incuded .cfg files doesn't get processed in mrtg

Dan mrtg at dandoore.com
Wed Aug 29 18:40:01 CEST 2007


Dan Dooré wrote:
> Alexander Abgaryan wrote:
>> Hello guys,
>>
>> I've run into small problem with mrtg.
>> I have lots or routers and switches to monitor so I decided not to put
>> all of them into /etc/mrtg.cfg but create separate config files and
>> include them with Include directive into main /etc/mrtg.cfg file.
>>
>> Everything works OK until any of the monitored switches stops
>> responding(for example du to power outage). After that whole!!! mrtg
>> thing stops working and creating graphs. There are errors like this
>> "ERROR: Target[alpha-ats133][
>> _OUT_] ' $target->[147]{$mode} ' did not
>> eval into defined data" in mrtg.log.
>>
>> So guys is there any way force mrtg to bypass these errors and
>> continue processing other routers(switches) ?

Not AFAIK, although you can reduce the timeout, backoff and retry
parameters on the SNMP query to be a bit more cruel.

http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html#ISnmpOptions

Dan.




More information about the mrtg mailing list