Hi,
I want to change the check_period value in a list of services; how can I accomplish this? in the API docs, I only see "add" and "remove" objects, not modify; maybe getting values, deleting,replacing values and writing? any example around for this?
Thanks
API Object modification
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: API Object modification
The easiest way to to change multile at the same time is to use the Bulk Host Modification tool
Configure -> Core Config Manager -> Tools -> Bulk Modifications Tool
You will choose " Change a Single Config Option"
Configure -> Core Config Manager -> Tools -> Bulk Modifications Tool
You will choose " Change a Single Config Option"
-
eltrasimaco
- Posts: 75
- Joined: Thu Aug 02, 2012 7:15 am
Re: API Object modification
Thanks, but the aim was trying to learn how can things be done with the API; the question is "how can I change a host/service value by API Means"
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: API Object modification
Got it. Yes you are correct this isn't available currently, however it is being developed already for a future release. I unfortunately do not have the timing of when this will be available.eltrasimaco wrote:Thanks, but the aim was trying to learn how can things be done with the API; the question is "how can I change a host/service value by API Means"
-
eltrasimaco
- Posts: 75
- Joined: Thu Aug 02, 2012 7:15 am
Re: API Object modification
OK, will wait for that feature then
Thanks!
Thanks!