Page 1 of 1

add new contacts/alert without bulk notification

Posted: Tue Nov 15, 2016 3:24 am
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

Re: add new contacts/alert without bulk notification

Posted: Tue Nov 15, 2016 11:34 am
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?

Re: add new contacts/alert without bulk notification

Posted: Tue Nov 15, 2016 11:34 pm
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.

Re: add new contacts/alert without bulk notification

Posted: Wed Nov 16, 2016 11:17 am
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.