Hi Mike,

 

            I'm not sure what you mean by calling it as an external
sensor?

 

Frank

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of scoob8000
Sent: Monday, May 19, 2008 4:24 PM
To: [email protected]
Subject: Re: [mrtg] Voice Calls Help

 

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


This communication, including attachments, is for the exclusive use of 
addressee and 
may contain proprietary, confidential and/or privileged information. If you are 
not 
the intended recipient, any use, copying, disclosure, dissemination or 
distribution 
is strictly prohibited. If you are not the intended recipient, please notify 
the sender 
immediately by return e-mail, delete this communication and destroy all copies.

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

Reply via email to