Monitor SNMP Traps with UC Monitor

UC Monitor has been optimised to alert on SNMP Traps generated by Sonus SBC1000/2000 devices, however any device that supports SNMP Traps can be monitored.

Enable SNMP Monitor

To enable SNMP monitoring of a device it needs to be added to the settings.xml file. Inside the SbcGatewaysToMonitor section, for each device you wish to monitor, add the config between and including <Device>…</Device>. For Example:

Once you have added the config, you’ll need to restart UC Monitor.

Filter SNMP Traps

It’s quite likely you will want to filter out alerts for some Traps sent by the SNMP device. You can do so by including or excluding Traps by their OID (id) and value.

  • When you choose to include┬áTraps, only those items which you list in the config will cause alerts to be generated
  • When you choose to exclude┬áTraps, all Traps except those items which you list in the config will cause alerts to be generated

Inside the SnmpTrapMonitor section:

  • Choose whether to Include or Exclude Traps by settings IncludeOrExcludeTraps to True or False
  • For each include or exclude, add the config between and including <TrapToIncludeOrExclude>…</TrapToIncludeOrExclude>

For Example:

You can determine a Traps OID and Value by inspecting an email alert. For example see the highlighted OID and Value below. These two values are what you will need to add in the include/exclude config:

Configure Sonus SBC1000/2000 SNMP Traps

Open the Sonus SBC web management interface. From the “Settings” tab expand “SNMP/Alarms”.

Using the “+” add the UC Monitor server to the “SNMP Management Addresses table”:

  • Manager Address: FQDN/IP of the UC Monitor server
  • Community: public
  • Community Type: Read-only
  • Trap Enabled: True

Optionally you can configure “Alarm” types if required:

You can also enable some additional Trap Events, such as SIP Call Licence Usage which can alert you when all you SIP channels are nearly exhausted:

 

in UC Monitor

0