Nms-trapReceiver
Jump to navigation
Jump to search
This script: trapReceiver.php is not part of the API spec, and is however part of the overall system. This is what snmptrapd calls for all inbound SNMP events.
Specifically note the absolute path to the php script. Also it is a good idea to pass the path to the php binary itself as well since snmptrapd does not build a full environment.
cat /etc/snmp/snmptrapd.conf | grep -v '^#' snmpTrapdAddr :162 traphandle .1.* php /opt/nmsApi/traps/trapReceiver.php disableAuthorization yes