Hello --

We are running Icinga 1.6.1, and one of the configuration files being used is 
the contactgroups.cfg file. This file was originally on a
Nagios 3.3.1 system, and was brought in to maintain the same notification 
scheme on the new server. An excerpt of the file is
shown below:

# 'nt-admins' contact group definition
define contactgroup{
        contactgroup_name       nt-admins
        alias                   NT Administrators
        members                 icingaadmin,bil
        }


# 'linux-admins' contact group definition
define contactgroup{
        contactgroup_name       linux-admins
        alias                   Linux Administrators
        members                 icingaadmin,cjm
        }


# 'admins' contact group definition
# define contactgroup{
#       contactgroup_name       admins
#       alias                   Nagios Administrators
#       members                 icingaadmin,bil,cjm
#       }

The current configuration has a separate recipient for the linux and windows 
systems. The thinking is now to have both current
and future administrators get notifications for all alerts. To that end, a 
revised version of the file that is being planned is the following:

# 'nt-admins' contact group definition
define contactgroup{
        contactgroup_name       nt-admins
        alias                   NT Administrators
        members                 icingaadmin,bil
        }


# 'linux-admins' contact group definition
define contactgroup{
        contactgroup_name       linux-admins
        alias                   Linux Administrators
        members                 icingaadmin,cjm
        }


# 'admins' contact group definition
define contactgroup{
        contactgroup_name       admins
        alias                   Nagios Administrators
        members                 icingaadmin,nt-admins,linux-admins
        }

The hosts would all be reconfigured so the contact_groups value will read 
admins as opposed to the other two groups. The question
that I had was the following:

1. Would the revised syntax work in the contactgroups.cfg file?
2. Do I need to comment out the linux-admins and nt-admins groups in that same 
file?

Thanks.




The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to