Use the API to change threshold one or more services
Posted: Mon Apr 26, 2021 10:30 am
Hi all,
We currently run NagiosXI v5.7.3.
with the API backend it seems you can do lots of interesting things.
At present we sometimes use to apply config, for example:
Was wondering if the API method can be used to update a threshold for one service or services.
Is that possible and can you supply an example in order to achieve that?
Rgds,
We currently run NagiosXI v5.7.3.
with the API backend it seems you can do lots of interesting things.
At present we sometimes use to apply config, for example:
Code: Select all
curl -XPOST "http://<NagiosxiIP>/nagiosxi/api/v1/system/applyconfig?apikey=XXXXXXXXXXXXX"
{"success":"Apply config command has been sent to the backend."}Is that possible and can you supply an example in order to achieve that?
Rgds,