Hello,
I would like to update / change threshold value for particular service check on different server (but with same check_command value)?
I don't find an option in bulk modification. Please let me know if there is an option to get it done.
Here is the scenario:
We have C:\ drive service check across windows environment with same check_command value.
check_command check_xi_service_nsclient!nsclientpassw0rdabc!USEDDISKSPACE!-l C -w 80 -c 95!!!!!
I would like to change -w 80 -c 95 to -w 90 -c 98 across all windows servers in bulk. Is it possible?
update check_command value in bulk
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: update check_command value in bulk
Unfortunately there is no way to make this change en masse. You could however, hardcode the check command to have those values, that would get you part of the way there, but remove the flexibility of using an argument to define specific values on that check_command.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: update check_command value in bulk
To offer an alternate solution, perhaps now might be an opportune time to use a common service that is assigned to a hostgroup.
This way you only need to update the service once and all the hosts get the updated service.
This way you only need to update the service once and all the hosts get the updated service.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.