- Starting with version 3.2.1 of the WebRTC gateway, it is now possible to configure SNMP to retrieve certain counters and send traps when thresholds are exceeded.
- Both SNMP v2c and v3 are supported.
SNMP GET
Following counters can be collected
Global
- Current active calls
- Maximum calls reached since last server reboot
- Number of calls for current day
- Total calls received since last server reboot
- Total of registered users
- Some counters regarding server connection
- Infos on WebRTC gateway processes (janus / kamailio / otlitemediapillargateway)
Per SIP domain
- Current active calls
- Maximum calls reached since last server reboot
Standard linux system SNMP are available
- see attached document ANNEX A
SNMP TRAP
Following traps are emitted:
- alertCallOverload: number of current actives calls >= defined threshold
- loadavg1min: trap if cpu load (/proc/loadavg 1min) >= defined threshold
- when such situation occurs, the delay between 2 successive traps can be adjusted
- diskAlert: if disk occupation >= defined threshold
- when such situation occurs, the delay between 2 successive traps can be adjusted
- diskAlert: trap if used memory >= defined threshold
- when such situation occurs, the delay between 2 successive traps can be adjusted
- certificateAlert: trap if certificate validity < 30 days
Configuration
Detailed configuration is available in the attached document
Note: The Rainbow MIB file is available directly on the WebRTC gateway in the /opt/mediapillar/cv/MIB/ folder.
Start and stop the service
mpsnmp on|off
SNMP configuration must be done before starting SNMP service
SNMP Get configuration
mpsnmp --mode=get --options
Options list is available in the attached document
SNMP Trap configuration
mpsnmp --mode=trap --options
Options list is available in the attached document
Configuration Verification and Troubleshooting
With the command mpsnmp check you can verify if your configuration is correct
In the attached document you can find more detail and link to different tools to make some tests/troubleshooting.