Try something like this maybe?

Call it from your mrtg.cfg as an external sensor.   $1 is the ip of the
device..

##########################################################################
#!/bin/bash
linecount=`snmpget -OvUq -r 3 -t 20 -v 1 -c public $1
1.3.6.1.4.1.9.9.63.1.3.1.1.1 `
echo $linecount | wc -l
echo "0"
echo "Device Name"
echo "N/A"
##########################################################################


-Mike
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to