Adding Existing Hosts to Existing Host Groups
Posted: Thu Jun 27, 2019 12:13 pm
How can I use the API to add existing hosts to existing host groups?
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
curl -XPUT "http://<ip-address>/nagiosxi/api/v1/config/hostgroup/test-group?apikey=<your api key>&pretty=1&members=host1,host2&applyconfig=1"