LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux 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
  Search this Thread
Old 01-22-2014, 10:11 PM   #1
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Rep: Reputation: Disabled
Change notification


I use nagios to monitor the server , I have added 50 servers to it and I receive alert notification frequently , I would advise the following , would advise how to change it ? thanks in advance.

1) change to receive the notification one time only rather than get the notification each time when Nagios found any error ;

2) I would like to get the notification of a specific servers out of these 50 servers ( not from all servers)
 
Old 01-22-2014, 11:37 PM   #2
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

Rep: Reputation: 135Reputation: 135
Hi Byran.

For case 1. You can reduce the frequency the notification period by increasing the notification interval. Or you create a new time period for sending notification on particular time only.

For case2. You have to create a new host template with a contact/contact group. Then use the same host template name in the host definations. And remove the generic host template from all the host defination OR remove the contact/contact group from the generic host template.

There are lot of ways to do these.

The below links may help you.

http://nagios.sourceforge.net/docs/3...ions.html#host
http://nagios.sourceforge.net/docs/3_0/escalations.html
http://nagios.sourceforge.net/docs/3...lrotation.html

Last edited by divyashree; 01-22-2014 at 11:39 PM.
 
Old 01-24-2014, 04:13 AM   #3
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by divyashree View Post
Hi Byran.

For case 1. You can reduce the frequency the notification period by increasing the notification interval. Or you create a new time period for sending notification on particular time only.

For case2. You have to create a new host template with a contact/contact group. Then use the same host template name in the host definations. And remove the generic host template from all the host defination OR remove the contact/contact group from the generic host template.

There are lot of ways to do these.

The below links may help you.

http://nagios.sourceforge.net/docs/3...ions.html#host
http://nagios.sourceforge.net/docs/3_0/escalations.html
http://nagios.sourceforge.net/docs/3...lrotation.html
thanks your reply ,

for question 1 , what I would like to do is not change the interval , I just would like to send the same alert one time only , rather than repeatly send the same alert mail , what advise what can i do ? thanks
 
Old 01-24-2014, 08:37 AM   #4
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by byran cheung View Post
thanks your reply ,

for question 1 , what I would like to do is not change the interval , I just would like to send the same alert one time only , rather than repeatly send the same alert mail , what advise what can i do ? thanks
I think that you cant do that in nagios. You have to use external script or external tool for getting notification.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
file change notification usman.mughall Linux - Security 10 01-19-2010 07:47 PM
Change notification defaults... custangro LQ Suggestions & Feedback 2 05-23-2007 02:44 PM
resolution change notification event?? pndhana Linux - General 2 09-22-2002 06:18 PM
event notification for resolution change?? pndhana General 6 09-22-2002 06:10 PM
event notification for resolution change?? pndhana Linux - Newbie 1 09-22-2002 06:04 AM


All times are GMT -5. The time now is 06:49 AM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration