why alart for only horiday

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
kalenyuna
Posts: 1
Joined: Mon Feb 06, 2012 8:47 am

why alart for only horiday

Post 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.
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: why alart for only horiday

Post 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.
Locked