After doing a bulk discovery the results are as follows which is a little confusing.
As you can see some BGP Peers are idle i.e critical, some are unknown and some are okay while others are pending. This is a rather mixed bag of results.
Now with the warning below this is particularly interesting as it states the device has been up less than it’s minimum up time which is 1 day however this plugin has had that state for over a week.
The critical check seems to always be the same as shown in the screenshot below does anyone have any ideas how to best configure the plugin and get rid of the annoying errors.
Thanks for the plugin the website was blocked by Cisco Umbrella so this took a while to action.
So I removed the old version of the plugin and did a bulk discovery removing varnished services I then uploaded the plugin and did a bulk discovery and I got the following:
The issue is that even though it has been more than a day we are still seeing the warnings saying less than a day and I am not sure how to resolve CRIT - Peer state: idle CRIT , or why it is occurring.
Can you show one of the uptime graphs for a BGP peer?
But if you don’t want to get an error message for the uptime you can also define that a uptime of 1 second is ok with the available WATO rules.
If you don’t want to “idle” state to result in crit you need to modify the cisco_bgp_peer file.
Beginning with line 462 you find the code transforming idle state to crit.
I have also noticed on the same device the following error message:
Invalid check parameter : enable HTML Output for long output of check plugin (multiline): Invalid value, must be ‘True’ but is ‘False’
Variable: checkgroup_parameters:cisco_bgp_peer
Parameters:
which file do I edit you stated modify the cisco_bgp_peer but this file is in a number of locations so which one also this is not a fix for the error… it seems to me that it more ignores it.
The pending is only inside the WATO service discovery not if you activated the checks to be monitored.
You can access the settings with the icons left of the “PEND” field. The icon with the three bars brings you directly to the parameters for this services.