Hi
I would like to know if there is a way to modify host and services from the command line instead of the GUI.
I want to make at least 3 or 4 different settings in all my windows servers, and I want to be able to do it from the CLI instead of bulk changes.
Question - Change host settings from CLI
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Question - Change host settings from CLI
Using the API in XI 5 you can target objects that already exist and they will get updated.
However you can't just change one value, you need to "define the whole object" for it to work.
However you can't just change one value, you need to "define the whole object" for it to work.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Question - Change host settings from CLI
what about in XI 2014?
Re: Question - Change host settings from CLI
The API was introduced in XI 5 and we do not have a supported way of doing this in prior versions.
Former Nagios employee
Re: Question - Change host settings from CLI
thanks, you can close this ticket