Nagios xi external command

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Nagios xi external command

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios xi external command

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: Nagios xi external command

Post by inas.labib »

Thanks for the update
kyang

Re: Nagios xi external command

Post by kyang »

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

Post by inas.labib »

Please close. Thanks
kyang

Re: Nagios xi external command

Post by kyang »

Sounds great!

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

Thank you for using the Nagios Support Forums!
Locked