Page 1 of 1

Self healing of specific services.

Posted: Thu Dec 22, 2016 1:47 am
by prateekagr1988
Hello,

I would like to know if Nagios XI supports self healing of services.

If yes, what could be the approach to have it configured.

We could try to take some generic examples (file system space issue, database being down, etc), in case possible.


Regards,
Prateek

Re: Self healing of specific services.

Posted: Thu Dec 22, 2016 2:09 pm
by rkennedy
For Nagios, we call it event handlers, which can be triggered after a certain state. See this document for more information about them - https://assets.nagios.com/downloads/nag ... ios-XI.pdf

This document serves a good example on how to do so with Windows (restart a service when it goes down for example) - https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: Self healing of specific services.

Posted: Wed Jan 04, 2017 8:17 am
by prateekagr1988
Do you happen to have a bit simpler reference info for event handlers?
I basically would like to understand how to automatically start a weblogic server once it's down, via Nagios XI.

Re: Self healing of specific services.

Posted: Wed Jan 04, 2017 11:29 am
by tmcdonald
Both of the referenced documents contain example code for event handlers, so we can't get much more specific without writing yours for you. If you have questions about event handlers we can definitely assist you, but our documentation is fairly thorough and should explain everything.

Re: Self healing of specific services.

Posted: Wed Jan 04, 2017 11:37 am
by dwhitfield
Additionally, that document mentions:
This document assumes that Nagios XI is installed and a few hosts and services are setup. Additionally, knowledge of the Core Config Manager (CCM) and an understanding of the general Nagios XI workflow will help as well.
So, I'm not sure how basic we need to start with the XI workflow, but you might want to look at https://www.nagios.com/events/webinars/ ... nagios-xi/

Please let us know if you have specific questions.