Getting problem with downtimes are disappearing somtimes


#1

I am really facing problem with downtimes. somtimes all downtimes for hosts are disappering and sending notifications. it is really pain to enter downtime again. is there any way to resolve this issue.


#2

Are you restarting nagios and then you lose comments, downtime, etc or perhaps you have more than one nagios running?
/etc/rc.d/init.d/nagios stop
then make absolutely sure they are all stoppped.
ps -ef|grep nagios
then start it up, make your downtime settings, and you should be good till the next reset.


#3

when i restart server downtimes are disappearing


#4

Restarting the server or just nagios.
If you are restarting the server, then use a cronjob to take care of your scheduled downtime needs.
nagiosexchange.org/Downtimes.38.0.html
I use Sched Downtime via cron