Where can I find  gnu grep & snmpwalk  for windows?  I would like to install it 
on my new mrtg on windows server.

Thanks

________________________________
From: [email protected] [mailto:[email protected]] On 
Behalf Of Stock, David
Sent: Tuesday, November 24, 2009 10:20 AM
To: 'Eric Brander'; [email protected]
Subject: Re: [mrtg] Cisco VOIP Monitoring

Eric,

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:

Batch Script:
@echo off
snmpwalk -v 2c -c <public string> <gateway IP address> 
1.3.6.1.2.1.10.21.1.3.1.1.9 | grep "INTEGER: 4" -c > \inuse.txt
type \inuse.txt
type \inuse.txt
echo 0
echo Calls in progress
del \inuse.txt

MRTG Target:
### Calls in progress
Target[ccvg01_current_calls]: `cmd /c \mrtg\scripts\testcalls.bat`
YLegend[ccvg01_current_calls]:  Current Calls
ShortLegend[ccvg01_current_calls]: &nbsp;
Legend1[ccvg01_current_calls]: Current Calls
Legend2[ccvg01_current_calls]: .
Legend3[ccvg01_current_calls]: Maximum observed current calls
Legend4[ccvg01_current_calls]: .
LegendI[ccvg01_current_calls]: Calls:
LegendO[ccvg01_current_calls]: Calls:
WithPeak[ccvg01_current_calls]: ywm
MaxBytes[ccvg01_current_calls]: 780
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>

HTH,
David

From: [email protected] [mailto:[email protected]] On 
Behalf Of Eric Brander
Sent: Monday, November 23, 2009 8:35 AM
To: [email protected]
Subject: [mrtg] Cisco VOIP Monitoring

Greets List,

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?

TIA,

Eric Brander

________________________________
Please consider the environment before printing this e-mail.

CONFIDENTIAL NOTICE:
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.
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to