>>- svctask -- -- setevent -- ----------------------------------> >--+----------------------------------+-- ----------------------> '- -snmptrap --+- all -----------+-' +- hardware_only -+ '- none ----------' >--+-------------------------+-- -------------------------------> '- -snmpip -- ip_address -' >--+---------------------------+-- -----------------------------> '- -community -- community -' >--+-------------------------------+--------------------------->< '- -alert --+- all -----------+-' +- hardware_only -+ '- none ----------'
| Note: These arguments are not mutually exclusive. |
This command modifies the settings that you want to apply to the error log. These settings define what to do when errors and events are logged. You can set the following values for the -snmptrap and -alert arguments:
You can use this command to setup SNMP traps. For SNMP, you must supply the following information:
An invocation example
svctask setevent -snmptrap all -snmpip 1.2.3.4
-community mysancommunity
The resulting output
No feedback