[mrtg] external command problems
Charles Sprickman
spork at bway.net
Tue Apr 24 07:48:23 CEST 2007
Sorry to be a nag, but does anyone have any ideas on this? The script
output appears valid to me - right now it just spits out two numbers ie:
0
29
Thanks,
Charles
On Sat, 21 Apr 2007, Charles Sprickman wrote:
> 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
> ./queues.cfg
> --snpo: run external /usr/local/adm/bin/snmpget-wrap.sh h07
> NET-SNMP-EXTEND-MIB::nsExtendOutLine.\"QmailQueue1\".7
> NET-SNMP-EXTEND-MIB::nsExtendOutLine.\"QmailQueue1\".8
> --snpo: External result:3 out:undef uptime:unknown name:unknown
> --snpo: run external /usr/local/adm/bin/snmpget-wrap.sh h07
> NET-SNMP-EXTEND-MIB::nsExtendOutLine.\"QmailQueue2\".7
> NET-SNMP-EXTEND-MIB::nsExtendOutLine.\"QmailQueue2\".8
> --snpo: External result:84 out:undef uptime:unknown name:unknown
>
> Any other ideas? Is there a problem with the first line generally being
> "0"?
>
> Charles
>
>> Paul
>>
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>
More information about the mrtg
mailing list