We are unable to post test results externally due to an access denied error.
Running Hostmon 9.90 on windows server 2012 R2.
Error: "Action error: Cannot execute command "c:\hostmonitor\curl\curl". Access is denied."
Permissions to file and folder granted full control granted all the way down.
UAC has been disabled.
Acess Denied when posting external test results
-
- Posts: 4
- Joined: Tue Mar 15, 2016 9:55 am
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
-
- Posts: 4
- Joined: Tue Mar 15, 2016 9:55 am
We cannot reproduce problem on our systems.
Have you started HostMonitor application using "run as administrator" option?
>We are unable to post test results externally due to an access denied error.
Post test results? Are you trying to start external application after each test probe? I think this is bad idea, you will waste a lot of system resources.
There are logs, reports, you may use database to store test results (ODBC logging), etc
Regards
Alex
Have you started HostMonitor application using "run as administrator" option?
>We are unable to post test results externally due to an access denied error.
Post test results? Are you trying to start external application after each test probe? I think this is bad idea, you will waste a lot of system resources.
There are logs, reports, you may use database to store test results (ODBC logging), etc
Regards
Alex
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
-
- Posts: 4
- Joined: Tue Mar 15, 2016 9:55 am
We are unable to post test results externally due to an acce
We have an external alert board in slack we are attempting to send failures to. We are not sending the results of every test. We have an application in the hostmon folder to send out failures using:
"c:\hostmonitor\curl\curl --retry 3 -k -H "Authorization: XXXXX" -H "Accept: application/json" -H "Content-Type: application/json" -X POST -d "{'feed': 'hostmonitor', 'source': '%TestName%', 'status': '%Status%', 'message': '%Reply%', 'resolver': 'NA-Lab', 'data': { } }"
Using the same string we are able to send alerts to our alert board from without issue, however we are unable to get Hostmon to send to the same due to the access denied error. Hostmon does run as administrator on the system.
"c:\hostmonitor\curl\curl --retry 3 -k -H "Authorization: XXXXX" -H "Accept: application/json" -H "Content-Type: application/json" -X POST -d "{'feed': 'hostmonitor', 'source': '%TestName%', 'status': '%Status%', 'message': '%Reply%', 'resolver': 'NA-Lab', 'data': { } }"
Using the same string we are able to send alerts to our alert board from without issue, however we are unable to get Hostmon to send to the same due to the access denied error. Hostmon does run as administrator on the system.
-
- Posts: 4
- Joined: Tue Mar 15, 2016 9:55 am