Skip to main content

Greetings!

 
Way back in the day the company I worked at used Nagios.  I and a clever developer configured some simple commands we told Nagios to send back to certain hosts whenever a service stopped.  This way we made many of our servers and services self-healing.  Now at Azusa Pacific University we're using Centreon, and I'd like to do that same thing here.  It wasn't obvious in your online documentation, and Google wasn't much help either.  Surely other folks have done this:
 
When a service check finds that a service is not running, how can we send a command back to the host to try to restart the service at least once?  Then, if that fails, escalate to a "routine" notification to assigned sysops.
e.g. On a Windows server send  net start Print_Spooler
Or on Linux systemctl start cups 
 
Ray Martin
Azusa Pacific University

Hallo!

Maybe you are looking for this?

 

https://docs.centreon.com/docs/monitoring/event-handler/#when-are-event-handlers-executed

 

Auto Remediation

Introduction

Event handlers or auto remediation are optional system commands (scripts or executables) that are run whenever a host or service state change occurs.

An obvious use for event handlers is the ability for Centreon to proactively fix problems before anyone is notified.

 

Feels like a ctrl+k from your text hehehe 

 

😀


Reply