Contacts and notifications - services
Ugo Bellavance
ugob at lubik.ca
Thu Jan 29 21:11:25 CET 2009
Mathieu Gagné a écrit :
> Hi,
>
> Ugo Bellavance wrote:
>> Hi,
>>
>> We've been using nagios for a long while, but only needed one group.
>> However, we now want to add a "DBA" contact group, so that the database
>> administrators get notfications by e-mail if something goes wrong, but
>> only on database servers.
>>
>> I've created the contacts, the contactgroup (dbas), and added 'dbas' in
>> the host definitions of the database servers, but the dbas don't get any
>> notifications when there is a service problem with a DB server. I
>> looked at my services and all of them are configured with 'sysadmins' as
>> contact_groups. The problem is that many of my tests are done on many
>> servers, including DB and non-DB servers. For example, I check the load
>> average on all my servers, but I only want the DBAs to receive e-mails
>> when the load is too high on a database server, not on all.
>>
>> Running Nagios 2.12. Will consider upgrading to 3.x if needed.
>
> Why don't you add the contactgroup "dbas" and remove "sysadmins" from
> the "load" service definition for all database servers?
Because the load service is defined for all my linux servers. If I
remove sysadmin from the "load" service definition, I won't receive
notifications for my proxy server, my backup server, etc...
I hope I won't have to duplicate all of my common tests...
Thanks,
Ugo
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list