08-01-2006 07:24 AM
Dear Netpro team,
We have two VoIP gateways, one for SIP-to-PSTN (e1 controllers) and one with CCM (H.323-to-PSTN) management, so we desire the OID?s for active calls in both equipments. I?ve been looking for too much, and i didn?t find anything. In SNMP locator, it shows me MIB?s implemented into equipament (those could be enough) but in snmpwalk got error (No Such Object available on this agent at this OID).
Can you tell me these right OID?s?
Thanks in advance,
netadm - UOL
08-07-2006 08:40 AM
upgrade IOS 12.2(15)T onwards fixed the issue
08-11-2006 06:11 AM
it?s running in 12.3(11)T10 version. Downgrade will solve my problem?
thanks again,
netadm - UOL
02-13-2007 08:48 AM
Hi Netadm,
I had this issue with ISR routers. The normal enterprises.9.10.19.1.1.9.1.3.0.0 OID but doesnt work on ISR's due to the slot/subslot/port designation.
In the end I created the following perl script to read the transmission.20.1.2.1.1.2 OID and "count" the number of calls in the "show isdn active" table for that interface.
$InterfaceWalk = `snmpwalk.exe -c $ARGV[0] -v2c $ARGV[1] ifDescr`;
@InterfaceWalkLines = split /^/m, $InterfaceWalk;
$ChannelWalk = `snmpwalk.exe -c $ARGV[0] -v2c $ARGV[1] transmission.20.1.2.1.1.2`;
@ChannelWalkLines = split /^/m, $ChannelWalk;
$conncount = 0;
foreach $Interfaceline (@InterfaceWalkLines) {
if( ($InterfaceNumber, $InterfaceName) = ($Interfaceline =~ /IF-MIB::ifDescr\.(.*) = STRING: Serial(.*):(.*)Bearer Channel/) ) {
if ($InterfaceName =~ $ARGV[2]) {
foreach $Channelline (@ChannelWalkLines) {
if($Channelline =~ /transmission\.20\.1\.2\.1\.1\.2\.$InterfaceNumber = INTEGER: 4/) {
$conncount++;
}
}
}
}
}
print "$conncount\n$conncount\nUPTIME\n$ARGV[1]";
Regards
Chris
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide