Page 1 of 1

Nagios xi external command

Posted: Tue Sep 26, 2017 8:33 am
by inas.labib
Hi Team ,

Currently we use Nagios xi version 5.2.2
We are testing nagios external commands to disable/enable notifications since we get bulk requests.

ADD_SVC_COMMENT --> updates the comment only on the specific service. please advice how can we add comment on all the services.

Also please advice whether we can use the DISABLE_HOST_NOTIFICATIONS , DISABLE_HOST_SVC_NOTIFICATIONS in bash script for bulk number of hosts/services or not

Re: Nagios xi external command

Posted: Tue Sep 26, 2017 9:02 am
by scottwilkerson
inas.labib wrote:ADD_SVC_COMMENT --> updates the comment only on the specific service. please advice how can we add comment on all the services.
This is not possible because you need to specify the host and service_description for each, however you can call these from a script and do it programatically.
inas.labib wrote:Also please advice whether we can use the DISABLE_HOST_NOTIFICATIONS , DISABLE_HOST_SVC_NOTIFICATIONS in bash script for bulk number of hosts/services or not
Yes.

Re: Nagios xi external command

Posted: Thu Sep 28, 2017 5:49 am
by inas.labib
Thanks for the update

Re: Nagios xi external command

Posted: Thu Sep 28, 2017 9:02 am
by kyang
Did you have any more questions or are we okay to close this topic?

Re: Nagios xi external command

Posted: Sun Oct 01, 2017 10:11 am
by inas.labib
Please close. Thanks

Re: Nagios xi external command

Posted: Mon Oct 02, 2017 8:57 am
by kyang
Sounds great!

If you have any more questions, feel free to create another thread!

Thank you for using the Nagios Support Forums!