Page 1 of 1

NagiosXi - Update thresholds for multiple servers

Posted: Thu Nov 26, 2020 12:15 pm
by Bala.Mutyam
Hi,

In XI is there an options to update service check thresholds for multiple servers at a time? We have added checks using Configuration Wizard: Bulk Host Cloning and Import.

It seems to be not possible with the Bulk Modifications Tool.

Thanks
Bala

Re: NagiosXi - Update thresholds for multiple servers

Posted: Sat Nov 28, 2020 7:20 pm
by Rfferrao13
Bala.Mutyam wrote: It seems to be not possible with the Bulk Modifications Tool.
Have you considered trying Change Command and Arguments in Bulk Modifications Tool?

Re: NagiosXi - Update thresholds for multiple servers

Posted: Mon Nov 30, 2020 9:54 am
by Bala.Mutyam
I have tried but did seem to be working.

Re: NagiosXi - Update thresholds for multiple servers

Posted: Mon Nov 30, 2020 10:32 am
by Bala.Mutyam
Here are the thresholds i'm trying to modify:


/usr/local/nagios/libexec/check_ncpa.py -H host_name -t 'token' -P 5693 -M user/count -w 2 -c 4

Re: NagiosXi - Update thresholds for multiple servers

Posted: Mon Nov 30, 2020 4:11 pm
by benjaminsmith
Hi @Bala.Mutyam,

As mentioned by Rfferrao13, you can use the Bulk Mods Tool to update the argument for that check command across multiple servers.

The only catch is that it will write over the whole argument field (e.g $ARG1$) if you are using the same token that should not be an issue.

Let me know if you have any questions.

Benjamin