LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 12-14-2011, 03:07 AM   #1
vickyk
Member
 
Registered: Dec 2009
Posts: 38

Rep: Reputation: 6
Defining separate contact for a single service in Nagios


Hello,

We are monitoring a server for many services. All alerts are going to xyz@xyz.xom.

But for a particular service (ex: log alert) I want the mail to go to abc@abc.com and also xyz@xyz.com.

For this I added the new contact xyz@xyz.com in the service definition (I ofcourse defined the contact in contacts.cfg)of log which is already inheriting values of the generic service template which has contact person as abc@abc.com.

define service {
use generic-service
contact_groups contactlog
host_name ServerOne
service_description Logfiles
is_volatile 1
check_command check_winlog
}

So generic-service has contact email as abc@abc.com and contactlog is xyz@xyz.com.

Will this setup work ?
 
  


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
Nagios Web Interface does not notify when nagios service is killed! learnerAlways Linux - Newbie 1 11-04-2011 12:23 AM
LDAP Address Book:Multiple email entry for single contact prayag_pjs Linux - Newbie 5 09-17-2009 04:18 AM
Nagios + More granular contact groups bell.colin Linux - Networking 1 03-03-2006 08:31 AM
hplip - Exception: 96 (Unable to contact service) deleted/ Linux - Newbie 2 01-17-2006 02:46 PM
input single integer value, output the value as separate digits hubabuba Programming 2 03-02-2005 10:42 AM


All times are GMT -5. The time now is 11:27 PM.

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