[mrtg] external command problems

Charles Sprickman spork at bway.net
Sat Apr 21 22:34:08 CEST 2007

On Sat, 21 Apr 2007, MrPaul wrote:

> I don't think line 3 is valid.  Although it asks for uptime & hostname on
> lines 3 & 4 you can leave those lines blank and MRTG work just fine.

Hmmm...  I edited the script to only output the first two lines and it's 
still not picking things up:

toolbox[/usr/local/etc/mrtg]# /usr/local/bin/mrtg --debug=snpo 
--snpo: run external /usr/local/adm/bin/snmpget-wrap.sh h07 
--snpo: External result:3 out:undef uptime:unknown name:unknown
--snpo: run external /usr/local/adm/bin/snmpget-wrap.sh h07 
--snpo: External result:84 out:undef uptime:unknown name:unknown

Any other ideas?  Is there a problem with the first line generally being 


> Paul

More information about the mrtg mailing list