Monitor Microsoft AD Services

Monitoring Microsoft AD Services

To monitor the service state add the following lines to your $OPENNMS_HOME/etc/poller-configuration.xml. Change your timeouts and retry settings to your needs.

  <!-- Windows Standard -->
  <service name="Server" interval="300000" user-defined="false" status="on">
      <parameter key="retry" value="6"/>
      <parameter key="timeout" value="4950"/>
      <parameter key="port" value="161"/>
      <parameter key="service-name" value="Server"/>
  </service>
  <service name="Terminaldienste" interval="300000" user-defined="false" status="on">
      <parameter key="retry" value="6"/>
      <parameter key="timeout" value="4950"/>
      <parameter key="port" value="161"/>
      <parameter key="service-name" value="Terminaldienste"/>
  </service>
  <service name="Terminal-Services" interval="300000" user-defined="false" status="on">
      <parameter key="retry" value="6"/>
      <parameter key="timeout" value="4950"/>
      <parameter key="port" value="161"/>
      <parameter key="service-name" value="Terminal Services"/>
  </service>
  <service name="Print-Spooler" interval="300000" user-defined="false" status="on">
      <parameter key="retry" value="6"/>
      <parameter key="timeout" value="4950"/>
      <parameter key="port" value="161"/>
      <parameter key="service-name" value="Print Spooler"/>
  </service>
  <service name="Druckwarteschlange" interval="300000" user-defined="false" status="on">
      <parameter key="retry" value="6"/>
      <parameter key="timeout" value="4950"/>
      <parameter key="port" value="161"/>
      <parameter key="service-name" value="Druckwarteschlange"/>
  </service>
  <service name="RDP" interval="300000" user-defined="false" status="on">
      <parameter key="retry" value="6"/>
      <parameter key="timeout" value="4950"/>
      <parameter key="port" value="3389"/>
      <parameter key="banner" value="*" />
  </service>

  <!-- Active Directory Services -->
  <service name="WINS-Server" interval="300000" user-defined="false" status="on">
      <parameter key="retry" value="6"/>
      <parameter key="timeout" value="4950"/>
      <parameter key="port" value="161"/>
      <parameter key="service-name" value="WINS"/>
  </service>
  <service name="Dateireplikationsdienst" interval="300000" user-defined="false" status="on">
      <parameter key="retry" value="6"/>
      <parameter key="timeout" value="4950"/>
      <parameter key="port" value="161"/>
      <parameter key="service-name" value="Dateireplikationsdienst"/>
  </service>

  <!-- Microsoft IIS-Services -->
  <service name="WWW-Publishingdienst" interval="300000" user-defined="false" status="on">
      <parameter key="retry" value="6"/>
      <parameter key="timeout" value="4950"/>
      <parameter key="port" value="161"/>
      <parameter key="service-name" value="WWW-Publishingdienst"/>
  </service>
  <service name="HTTP-SSL" interval="300000"
      user-defined="false" status="on">
      <parameter key="retry" value="6"/>
      <parameter key="timeout" value="4950"/>
      <parameter key="port" value="161"/>
      <parameter key="service-name" value="HTTP-SSL"/>
  </service>

  <monitor service="Server" class-name="org.opennms.netmgt.poller.monitors.Win32ServiceMonitor"/>
  <monitor service="Terminaldienste" class-name="org.opennms.netmgt.poller.monitors.Win32ServiceMonitor"/>
  <monitor service="Terminal-Services" class-name="org.opennms.netmgt.poller.monitors.Win32ServiceMonitor"/>
  <monitor service="Print-Spooler" class-name="org.opennms.netmgt.poller.monitors.Win32ServiceMonitor"/>
  <monitor service="Druckwarteschlange" class-name="org.opennms.netmgt.poller.monitors.Win32ServiceMonitor"/>
  <monitor service="RDP" class-name="org.opennms.netmgt.poller.monitors.TcpMonitor"/>
  <monitor service="ADS-DNS-Server" class-name="org.opennms.netmgt.poller.monitors.Win32ServiceMonitor"/>
  <monitor service="WINS-Server" class-name="org.opennms.netmgt.poller.monitors.Win32ServiceMonitor"/>
  <monitor service="Dateireplikationsdienst" class-name="org.opennms.netmgt.poller.monitors.Win32ServiceMonitor"/>
  <monitor service="ADS-DNS-Server" class-name="org.opennms.netmgt.poller.monitors.Win32ServiceMonitor"/>
  <monitor service="WWW-Publishingdienst" class-name="org.opennms.netmgt.poller.monitors.Win32ServiceMonitor"/>
  <monitor service="HTTP-SSL" class-name="org.opennms.netmgt.poller.monitors.Win32ServiceMonitor"/>