Sybase CEP Server supports a highly customizable SDK solution, including the Sybase CEP Server Plugin SDK and a command line Sybase CEP Server plugin that uses the SDK.
With these features, you can configure the command-line plugin to use the Net-SNMP snmptrap tool to generate SNMP traps on various Sybase CEP Server events. To configure SNMP traps:
mibs +C8-SERVER-STATUS-MIB
For a list of valid Sybase CEP Server groups and messages, see the comments in the c8-server-snmp.conf file or "Sybase CEP Server Events".
You can configure a single preferences section to handle only one type of Sybase CEP Server event. If you need to send traps on multiple Sybase CEP Server events, duplicate the section, give each copy a new unique name, and configure each copy to handle a different event. The number of sections in your configuration file should be the same as the number of events for which you want to generate SNMP traps.
C:\Windows\System32\snmptrap.exe
Most of the time this name will be set to either to public or to sybasec8 .
While testing the SNMP trap features, set this preference to the local host name.
To test whether traps are sent properly, you may configure the Net-SNMP's snmptrapd daemon to receive traps. The simplest way to do this is to use the following command on the machine configured to receive the traps:
snmptrapd -Lo -F "\n\n%W(%w) TRAP RECIEVED FROM %A(%a)\nEPOCH:%t\nVALUES:\n%V\n%v\n"
For more information about SNMP traps, see the c8-server-snmp.conf file.