05-30-2023
12:09 PM
- last edited on
05-31-2023
02:52 AM
by
Translator
Want to monitor traffic.
Currently my EEM is
event manager applet interface_congestion_ping
event interface name Ethernet0/1 parameter receive_rate_pps entry-op gt entry-val 100000 entry-type value poll-interval 10
action 1.0 cli command enable
action 1.2 cli command ping 169.254.245.217
action 2.0 syslog msg applet congestion_monitoring has triggered
can I add more than 1 interface to this? I've tried extra
event
commands and they overwrite, haven't found an option to specify extra interfaces in the
event
command. My idea is not to specify interfaces at all.
Any advice/thoughts appreciated.
Solved! Go to Solution.
05-30-2023
12:15 PM
- last edited on
05-31-2023
02:58 AM
by
Translator
Hello @hfakoor222,
You cannot directly specify multiple interfaces within a single
event
command. Each
event
command is associated with a specific interface and its corresponding parameters.
You can achieve your goal of monitoring multiple interfaces for traffic congestion by creating separate
event
commands for each interface.
event manager applet interface_congestion_ping
event interface name Ethernet0/1 parameter receive_rate_pps entry-op gt entry-val 100000 entry-type value poll-interval 10
action 1.0 cli command enable
action 1.2 cli command ping 169.254.245.217
action 2.0 syslog msg applet congestion_monitoring has triggered
event interface name Ethernet0/2 parameter receive_rate_pps entry-op gt entry-val 100000 entry-type value poll-interval 10
action 1.0 cli command enable
action 1.2 cli command ping 169.254.245.217
action 2.0 syslog msg applet congestion_monitoring has triggered
event interface name Ethernet0/3 parameter receive_rate_pps entry-op gt entry-val 100000 entry-type value poll-interval 10
action 1.0 cli command enable
action 1.2 cli command ping 169.254.245.217
action 2.0 syslog msg applet congestion_monitoring has triggered
By creating separate
event
commands for each interface, you can effectively monitor multiple interfaces for congestion without explicitly specifying the interfaces in a single
event
command.
05-30-2023
12:15 PM
- last edited on
05-31-2023
02:58 AM
by
Translator
Hello @hfakoor222,
You cannot directly specify multiple interfaces within a single
event
command. Each
event
command is associated with a specific interface and its corresponding parameters.
You can achieve your goal of monitoring multiple interfaces for traffic congestion by creating separate
event
commands for each interface.
event manager applet interface_congestion_ping
event interface name Ethernet0/1 parameter receive_rate_pps entry-op gt entry-val 100000 entry-type value poll-interval 10
action 1.0 cli command enable
action 1.2 cli command ping 169.254.245.217
action 2.0 syslog msg applet congestion_monitoring has triggered
event interface name Ethernet0/2 parameter receive_rate_pps entry-op gt entry-val 100000 entry-type value poll-interval 10
action 1.0 cli command enable
action 1.2 cli command ping 169.254.245.217
action 2.0 syslog msg applet congestion_monitoring has triggered
event interface name Ethernet0/3 parameter receive_rate_pps entry-op gt entry-val 100000 entry-type value poll-interval 10
action 1.0 cli command enable
action 1.2 cli command ping 169.254.245.217
action 2.0 syslog msg applet congestion_monitoring has triggered
By creating separate
event
commands for each interface, you can effectively monitor multiple interfaces for congestion without explicitly specifying the interfaces in a single
event
command.
05-30-2023 01:17 PM
EEM's seem to have an option of not specifying the interface - not sure if this works. I might test it.
Thanks for the reply.
05-30-2023 01:25 PM
I dont try but I see before you can have multi interface, I will try when I have time but the action ping I can not sure that we can add it.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: