viewtopic.php?t=31681
...and I was wondering if we could use the API instead of editing files directly.
curl -XGET "http://(xi-dns-name)/nagiosxi/api/(version)/system/status?apikey=(mykey)&pretty=1"
Would be the command to list the system status, where I can see the notifications value. I cannot add a "notifications_enabled" in there to get just this value without getting an API error so it makes me think this functionality is not in the Nagios XI API.
Is this true? Is editing the file still the best way?
Thank you
![Arrow :arrow:](./images/smilies/icon_arrow.gif)