Skip to main content
Solved

alert from centreon when a soft/safe reboot

  • February 9, 2022
  • 1 reply
  • 168 views

Forum|alt.badge.img+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.

Best answer by sims24

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. 

1 reply

sims24
Forum|alt.badge.img+19
  • Ranger ***
  • Answer
  • February 9, 2022

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.