I'm not at all familiar with using a REST API and would like to understand for example how I can query for hosts that have a check_interval set to either not equal to or greater than 5. I've tried a few different ways and am still unable to get the proper output. Here is one of my attempts:
./opsview_rest --pretty --username=foo --password=bar GET 'config/host?rows=all&s.check_interval!=5'
With this query, I get back all hosts no matter the check_interval value is. Ideally I'd like to get back the hostname and check_interval values so I can address those hosts that may not be configured properly.
Thanks a bunch,