AnsweredAssumed Answered

Heartbeat trap alert

Question asked by kevinyizhou on Apr 21, 2019
Latest reply on Apr 23, 2019 by kevinyizhou

For Spectrum 10.2 running on Solaris, we use snmptrap to generate a snmp heartbeat trap to monitor Spectrum server status via the following shell script:


/usr/sfw/bin/snmptrap -v 1 -c public $SSSERVER . $AGENTHOST 6 1 '' . s $SENDTIME . s "pulse"


But it won't work on Linux, it gave the following error:

s: Bad variable type ("1")


Here is the AlertMap info for this custom alert:


#HeartBeat_pulse                                   Timestamp     0x053609ae,0)\

                                                                # Message



Could not figure out what variable type it should be.(have tried all 6 types of, none of them work).


Any help is much appreciated.