Page 1 of 1

API Object modification

Posted: Sun Sep 10, 2017 2:58 pm
by eltrasimaco
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

Re: API Object modification

Posted: Mon Sep 11, 2017 8:58 am
by scottwilkerson
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"

Re: API Object modification

Posted: Tue Sep 12, 2017 7:17 am
by eltrasimaco
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"

Re: API Object modification

Posted: Tue Sep 12, 2017 8:21 am
by scottwilkerson
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"
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.

Re: API Object modification

Posted: Wed Sep 13, 2017 2:25 am
by eltrasimaco
OK, will wait for that feature then
Thanks!