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
Nagios xi external command
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios xi external command
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:ADD_SVC_COMMENT --> updates the comment only on the specific service. please advice how can we add comment on all the services.
Yes.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
-
inas.labib
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Re: Nagios xi external command
Thanks for the update
-
kyang
Re: Nagios xi external command
Did you have any more questions or are we okay to close this topic?
-
inas.labib
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Re: Nagios xi external command
Please close. Thanks
-
kyang
Re: Nagios xi external command
Sounds great!
If you have any more questions, feel free to create another thread!
Thank you for using the Nagios Support Forums!
If you have any more questions, feel free to create another thread!
Thank you for using the Nagios Support Forums!