Is there a direct way to add a new contact to a host and its services notification directly?
Now, if I have a defined host with its services and I want to add a new contact to the notification list, the only thing I do I add this contact manually to each service one by one. which is not practical.
thanks.
Add new Contact person to (host and its sevices) notificatio
Re: Add new Contact person to (host and its sevices) notific
What you can do is use the Bulk Modifications Tool to quickly add contacts to services. It's under Config (top menu) => Tools (left) > Bulk Modifications Tool.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Add new Contact person to (host and its sevices) notific
Thank you for your reply,
this feature is only availbale via the Enterprise Edition of Nagios.
this feature is only availbale via the Enterprise Edition of Nagios.
Re: Add new Contact person to (host and its sevices) notific
You can use a contact group. Create a new contact group thru the Core Config Manager, add all your contacts to it, then associate that group with the services you want to notify on.
This enables adding/removing from that group (instead of each host or service object).
This enables adding/removing from that group (instead of each host or service object).
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Add new Contact person to (host and its sevices) notific
Actually, still, it is not clear since this is not what I mean.
the Actual situation is as follows:
1- we have host1 which runs multiple services.
2- we have host2 which runs multiple services.
I defined new contact, and I want this contact to be notified by all host1 and its services notifications.
so, is there a way to add this contact directly to host1 and its services directly, rather than adding it manually service by service?
the Actual situation is as follows:
1- we have host1 which runs multiple services.
2- we have host2 which runs multiple services.
I defined new contact, and I want this contact to be notified by all host1 and its services notifications.
so, is there a way to add this contact directly to host1 and its services directly, rather than adding it manually service by service?
Re: Add new Contact person to (host and its sevices) notific
If you're looking for fine grained control such that you can attach a user ONCE per host and they'll get notifications for a host and all its services, then you'll want to use a contact group organization like this:fsodah wrote:is there a way to add this contact directly to host1 and its services directly, rather than adding it manually service by service?
In this example, Alice is added to host1cg, Bob is added to BOTH host1cg and host2cg, and Cindy is only a member of host2cg.
Alice gets alerts for host1 and all its services, Cindy only gets host2's, and Bob gets both. It takes some setup since you have to go in an manually associate host1cg to host1 and each of its services, but this would allow for the fine-grained control you're talking about.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Add new Contact person to (host and its sevices) notific
Thanks dchurch for your reply,
Actually, I tried to simulate what you just said in the example as follows:
1- Two hosts are defined with multiple services ( Host1 and Host2).
2- I have contact1 defined from the beginning and added to Host1 and Host2 and he gets the notifications from the two hosts and their services.
3- I defined a new contact "Contact2", and i added him to Host1 notification from the GUI ( Host1 (configfure) ->Re-configure this host -> Notifications ->" checked Contact2 " -> Update.
it is successfully added to Host1 Notification, But when I checked one of the services of Host1 notifications I found Conatct2 is not chosen, only Contact1 is chosen.
Actually, I tried to simulate what you just said in the example as follows:
1- Two hosts are defined with multiple services ( Host1 and Host2).
2- I have contact1 defined from the beginning and added to Host1 and Host2 and he gets the notifications from the two hosts and their services.
3- I defined a new contact "Contact2", and i added him to Host1 notification from the GUI ( Host1 (configfure) ->Re-configure this host -> Notifications ->" checked Contact2 " -> Update.
it is successfully added to Host1 Notification, But when I checked one of the services of Host1 notifications I found Conatct2 is not chosen, only Contact1 is chosen.
Re: Add new Contact person to (host and its sevices) notific
You have to add the contact group to the host, not the individual contact. In fact, remove all individual contacts for the hosts and services, and just add the contact group. E.g. Host1 and all its services would have 0 contacts, and 1 contact group (Host1 Contact Group).
Then once that's all in-place, ONLY modify the contact groups in order to change notification preferences.
Don't add Contact1 to anything but Host1 Contact Group.
Then once that's all in-place, ONLY modify the contact groups in order to change notification preferences.
Don't add Contact1 to anything but Host1 Contact Group.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Add new Contact person to (host and its sevices) notific
Thank you for your reply,
i did not work like what we want, it seems the best solution is Enterprise Edition of Nagios
i did not work like what we want, it seems the best solution is Enterprise Edition of Nagios