Looking up free variables and related hosts/services
Posted: Mon Oct 09, 2017 4:12 pm
Hello everyone,
First, please excuse my poor english. I'd like to know if there's a way to search custom variables and return its associated hosts and/or services from the Nagios XI WUI (perhaps adding a column in CCM; I'm not sure if it's possible) or through the Nagios XI API. I've come across some threads that cover adding these custom variables to hosts/services through the latter, but can't find anything regarding this topic. The most I could find was the command "http://<ip>/nagios/cgi-bin/objectjson.cgi?query=hostlist&details=true", but it doesn't exactly fit the bill.
Thank you for your attention!
First, please excuse my poor english. I'd like to know if there's a way to search custom variables and return its associated hosts and/or services from the Nagios XI WUI (perhaps adding a column in CCM; I'm not sure if it's possible) or through the Nagios XI API. I've come across some threads that cover adding these custom variables to hosts/services through the latter, but can't find anything regarding this topic. The most I could find was the command "http://<ip>/nagios/cgi-bin/objectjson.cgi?query=hostlist&details=true", but it doesn't exactly fit the bill.
Thank you for your attention!