Skip to content
Branch: master
Find file History
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Add description about priority Mar 18, 2019
main.go Apply tool/ Mar 3, 2017



Checks Windows NT Service is stopped.


check-ntservice --service-name=SERVICE_NAME


First, build this program.

go get
cd $(go env GOPATH)/src/
go install

Or when you installing the mackerel-agent msi package, this plug-in is included in the installation folder. About installing mackerel-agent in Windows, see Installing mackerel-agent on Windows - Mackerel Docs.

Next, you can execute this program :-)

check-ntservice --service-name=SERVICE_NAME

Setting for mackerel-agent

If there are no problems in the execution result, add a setting in mackerel-agent.conf .

command = ["check-ntservice", "--service-name", "SERVICE_NAME"]



  -s, --service-name=    service name
  -E, --exclude-service= service name to exclude from matching. This option takes precedence over --service-name
  -l, --list-service     list service

For more information

Please execute check-ntservice -h and you can get command line options.

You can’t perform that action at this time.