If the service is started then the serviceStatus measure will record a “1”. If the service is stopped it will return “0”. In case of an access or other problem the plugin will fail to execute with an error message indicating the problem.
Windows Service Status Monitor Plugin 1.0.0 (compatible with dynaTrace 3.5.2+)
2012-03-05 Initial Release
Download current release from GitHub Project Page
- serviceStatus: If the service is running, the measure will yield 1, otherwise 0.
The name of the service to monitor.
Since the plugin is using the SC command, this means that the logon account configured for the dynaTrace collector needs to have appropriate access to the host(s) you want to monitor (typically Administrator access to the server). If the access isn’t there, the monitor will fail with a detailed error message. A good way to test this is to log into the collector with the account it is running as, open a command prompt and execute a SC command to the remote server you want to monitor.
Import the Plugin into the dynaTrace Server. For details how to do this please refer to the dynaTrace documentation.