This tutorial provides step-by-step instructions how to setup monitoring of Windows services. It is assumed that ZABBIX server and ZABBIX agent are configured and operational.
Get service name
You can get that name by going to the services mmc and bring up the properties of the service you want to monitor it's up/down status. In the General tab you should see a field called Service name. The value that follows that you put in the brackets above. For example, if I wanted to monitor the "workstation" service then my service would be lanmanworkstation.
Add item for monitoring of the service
Add item with a key service_state[lanmanworkstation], value type Integer, value mapping Windows service state.