LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Thread Tools
Old 06-19-2008, 08:36 PM   #1
nuganen
LQ Newbie
 
Registered: Nov 2006
Posts: 6
Thanked: 0
Nagios notifications


[Log in to get rid of this advertisement]
Hey guys
At the moment i got nagios to notify when a host is down at every hour however i want to change it to so it just notify once its down once and then when its backup again
in the documentation it said to change 'notification_interval' to '0' and this will do that but it doesnt it notifies me every 30 minutes instead is there anywhere else that could control the 'notification_interval'

belwo is the 'windows.cfg' file where all my windows server host

define service{
use generic-service ; Inherit values from a template
host_name Server1, Server2, Server3 ; The name of the host the service is associated with
service_description ; The service description
check_command check_ping!200.0,20%!600.0,60% ; The command used to monitor the service
normal_check_interval 5 ; Check the service every 5 minutes under normal conditions
retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined
check_period 24x7
notification_interval 0
notification_period 24x7
notification_options w,c,r
contact_groups admins
}


thanks
Huy

Last edited by nuganen; 06-19-2008 at 08:41 PM..
nuganen is offline     Reply With Quote
Old 06-20-2008, 03:13 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :}
Posts: 18,850
Blog Entries: 1
Thanked: 160
I've split your post out of the unrelated thread.
Tinkster is online now     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nagios & SMS notifications. mastrboy Linux - Software 2 01-23-2009 10:48 AM
E-mail notifications not working with nagios hondo Linux - Server 3 10-28-2007 01:42 PM
Nagios Daemon, PID not found but rc.nagios runs agentc0re Slackware 1 07-03-2007 03:47 PM
LXer: Nagios 2.5 and Oreon 1.3 (Nagios web front end) installation with screenshots LXer Syndicated Linux News 0 08-11-2006 06:33 PM
LXer: Nagios and Oreon (Nagios web front end) installation and Configuration LXer Syndicated Linux News 0 07-18-2006 09:33 PM


All times are GMT -5. The time now is 06:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration