add new contacts/alert without bulk notification

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
liangwh
Posts: 23
Joined: Mon Mar 31, 2014 12:14 am

add new contacts/alert without bulk notification

Post by liangwh »

Hi I am using xi standard and there is no bulk modification.
I have been using xi wizard to add servicescheck ~ 600 checks.
Is there anyway i can add contacts to all these checks? without using the bulk modification.
i have not been using contacts group, just contacts.
Or is there any legit way i can use command line to edit nagioscore file to modify XI?

Thanks
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: add new contacts/alert without bulk notification

Post by rkennedy »

Using the API would overwrite the service, and pushing to an existing host / service would be difficult since it's already created.

The wizards usually utilize a template - were all of these services unique in any way that would allow you to assign the contact on the template level?

There should be a 60 day enterprise trial license included with XI that may help, have you used this already?
Former Nagios Employee
liangwh
Posts: 23
Joined: Mon Mar 31, 2014 12:14 am

Re: add new contacts/alert without bulk notification

Post by liangwh »

Hi , Thanks for your reply.
Yes, I have use 60days to remove all contacts and add a contactgroups to all services.
However, when the 60days expired, and the enduser wanted to add a new contactgroups to specific 400 checks, so how do i do that?
If there is a way to modify the config files like using sed would be fine for me.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: add new contacts/alert without bulk notification

Post by rkennedy »

Unfortunately, there isn't much of a way other then the bulk import tool. A sed will work on files, but the variables are stored in SQL.
Former Nagios Employee
Locked