[mrtg] Cisco VOIP Monitoring
robert.mersberger at goldenliving.com
Tue Nov 24 21:58:53 CET 2009
Where can I find gnu grep & snmpwalk for windows? I would like to install it on my new mrtg on windows server.
From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Stock, David
Sent: Tuesday, November 24, 2009 10:20 AM
To: 'Eric Brander'; mrtg at lists.oetiker.ch
Subject: Re: [mrtg] Cisco VOIP Monitoring
I've not yet migrated to RRD, routers2, etc. and so had to come up with a hack for traditional MRTG running on Windows. My process is very similar to Dan's, in walking the SNMP tree and counting the number of channels set to 4 (established). It gives me the number of calls in progress for the entire gateway instead of per trunk, but it's a start. I'm running on Windows (with gnu grep & snmpwalk installed). At any given moment, the results of the .BAT file match the sum of the lines in use as reported by the Cisco RTMT.
My slightly cleaned .BAT script & target follow:
snmpwalk -v 2c -c <public string> <gateway IP address> 18.104.22.168.22.214.171.124.126.96.36.199.9 | grep "INTEGER: 4" -c > \inuse.txt
echo Calls in progress
### Calls in progress
Target[ccvg01_current_calls]: `cmd /c \mrtg\scripts\testcalls.bat`
YLegend[ccvg01_current_calls]: Current Calls
Legend1[ccvg01_current_calls]: Current Calls
Legend3[ccvg01_current_calls]: Maximum observed current calls
Title[ccvg01_current_calls]: Current calls for CCVG01.ccis.edu
Options[ccvg01_current_calls]: growright, gauge, unknaszero, noo, nopercent
PageTop[ccvg01_current_calls]: <h1>Current calls for CCVG01 </h1>
From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Eric Brander
Sent: Monday, November 23, 2009 8:35 AM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] Cisco VOIP Monitoring
I see in the archives a few questions over the years about monitoring Cisco VOIP for such things as active calls, trunks in use and other performance stats. Not many (or any) answers really. I've searched through MIBs and OIDs and really have come up empty. By chance is anyone here using MRTG and SNMP or a script to monitor such things on a Cisco Call Manager or a router acting as a voice gateway?
Please consider the environment before printing this e-mail.
This e-mail message and any attachment(s) (collectively,
this 'Email') are intended only for the confidential use of
the recipient(s) named above. If the reader of this message
is not the intended recipient named above or an agent
responsible for delivering it to the intended recipient
named above, you have received this Email in error.
Please notify the sender immediately and permanently delete
this Email and any copies thereof.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mrtg