SBC session border controllers
201
View SIP statistics
In this description, the SNMP utility invocation commands will be represented by the following scripts for
brevity and clarity:
Swalk
script implements reading values:
#!/bin/bash
/usr/bin/snmpwalk -v2c -c public -m +ELTEX-SBC 192.0.2.1 "$@"
Sset
script implements value setting:
#!/bin/bash
/usr/bin/snmpset -v2c -c private -m +ELTEX-SBC 192.0.2.1 "$@"
The statistics are grouped into six groups by type:
1.
Cumulative counters by SIP Users
2.
Instant counters by SIP Users
3.
Cumulative counters by SIP Transport
4.
Instant counters by SIP Transport
5.
Cumulative counters by SIP Destination
6.
Instant counters by SIP Destination
The counter OID is formed as follows:
1.3.6.1.4.1.35265.1.49.43.<TYPE>.1.<COUNTER>.<ID>, where
TYPE — one of six counter types;
COUNTER — counter ID;
ID — ID of the object that the counter points to.
You can get the object ID from the ID column in the CLI. To do this, in SIP destination edit mode, give SIP users
or SIP transport the show info command. The second way is to request an SNMP counter with COUNTER = 3 without
specifying an ID.
Examples:
Requesting the names of all SIP Transports, note that in the response the next digit after the name requested
by OID is the transport identifier, which can be further used in the queries:
swalk 1.3.6.1.4.1.35265.1.49.43.3.1.3
ELTEX-SBC::countStatTransportName.4 = STRING: 1.21_5068_rtp_69.121
ELTEX-SBC::countStatTransportName.5 = STRING: 118.164_5068
ELTEX-SBC::countStatTransportName.6 = STRING: user_0.21_5060_rtp_69_21
ELTEX-SBC::countStatTransportName.7 = STRING: user_0.21_5062
ELTEX-SBC::countStatTransportName.8 = STRING: trunk_1.21_5069
ELTEX-SBC::countStatTransportName.9 = STRING: trunk_0.21_5069
ELTEX-SBC::countStatTransportName.10 = STRING: 0.21_5066
ELTEX-SBC::countStatTransportName.12 = STRING: 2.21_5060
ELTEX-SBC::countStatTransportName.13 = STRING: 2.21_5065
ELTEX-SBC::countStatTransportName.14 = STRING: 2.21:5069