Hostgroup hosts REST API
Posted: Mon Oct 16, 2017 2:37 am
Hello
How can I can get all hosts from specific hostgroup using REST API
How can I can get all hosts from specific hostgroup using REST API
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
http://<>YOUR SERVER IP/nagiosxi/backend/?cmd=gethostgroups&username=nagiosadmin&ticket=uiV5saH2
Code: Select all
<hostgrouplist>
<recordcount>1</recordcount>
<hostgroup id="144">
<instance_id>1</instance_id>
<hostgroup_name>linux-servers</hostgroup_name>
<is_active>1</is_active>
<config_type>1</config_type>
<alias>Linux Servers</alias>
</hostgroup>
</hostgrouplist>