how to add notification for many service one time

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sacom01
Posts: 194
Joined: Wed Dec 23, 2020 10:15 pm

how to add notification for many service one time

Post by sacom01 »

hi,
i have thousand services run on nagios xi, i want to add notify for all services but unable to do this one by one.
how can do fastest?
thanks.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: how to add notification for many service one time

Post by vtrac »

Hi,
Good afternoon!! ... :-)

If you have the enterprise version:
Nagios Xi GUI -> Configure -> Core Config Manager (CCM) -> Bulk Modifications Tool
Select "Change a single config option"
Select the item you want to change
Select hosts/services to change it on
Save changes
Apply configuration


Best Regards,
Vinh
sacom01
Posts: 194
Joined: Wed Dec 23, 2020 10:15 pm

Re: how to add notification for many service one time

Post by sacom01 »

hi Vinh,
i want add notification for all services.
so should choose "Notification option" right?
how ab Hosts and Services which i blend yellow, what is this?
You do not have the required permissions to view the files attached to this post.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: how to add notification for many service one time

Post by vtrac »

Good morning Hang ... :-)
How are you doing?

Here's the KB for object definitions:
https://assets.nagios.com/downloads/nag ... tions.html

Here's the definition for "Host" notifications:
d = send notifications on a DOWN state,
u = send notifications on an UNREACHABLE state,
r = send notifications on recoveries (OK state),
f = send notifications when the host starts and stops flapping,
s = send notifications when scheduled downtime starts and ends.

Here's the definition for "Service" notifications:
w = send notifications on a WARNING state,
u = send notifications on an UNKNOWN state,
c = send notifications on a CRITICAL state,
r = send notifications on recoveries (OK state),
f = send notifications when the service starts and stops flapping,
s = send notifications when scheduled downtime starts and ends.

So, you would select what type of notification you want by clicking on those symbols.

Hope this helps!! ... :-)


Best Regards,
Vinh
sacom01
Posts: 194
Joined: Wed Dec 23, 2020 10:15 pm

Re: how to add notification for many service one time

Post by sacom01 »

hi Vinh,
Thanks for your respone.
I tried do :
Nagios Xi GUI -> Configure -> Core Config Manager (CCM) -> Bulk Modifications Tool
Select "Change a single config option"
Select the item you want to change
Select hosts/services to change it on
choose :
w = send notifications on a WARNING state,
u = send notifications on an UNKNOWN state,
c = send notifications on a CRITICAL state,
then save.

Then go to config service for check but "Send alert notifications to" is empty, i want it have to send email and ping to my MS.teams (already setup noti via ms.teams).
Dont know my action on Bulk Modifications Tool will do what?
You do not have the required permissions to view the files attached to this post.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: how to add notification for many service one time

Post by vtrac »

Hi Hang,
How are you doing?
I tried it on my VM and it worked fine.
Did you select the host or service and also do "Apply Configuration" after?

Here's what I did with "notification options":
W3.png
W2.png
W1.png

Best Regards,
Vinh
You do not have the required permissions to view the files attached to this post.
sacom01
Posts: 194
Joined: Wed Dec 23, 2020 10:15 pm

Re: how to add notification for many service one time

Post by sacom01 »

hi Vinh,
how are you?
i got your guide, but when we do that, nowhere we can choose alert chanel, e.g email or MS.Teams or SMS....?
how can we choose that and apply for all services?

as we did, i just saw it will notify when have Critical/Warning/Unknow but dont know the chanel.
thank you.
You do not have the required permissions to view the files attached to this post.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: how to add notification for many service one time

Post by vtrac »

Hi Hang,
How are you doing?
Let see if I understand what you want to do.
You would like to add "contact(s)" for notifications .... right?

In that case, you first create a contact group, let call it "xi_contactgroup_all".
Add as many people as you like to that "xi_contactgroup_all" and save it.

Once done, Use "Bulk Modification Tools" > "Add Contact Group"
Select "xi_contactgroup_all" > "Select Services"
Now, save your change and remember to do "Apply Configuration"
F1.png
Now, alerts (notifications) will also be sent out to everyone in that "xi_contactgroup_all" group.


Best Regards,
Vinh
You do not have the required permissions to view the files attached to this post.
sacom01
Posts: 194
Joined: Wed Dec 23, 2020 10:15 pm

Re: how to add notification for many service one time

Post by sacom01 »

hi Vinh,
i did it.
Pls close the topic. Thanks so much Vinh.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: how to add notification for many service one time

Post by benjaminsmith »

Pls close the topic. Thanks so much Vinh.
Great. We'll close this out. Thanks for the update.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked