Page 1 of 1

why alart for only horiday

Posted: Mon Feb 06, 2012 8:53 am
by kalenyuna
Hi, Everyone

I have so question.
My company is so nagios server in linux.
holiday only many alarat!! why?
a settings confirm noproblems.
also nagios setting ? or connection provide problems?

please teach me.

Re: why alart for only horiday

Posted: Mon Feb 06, 2012 11:10 am
by SDohmen
It sounds to me that you have your contact set to respond to only holiday hours instead of the normal 24x7.

Look for your timeperiods file and confirm the excistence of the part below:

Code: Select all

define timeperiod{
        timeperiod_name 24x7
        alias           24 Hours A Day, 7 Days A Week
        sunday          00:00-24:00
        monday          00:00-24:00
        tuesday         00:00-24:00
        wednesday       00:00-24:00
        thursday        00:00-24:00
        friday          00:00-24:00
        saturday        00:00-24:00
        }
Now edit your contacts file and make sure the 2 lines below are the same:

Code: Select all

        service_notification_period     24x7
        host_notification_period        24x7
This makes sure you always get the notifications. If this is not what you mean add some more information about your problem.