Problem:
Querying host only list 50 rows instead of all rows.
Example query command:
/opt/opsview/coreutils/bin/opsview_rest --username="" --password="" --pretty --data-format=json GET /rest/config/hostCause:
The default rows are set to 50.
- Snippet from the UI located in Configuration > Hosts > List
Solution:
To achieve this, rows=all needs to be included in the query.
Run as root user:
/opt/opsview/coreutils/bin/opsview_rest --username=admin --password="initial" --pretty --data-format=json GET /rest/config/host?rows=allRelated Articles:
If Issue Persists:
-
Please contact our support team via the chat service box on any of our websites or email us at support@itrsgroup.com.
-
Make sure you provide us with:
- Background of the issue or request.
- Use cases, requirements, business impact, etc.
- Encountered error messages.
- Log files or diagnostic files.
- Screenshots.
- And other important information relevant to your inquiry.
Comments
0 comments
Please sign in to leave a comment.