Win32 Service Detector

The Win32 service detector detects the availability of services on Windows devices that have SNMP enabled. It will query the Microsoft LAN Manager MIB .1.3.6.1.4.1.77 over SNMP to confirm the service exists and is active. The given win32ServiceName parameter is converted into the decimal ASCII characters of the Windows service display name. A service is detected when the OID returns active(1) from the svSvcOperatingState (.1.3.6.1.4.1.77.1.2.3.1.3) table.

The suffix is constructed by the number of characters and the decimal ASCII characters of the service display name. Display names in Microsoft Windows depend on the language settings of the operating system and may differ. For example, the display name for the Task Scheduler has 14 characters and becomes OID suffix 14.84.97.115.107.32.83.99.104.101.100.117.108.101.114.

Detector facts

Implementation

org.opennms.netmgt.provision.detector.snmp.Win32ServiceDetector

Configuration and use

Table 1. Required parameters for the Win32 service detector
Parameter Description Default

win32ServiceName

The Windows service name to discover. This should be the Display Name field value for the desired Windows service, as displayed in the services.msc applet.

Win32Service

You can query the svSvcName table (1.3.6.1.4.1.77.1.2.3.1.1) to identify the display name to use for the win32ServiceName parameter.