<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/TR/REC-html40" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="MSHTML 6.00.2900.3636" name="GENERATOR">
<style>@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" vlink="purple" link="blue">
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="638445720-24112009">Where can I find&nbsp;<font color="#1f497d" size="3"> gnu grep &amp; snmpwalk&nbsp; for windows?&nbsp; I would like to install it on my new mrtg on windows server.</font></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#1f497d" size="3"><span class="638445720-24112009"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font face="Arial" color="#1f497d" size="3"><span class="638445720-24112009">Thanks</span></font></div>
<br>
<div class="OutlookMessageHeader" lang="en-us" dir="ltr" align="left">
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> mrtg-bounces@lists.oetiker.ch [mailto:mrtg-bounces@lists.oetiker.ch]
<b>On Behalf Of </b>Stock, David<br>
<b>Sent:</b> Tuesday, November 24, 2009 10:20 AM<br>
<b>To:</b> 'Eric Brander'; mrtg@lists.oetiker.ch<br>
<b>Subject:</b> Re: [mrtg] Cisco VOIP Monitoring<br>
</font><br>
</div>
<div></div>
<div class="Section1">
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Eric,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I&#8217;ve not yet migrated to RRD, routers2, etc. and so had to come up with a hack for traditional MRTG running on Windows.&nbsp; My process is very similar to Dan&#8217;s,
 in walking the SNMP tree and counting the number of channels set to 4 (established).&nbsp; It gives me the number of calls in progress for the entire gateway instead of per trunk, but it&#8217;s a start.&nbsp; I&#8217;m running on Windows (with gnu grep &amp; snmpwalk installed).&nbsp;
 At any given moment, the results of the .BAT file match the sum of the lines in use as reported by the Cisco RTMT.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">My slightly cleaned .BAT script &amp; target follow:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Batch Script:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">@echo off<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">snmpwalk -v 2c -c &lt;public string&gt; &lt;gateway IP address&gt; 1.3.6.1.2.1.10.21.1.3.1.1.9 | grep &quot;INTEGER: 4&quot; -c &gt; \inuse.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">type \inuse.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">type \inuse.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">echo 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">echo Calls in progress<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">del \inuse.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">MRTG Target:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">### Calls in progress<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Target[ccvg01_current_calls]: `cmd /c \mrtg\scripts\testcalls.bat`<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">YLegend[ccvg01_current_calls]:&nbsp; Current Calls<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">ShortLegend[ccvg01_current_calls]: &amp;nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Legend1[ccvg01_current_calls]: Current Calls<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Legend2[ccvg01_current_calls]: .<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Legend3[ccvg01_current_calls]: Maximum observed current calls<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Legend4[ccvg01_current_calls]: .<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">LegendI[ccvg01_current_calls]: Calls:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">LegendO[ccvg01_current_calls]: Calls:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">WithPeak[ccvg01_current_calls]: ywm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">MaxBytes[ccvg01_current_calls]: 780<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Title[ccvg01_current_calls]: Current calls for CCVG01.ccis.edu<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Options[ccvg01_current_calls]: growright, gauge, unknaszero, noo, nopercent<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">PageTop[ccvg01_current_calls]: &lt;h1&gt;Current calls for CCVG01 &lt;/h1&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">HTH,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">David<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p class="MsoNormal"><b><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</span></b><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> mrtg-bounces@lists.oetiker.ch [mailto:mrtg-bounces@lists.oetiker.ch]
<b>On Behalf Of </b>Eric Brander<br>
<b>Sent:</b> Monday, November 23, 2009 8:35 AM<br>
<b>To:</b> mrtg@lists.oetiker.ch<br>
<b>Subject:</b> [mrtg] Cisco VOIP Monitoring<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Greets List,<br>
<br>
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?<br>
<br>
TIA,<br>
<br>
Eric Brander<o:p></o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">Please consider the environment before printing this e-mail.<br>
<br>
CONFIDENTIAL NOTICE:<br>
This e-mail message and any attachment(s) (collectively,<br>
this 'Email') are intended only for the confidential use of<br>
the recipient(s) named above. If the reader of this message<br>
is not the intended recipient named above or an agent<br>
responsible for delivering it to the intended recipient<br>
named above, you have received this Email in error.<br>
Please notify the sender immediately and permanently delete<br>
this Email and any copies thereof.<br>
</font>
</body>
</html>