Stopping Nagios for a period of time

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kalianto
Posts: 7
Joined: Sun Apr 28, 2013 11:29 pm

Stopping Nagios for a period of time

Post by kalianto »

Hi all,

As you can see, I am a noob and recently developed interest in Nagios.
I have found many helpful answers from this forum.
I do have a quick question, hope all the experts here can shed some light.

What is likely to happen if I shut down Nagios process for a long period of time, says, 2 days, for argument sake, then power it back on?
Is Nagios going to pick up where it left/before the shutdown, will it affect any history, service checks or anything at all?

Thanks for your answers :)
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Stopping Nagios for a period of time

Post by slansing »

If you were to stop the service's nagios requires, and then stop Nagios and safely shut down the server you should be fine, this will, in effect pause monitoring at it's current state. Something you may want to check after you bring it back up would be the system and php time, just to ensure that they are still aligned.
kalianto
Posts: 7
Joined: Sun Apr 28, 2013 11:29 pm

Re: Stopping Nagios for a period of time

Post by kalianto »

thanks slansing.
Your answer has been very helpful.

I recall that in the past I manually set the date of the server and nagios complained about it and all test results are not aligned.
In my case, I have to remove all tests, recreate and recompile configuration file and restart nagios.

Cheers
Locked