Solved

alert from centreon when a soft/safe reboot

  • 9 February 2022
  • 1 reply
  • 124 views

Badge +2

Hello,

I want to ask you it is possible to recieve an alert from centreon when a soft/safe reboot will be executed from a host.

icon

Best answer by sims24 9 February 2022, 15:05

View original

1 reply

Userlevel 6
Badge +19

Hello, 

Yes, you can use the standard uptime mode (https://github.com/centreon/centreon-plugins/blob/master/snmp_standard/mode/uptime.pm) and define a threshold like this for example:

--critical-uptime=3600:

The check will return Critical if a reboot happened during the last hour. You may want to set a lower value like 400: if you expect the check to be critical only one time. 

Reply