[mrtg] Voice Calls Help
Frank Misak
Frank.Misak at mpiresearch.com
Tue May 20 14:06:00 CEST 2008
Hi Mike,
I'm not sure what you mean by calling it as an external
sensor?
Frank
From: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of scoob8000
Sent: Monday, May 19, 2008 4:24 PM
To: mrtg at lists.oetiker.ch
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080520/99d76064/attachment.html
More information about the mrtg
mailing list