IP SLA critical alert
Posted: Thu Apr 15, 2021 9:39 am
Hi Team,
I am using check_cisco_ip_sla.py plugin to check the IP SLA for network devices. The plugin is working perfectly fine. But, the problem is, it gives OK or warning if 1 out of 3 IP SLA is failed.
Example, We have 3 IP SLA on one router, 1 of them is failed, then the script returns warning on basis of some percentage.
What we want is, it should send critical alert even if 1 is failing. It should not have any concept of warning.
Example: For a device if we have 5 IP SLA, and if all are UP, it should send OK. If any of them fails, it should send critical.
I am attaching the script here. Please help me to modify the script so it returns the required output.
Thanks in advance!!
I am using check_cisco_ip_sla.py plugin to check the IP SLA for network devices. The plugin is working perfectly fine. But, the problem is, it gives OK or warning if 1 out of 3 IP SLA is failed.
Example, We have 3 IP SLA on one router, 1 of them is failed, then the script returns warning on basis of some percentage.
What we want is, it should send critical alert even if 1 is failing. It should not have any concept of warning.
Example: For a device if we have 5 IP SLA, and if all are UP, it should send OK. If any of them fails, it should send critical.
I am attaching the script here. Please help me to modify the script so it returns the required output.
Thanks in advance!!