We have Nagios3 set up running on Debian machines and currently we have two contacts in contacts_nagios2.cfg. Both of the contacts are listed under members of our admins contactgroup. What I am trying to do is separate these contacts out, so one of the contacts only gets some alerts and the other contact receives all of the alerts still. What process do I need to take to make this possible.
Thanks
Nagios Contacts email notifications
-
brianbelden
- Posts: 20
- Joined: Thu Jul 20, 2017 2:48 pm
Re: Nagios Contacts email notifications
Currently in services_nagios2.cfg all of the services have a command use generic-service and under generic-service_nagios2.cfg there is a command contact_groups admins set. Do I need to set the contact_groups command in the services_nagios2.cfg file?
-
kyang
Re: Nagios Contacts email notifications
Hi @brianbelden,
Have you taken a look at this documentation on Object definitions for defining contacts?
This will allow you to contact a specific admin based on host/service options (the state of your host/service - UP, DOWN, etc)
https://assets.nagios.com/downloads/nag ... ml#contact
Also, do you have an MTA installed on your Debian machines?
Here is another forum that is similar to this topic.
https://support.nagios.com/forum/viewto ... =7&t=33610
Does this help at all? If not a Nagios Admin will help.
Have you taken a look at this documentation on Object definitions for defining contacts?
This will allow you to contact a specific admin based on host/service options (the state of your host/service - UP, DOWN, etc)
https://assets.nagios.com/downloads/nag ... ml#contact
Also, do you have an MTA installed on your Debian machines?
Here is another forum that is similar to this topic.
https://support.nagios.com/forum/viewto ... =7&t=33610
Does this help at all? If not a Nagios Admin will help.
Re: Nagios Contacts email notifications
Thanks for the assist, @kyang! OP, let us know if you need further assistance.
Former Nagios employee