[mrtg] Change if functionality?

markcapelle at pcmc.com markcapelle at pcmc.com
Thu Feb 12 21:59:54 MET 2004





I have been running MRTG for about 2 years now.  I have my config file
kicking off a lot of custom scripts to check disk space, mem free, etc.  I
was running version 2.9.17.  I am building a new box and installed 2.10.13.
I brought my mrtg.cfg over from my old box to the new.  Now when I run MRTG
I get boatloads of "WARNING: Problem with External get
'/usr/local/nagios/libexec/./check_nt_mrtg -H 10.0.x.x -p 1248 -v CPULOAD
-l 1,100,100': Expected a Number for 'out' but nothing'" messages.  My
scripts typically return a single number representing a value (ie: 800 to
represent 800 gigs free).  After looking through the docs, changelog, and
reading the output of the error message it looks like MRTG now *requires*
four lines of output?  If so I will have to rewrite all my scripts to deal
with this, which isn't a huge deal... but I was wondering if there was any
way to get the "old" behavior back?

Thanks,
Mark Capelle


CONFIDENTIALITY NOTICE:  This e-mail may contain trade secrets or
privileged, undisclosed or otherwise confidential information. If you have
received this e-mail in error, you are hereby notified that any review,
copying or distribution of this message in whole or in part is strictly
prohibited. Please inform the sender immediately and destroy the original
transmittal. Thank you for your cooperation.

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