ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yusaku Sako <>
Subject Re: configure additional contacts in Nagios
Date Wed, 26 Nov 2014 00:45:32 GMT
This isn't directly supported via the Ambari Web UI, but you can modify the
following template on the Ambari Server host:

1) Add customized contact
It should look something like:

define contact {
        contact_name    mycontact                                        ;
Short name of user
        use             generic-contact
        ; Inherit default values from generic-contact template (defined
        alias           Nagios Admin
         ; Full name of user
        email      ; <--- CHANGE THIS TO YOUR

define contactgroup {
        contactgroup_name       admins
        alias                   Nagios Administrators
        members                 nagiosadmin,sys_logger,mycontact  <-- ADD

2) Restart ambari-server and restart Nagios from Ambari Web
3) Verify that /etc/nagios/objects/contacts.cfg on the Nagios Server host
has the updated info. for more info
on configuring contacts.

BTW, upcoming Ambari 2.0 will introduce a flexible alerting system,
including multiple notification targets and a fine-grained control of who
receives what type of alerts for which severities, etc (this is partially
working in trunk, though a lot of it is still WIP).


On Thu, Nov 20, 2014 at 7:50 AM, Artem Ervits <> wrote:

>  Hello,
> I’m trying to add additional contacts to Nagios and I can’t seem to find a
> way to do so. Is that supported?
> Artem Ervits
> New York Presbyterian
> This electronic message is intended to be for the use only of the named
> recipient, and may contain information that is confidential or privileged.
> If you are not the intended recipient, you are hereby notified that any
> disclosure, copying, distribution or use of the contents of this message is
> strictly prohibited. If you have received this message in error or are not
> the named recipient, please notify us immediately by contacting the sender
> at the electronic mail address noted above, and delete and destroy all
> copies of this message. Thank you.

NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

View raw message