Skip to main content
Question

Delay a service status going critical or warning

  • February 24, 2025
  • 1 reply
  • 9 views

Forum|alt.badge.img+7

Is there a way to set a service check that it delays making the status go critical or warning until it has performed all the retry checks?

We are using the VMware vCenter connectors and one check that is performed is to report VMs where VMware Tools is not running. Unfortunately this does not take into account that during a VM start-up or reboot that VMware Tools is correctly not running for a short time - thankfully, the check does take into account if the VM is shut down so they don’t go critical if the VM is switched off. We have 500 VDI workstations which are regularly starting up or being rebooted, and having these all go critical is causing our dashboards to look worse than they really are. They should only be critical if the check fails, for example, 5 times in a row and not immediately.

I’ve played with the various retry intervals and delays, but they just affect the notifications sent out, not the actual service status.

Forum|alt.badge.img+4

Hello,

It is not possible to delay the time before a service status is taken into account.
However, in Centreon, there are different types of statuses

When a resource enters in a ‘non-OK’ state, such as Warning or Critical, it first transitions to a ‘Soft’ status.
An incident (non-OK status) is only confirmed once the Max Check Attempts limit has been reached, at which point the status changes to ‘Hard’ and triggers the notification process.

It seems that you have tried modifying the Retry Interval, which defines the frequency of additional checks before confirming a status change.
In your case, validating the critical state after 5 failed checks corresponds to the Max Check Attempts set to 5.

However, the service will still appear as Critical before these 5 attempts, but with a ‘Soft’ status.

 

Regarding your dashboard issue, I am not sure which Centreon version you are using or whether you are referring to Custom Views or Dashboards.
However, depending on the type of widget used in your dashboards, it is possible to display only ‘Hard’ statuses for better visibility of ongoing issues.

For example:

  • In Custom Views, the service-monitoring widget allows filtering by Hard statuses.

     

  • In Dashboards, the Resource Table widget also provides this option.

     

 

Hope it helps!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings