How to generate SNMP TRAP using SNMPSET
i am using in shell script
my objective is if my condition is true than trap will be generate...
i am trying with
snmpset -r 0 -t 1 -v 1 -c public 127.0.0.1 MYTEST-MIB::highCpuUsage.0 i `date +%s`
but its not working its give
Error in packet.
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: MYTEST-MIB::highCpuUsage.0
PLEASE PROVIDE THE SOLUTION