Skip to main content
Discussion ongoing

Possibility to enable/disable notifications when host down

Related products:Infra Monitoring - MonitoringInfra Monitoring - Configuration
  • August 12, 2025
  • 5 replies
  • 81 views

Forum|alt.badge.img+3

Hello, 

Currently we are able to enable or disable the checks for services attached to a host down. Unfortunately (for me), regarding notification, it’s disable by design and it’s not possible to enable it. 

In my use case it’s problematic because we use notification to perfom several actions when a service went critical. Also, we don’t realy use alerts coming from hosts. We prefer use directly a service named ping. 
So, currently if a host is down, it blocks all our automation because no notification will be sent. A button to enable or disbale in case of host down will be very helpful.

 

Thank you for considering this idea  

5 replies

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • August 22, 2025

Hi ​@ndubost, I try to understand you issue.

Centreon by default checks services even if host is down and notification are managed regarding statuses of services.

We added an option (Disable Service Checks When Host Down) to do not check services when host is down (from “Configuration > Pollers > Engine configuration” menu, for each poller).

If this option is disabled, notification will be sent for associated services.


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • September 5, 2025
NewDiscussion ongoing

Forum|alt.badge.img+3
  • Author
  • Steward *
  • September 9, 2025

Hello, 

 

Sorry for the delay, Ok thanks we will test it soon.
I though that the notification were disbale even if the checks are enable. 

 


Forum|alt.badge.img+3
  • Steward *
  • October 1, 2025

Hi ​@ndubost, I try to understand you issue.

Centreon by default checks services even if host is down and notification are managed regarding statuses of services.

We added an option (Disable Service Checks When Host Down) to do not check services when host is down (from “Configuration > Pollers > Engine configuration” menu, for each poller).

If this option is disabled, notification will be sent for associated services.

Hello ​@lpinsivy ,

This is quite surprising as we have been told the opposite in a incident ticket we have opened, telling us that it was hard coded and couldn’t be parametered.

 

https://github.com/centreon/centreon-engine/blob/d62b4d00a32536f63ab11a7d6d48093f4e96e7ed/src/service.cc#L1610

 

To be more precise, it does a check but not the usual 3 checks to get the hard status that sends a notification


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • December 18, 2025

Hi ​@mikail, I did a test with an host and an associated ping service.

Since the host status is DOWN and confirmed (Hard 3/3), Centreon Engine reschedules the next service check without checking it.

 

[2025-12-18T11:10:50.581+01:00] [events] [info] [811267] INITIAL HOST STATE: myhost;UP;HARD;1;
[2025-12-18T11:10:50.597+01:00] [events] [info] [811267] INITIAL SERVICE STATE: myhost;Ping;OK;HARD;1;
[2025-12-18T11:11:39.666+01:00] [external_command] [info] [811267] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;myhost;Ping;1766052697
[2025-12-18T11:11:39.666+01:00] [external_command] [info] [811267] EXTERNAL COMMAND: SCHEDULE_FORCED_HOST_CHECK;myhost;1766052697
[2025-12-18T11:16:45.783+01:00] [events] [info] [811267] SERVICE ALERT: myhost;Ping;CRITICAL;SOFT;1;CRITICAL - myhost: rta nan, lost 100%
[2025-12-18T11:16:50.789+01:00] [events] [info] [811267] HOST ALERT: myhost;DOWN;SOFT;1;CRITICAL - myhost: rta nan, lost 100%
[2025-12-18T11:17:40.806+01:00] [events] [info] [811267] SERVICE ALERT: myhost;Ping;UNKNOWN;HARD;2;host myhost is down
[2025-12-18T11:17:50.814+01:00] [events] [info] [811267] HOST ALERT: myhost;DOWN;SOFT;2;CRITICAL - myhost: rta nan, lost 100%
[2025-12-18T11:18:50.844+01:00] [events] [info] [811267] HOST ALERT: myhost;DOWN;HARD;3;CRITICAL - myhost: rta nan, lost 100%