04-01-2020 07:38 PM
Hello Community,
Is there a correct syntax to add multiple eem built in variables to a single statement like below if supported?
action 2.0 snmp-trap strdata "$_syslog_msg, $_info_routername"
or
action 2.0 snmp-trap strdata "$_syslog_msg / $_info_routername"
Thanks
JV
Solved! Go to Solution.
04-01-2020 09:27 PM
Yes you can.
As an example, here is one that I wrote to send a trap when a link reaches 50% utilization.
event manager applet HFC_UTILIZATION_50%
event interface name GigabitEthernet0/1/7 parameter rxload entry-op gt entry-val 128 entry-type value poll-interval 1
action 1.0 snmp-trap strdata "$_interface_name link utilization: $_interface_value / $_interface_parameter"
04-01-2020 09:27 PM
Yes you can.
As an example, here is one that I wrote to send a trap when a link reaches 50% utilization.
event manager applet HFC_UTILIZATION_50%
event interface name GigabitEthernet0/1/7 parameter rxload entry-op gt entry-val 128 entry-type value poll-interval 1
action 1.0 snmp-trap strdata "$_interface_name link utilization: $_interface_value / $_interface_parameter"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide