LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-08-2012, 01:23 PM   #1
Ceefus
LQ Newbie
 
Registered: Oct 2012
Posts: 6

Rep: Reputation: Disabled
Nagios contact_groups


Hello,

I am running Nagios Core 3.2.1 on CentOS 6.2 x86.

I have nearly 500 hosts being monitored ranging from desktops to firewalls to phone switches.

Right now I am having a problem isolating certain contact groups. For example I would like all of the phone system alerts to only go to the phone system admins. It does not make sense for my Windows or Linux admins to get alerts for a system they cannot work on.

I setup a contact group for the phone admins with only their specific accounts and changed the host config as well as the service configs to reflect:

contact_group Telco

I then restarted the Nagios service, but all users are still getting the alerts for this system.

Am I missing a top level config somewhere?

Thanks in advance!
 
Old 10-08-2012, 01:51 PM   #2
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 3,067
Blog Entries: 4

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
http://nagios.sourceforge.net/docs/3_0/toc.html for troubleshooting tips
 
Old 10-08-2012, 02:00 PM   #3
Ceefus
LQ Newbie
 
Registered: Oct 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks Habitual, I looked through the guide but I didn't see anything with regard to this particular issue. It looks like all users were using the 'generic-contact.cfg.' I created a new config for only those users.

Hopefully that will resolve the issue.
 
Old 10-08-2012, 02:34 PM   #4
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 3,067
Blog Entries: 4

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
"contacts" and "contact_groups" can be defined anywhere in
Host definitions
Host group definitions
Service definitions
Service group definitions
Contact definitions
Contact group definitions

This discusses Object Inheritance in Nagios

They can be overridden so reading that really is a good idea.

Please let us know...

Last edited by Habitual; 10-09-2012 at 08:40 AM. Reason: I kan haz "good"?
 
Old 10-08-2012, 03:38 PM   #5
Ceefus
LQ Newbie
 
Registered: Oct 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I believe it was an inherited template. I will let you know tomorrow morning if all went as planned.

Thanks so much for your help.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ould not create external command file '/usr/local/nagios/var/rw/nagios.cmd gerard.zapata Linux - Newbie 2 09-14-2012 01:57 PM
i am unable to monitor or connect remote linux server uning nagios 3.3 on nagios linn nandunay Linux - Server 2 05-09-2012 04:56 AM
LXer: April Nagios Training Dates Include Advanced Nagios Class LXer Syndicated Linux News 0 03-18-2011 09:30 AM
LXer: Nagios 2.5 and Oreon 1.3 (Nagios web front end) installation with screenshots LXer Syndicated Linux News 0 08-11-2006 05:33 PM
LXer: Nagios and Oreon (Nagios web front end) installation and Configuration LXer Syndicated Linux News 0 07-18-2006 08:33 PM


All times are GMT -5. The time now is 11:51 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration