[mrtg] BRI on cisco voicegateway
McDonald, Dan
Dan.McDonald at austinenergy.com
Thu Sep 11 14:45:24 CEST 2014
From: "Massimo Cucchi (Europe)" <massimo.cucchi at dimensiondata.com<mailto:massimo.cucchi at dimensiondata.com>>
Date: Wednesday, September 10, 2014 at 8:01 AM
To: "mrtg at lists.oetiker.ch<mailto:mrtg at lists.oetiker.ch>" <mrtg at lists.oetiker.ch<mailto:mrtg at lists.oetiker.ch>>
Subject: [mrtg] BRI on cisco voicegateway
Hi Group,
I wish to polling by snmp a cisco router with 2 bri and is enough for me receive an information about the call active on the bri.
The mrtg poll BRI using IsdnBearerOperStatus and the answer from Voicegateway is active(4) if no call the answer is idle (1).
Here’s a snippet from my template that I use to count currently active VOIP calls. You should be able to adapt this to your needs:
if ($iftype{81} +$iftype{102} > 0) {
my $maxcalls = $iftype{81}+$iftype{102};
my $target_name = $router_name.".call";
$head_lines .= <<CALLS
#.....................................................................
# Voip Concurrent Calls
#
Target[$target_name]: CnTWaLKcvCommonDcCallActiveCoderTypeRate&PseudoZero:public:$router
SnmpOptions[$target_name]: $v3options
MaxBytes[$target_name]: $maxcalls
routers.cgi*ShortDesc[$target_name]: Calls
bb*host[$target_name]: $router_name
bb*svc[$target_name]: call
routers.cgi*Graph[$target_name]: ALL_CALLS
bb*red[$target_name]: 90%
bb*yellow[$target_name]: 70%
Options[$target_name]: gauge, noo
Directory[$target_name]: $directory_name
WithPeak[$target_name]: wmy
YLegend[$target_name]: calls
ShortLegend[$target_name]: calls
Legend1[$target_name]: calls
LegendI[$target_name]: calls :
Title[$target_name]: $sysname
PageTop[$target_name]: <H1>$sysname Concurrent Calls</H1>
<TABLE>
<TR><TD>System:</TD><TD>$sysname </TD></TR>
<TR><TD>Location:</TD><TD>$syslocation </TD></TR>
</TABLE>
CALLS
;
}
How I can represent this value on the graph because if I leave as default the graph represent always one and change as soon as change the value but arrive to 4, in any case the value are so confused.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20140911/e4d278b1/attachment.html>
More information about the mrtg
mailing list