You can use the following GET command ( See Help > API Docs > Config Reference > Groups )
Code: Select all
curl -XGET "http://192.168.23.111/nagiosxi/api/v1/config/hostgroup?apikey=yourapikey&hostgroup_name=yourhostgroupname&pretty=1"
--Ben
Code: Select all
curl -XGET "http://192.168.23.111/nagiosxi/api/v1/config/hostgroup?apikey=yourapikey&hostgroup_name=yourhostgroupname&pretty=1"
Code: Select all
ls -l /<path here>/ncpa/build
Glad to hear that worked. We'll go ahead and close this one out.tnks for your suggestion, the solution works .
Thanks, Steve. Let us know if you'd like us to close this topic out.Thanks for your quick reply. Fetchmail is used in processing our passive service checks. I'll contact the person who set this up