An SNMP trap containing alert details can be sent, if an SNMP trap destination is configured in the SNMP service, and that service is online. The following example sends an SNMP trap, as seen from the Net-SNMP tool snmptrapd -P.
# /usr/sfw/sbin/snmptrapd -P 2009-10-13 15:31:15 NET-SNMP version 5.0.9 Started. 2009-10-13 15:31:34 caji.com [192.168.2.80]: iso.3.6.1.2.1.1.3.0 = Timeticks: (2132104431) 246 days, 18:30:44.31 iso.3.6.1.6.3.1.1.4.1.0 = OID: iso.3.6.1.4.1.42.2.225.1.3.0.1 iso.3.6.1.4.1.42.2.225.1.2.1.2.36.55.99.102.48.97.99.100.52.45.51.48. 99.49.45.52.99.49.57.45.101.57.99.98.45.97.99.50.55.102.55.49.50.54. 98.55.57 = STRING: "7cf0acd4-30c1-4c19-e9cb-ac27f7126b79" iso.3.6.1.4.1.42.2.225.1.2.1.3.36.55.99.102.48.97.99.100.52.45.51.48. 99.49.45.52.99.49.57.45.101.57.99.98.45.97.99.50.55.102.55.49.50.54. 98.55.57 = STRING: "alert.ak.xmlrpc.threshold.violated" iso.3.6.1.4.1.42.2.225.1.2.1.4.36.55.99.102.48.97.99.100.52.45.51. 48.99.49.45.52.99.49.57.45.101.57.99.98.45.97.99.50.55.102.55.49.50. 54.98.55.57 = STRING: "cpu.utilization threshold of 90 is violated."
Related Topics