Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 40 lines (26 sloc) 1.18 KB

Icinga / Nagios plugin to check if a Windows service is in running state via SNMP.

It may take some time until Windows updates the status via snmp after starting or stopping a service.

The plugin requires pynag ( and python-netsnmp.


Check service "Windows Connection Manager":

./ -H -s "Windows Connection Manager"


OK - Status of Service 'Windows Connection Manager' is: RUNNING


Critical - Status of Service 'Windows Connection Manager' is: NOT RUNNING

Show all running services:

./ -H -S


  -h, --help            show this help message and exit
  -H HOSTNAME           Hostname or ip address
                        SNMP community of the SNMP service on target host.
  -V VERSION, --snmpversion=VERSION
                        SNMP version. (1 or 2)
  -s SERVICE            The name of the service you want to monitor (-s scan
                        for scanning)
  -S, --scan            Show all available services
You can’t perform that action at this time.