[mrtg] HELP! -- Expected a Number for 'out' but nothing

Dan mrtg at dandoore.com
Thu Nov 22 20:32:08 CET 2007


Kirk Waingrow wrote:
> 
> I'm running mrtg and get the following warning errors below:
> 
> $ /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg
> 2007-11-22 10:53:57: WARNING: Problem with External get '/tmp/foo':
>    Expected a Number for 'out' but nothing'

Your script must return at least two values on separate lines, just add 
'echo "0"' or something to the end of the script.

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

Also add the 'noo' option to your options line as well to ignore the 
dummy value.

Dan.



More information about the mrtg mailing list