To send a trap from NSM machine to another node, Customer can use the
awtrap (if the agent technology is installed) or catrap command not the catrapd.
The catrapd is the NSM Trap services and It is in listen on the incoming trap.
To send a trap client should use the catrap command.
Infomation about the catrap command can be found on the NSM book Online
Reference Guide searching for "catrap Command Issue SNMP Traps in a Network"
This command has the following format:
catrap [-d] [-t timeout] [-r retries] [-p port] [-c community
] target-node enterprise-id agent address generic trap specific trap time sta
mp [variable-binding-info1] [
variable-binding-info2] [variable-binding-infon]
details of each parameter can be found on the reference guide.
Now, on the NSM machine client should intercept via message record the
workload alarms and activate a COMMAND action that contains in the
text field the catrap command client wants to execute.
For example:
catrap 10.10.10.99 """" """" 6 48 """" 1.3.6.4.1.791.1 octetstring ""&nodeid"
" 1.3.6.4.1.791.1.100 octetstring ""Critical"" 1.3.6.4.1.791.1.101 octetstrin
g ""&LOGRECID"" 1.3.6.4.1.791.1.102 octetstring ""&DATEGEN"" 1.3.6.4.1.791.1.
103 octetstring ""&text"""
where the 10.10.10.99 should be the IP address of Spectrum node and the other
parameters are the parameters that client want to pass in the snmp trap.