Related to:
OP5 Monitor HTTP API creates object entries in the wrong file_id (etc/timeperiods.cfg) instead of the one that is specified for it.
Problem
OP5 Monitor HTTP API creates object entries in the wrong file_id (etc/timeperiods.cfg) instead of the one that is specified for it.
For example, when running the following Curl command:
curl -ik -u 'USER:PASSWORD' -H 'content-type: application/json' -d '{"host_name":"HOSTNAME","template":"default-service","service_description":"test-svc1","check_command":"check_tcp","file_id":"etc/services.cfg","check_command_args":"22"}' https://localhost/api/config/service
The resulting service will be created in etc/timeperiods.cfg instead of the specified file_id of etc/services.cfg.
Possible Cause(s)
The user may not have the FILE permissions assigned to them in Group Rights.
Possible Solution(s)
Check that the API user is part of a group that has the FILE permission enabled. To check, go to Manage > Configure > Group rights. The permission is shown below:
Related Articles
- OP5 Monitor - How OP5 Monitor works in relation to grouprights
- Official Documentation - Group rights required per OP5 Monitor function
- Official Documentation - Configuration API
If Issue Persists
- Please contact with our Client Services team via the chat service box available in any of our websites or via email to support@itrsgroup.com
- Make sure you provide to us:
- ANY LOG FILE OR DIAGNOSTIC
- ANY SCREENSHOT
- ANY VENDOR/VERSION OF WHAT THEY ARE TRYING TO CONNECT TO
-Any troubleshooting step already verified from the ones described in this article.
Comments
0 comments
Please sign in to leave a comment.