======snmp_trap_send======
WMMEGA,MINI3 >= 2.1175 WM-M2 >= 3.1175
Send an SNMP Trap message
====Description====
int
snmp_trap_send (
string
$message
)
Send a message via SNMP Trap to the configured trap server. This will be transmitted as an ASCII message.
====Parameter====
$message: A string
====Return Values====
int: 0 if it failed, or 1 if it succeeded
====Example====
$res = snmp_trap_send("Voltage exceeded threshold");
?>
====See Also====