I am getting plugin unauthorized error on windows service status monitor plugin.
Details about my setup:
1) I am trying to monitor a service on the collector machine itself
2) Collector service is running via "Local System" account which has admin priveleges
3)Appmon server & collector version : 184.108.40.2069
4) Same collector machine is successfully able to pull all metrics from SQL Server monitoring plugin
(with MS SQL running on same collector machine itself): Mentioning this because SQL server plugin also needs collector service to run from an account having admin privileges
5) Collector OS : windows server 2016
Below are the complete error details:
Schedule Details Name:*********
Description: Type:Windows Service Status Monitor
Last Run:10:47:37 (IST)
Last Run Result:failed
Current Run:- Duration (last run):< 1s
Schedule:- Business Hours:-
Result:Last polling execution failed
Reason for failure:Error during execution of plugin occurred
Error message:Plugin unauthorized
Detailed error message:Error occurred
PLease suggest possible options that i can try further to troubleshoot this.
Answer by Radu S. ·
Firstly, keep in mind this is an extremely old plugin, tested for dynaTrace 3.5.2, so things may naturally break with newer versions of AppMon.
Secondly, you should be able to find a log file associated with this plugin on the collector machine and that may give you some additional details regarding the actual issue the plugin is having (this should be easiest to access from the AppMon client, going in System Information).
Thirdly, at first glance this seems an issue with the account under which the Collector service is running (which is the same account that the plugin will use) and the permission to do whatever the plugin needs to do. An initial test would be to run the SC command which the plugin would be running while being logged in as the Local System user (that the collector is running as). If the command succeeds but the plugin still doesn't run due to being unauthorized, I would suggest creating a new account with admin permissions and running the collector service under this new account.
I hope this helps.