Re: BRI on cisco voicegateway

"McDonald, Dan" <[email protected]>
Newsgroups gmane.network.mrtg.user
Message-ID <D03702DE.2AA86%[email protected]>
From: "Massimo Cucchi (Europe)" <[email protected]<mailto:[email protected]>>
Date: Wednesday, September 10, 2014 at 8:01 AM
To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
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.

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.