Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12365

Cannot use poller:poll karaf command with WsManMonitor through Minions

    XMLWordPrintable

    Details

    • Sprint:
      Horizon 2019 - October 30th, Horizon 2019 - November 6th, Horizon 2019 - November 13th

      Description

      I'm studying the possibility of using WS-Man instead of SNMP to check the status of Windows Services from Windows Servers.

      While I was doing that, I found a problem with the execution of the poller:poll command from the Karaf Shell when trying to run the WsManMonitor on a device behind a location:

      admin@opennms> poller:poll -l Singapore org.opennms.netmgt.poller.monitors.SnmpMonitor 10.22.5.57
      
      Service is Up on 10.22.5.57 using org.opennms.netmgt.poller.monitors.SnmpMonitor:
              response-time: 2.8149
      
      admin@opennms> poller:poll -l Singapore org.opennms.netmgt.poller.monitors.WsManMonitor 10.22.5.57 resource-uri=http://s
      chemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_Service selector.Name=MSSQLSERVER rule="#State matches 'Running'
      and #Status matches 'OK'"
      
      Service is Unknown on 10.22.5.57 using org.opennms.netmgt.poller.monitors.WsManMonitor
              Reason: Unable to return specified BeanFactory instance: factory key [daoContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'daoContext' is defined
      

      This environment is running Meridian 2018, and WS-Man is configured with basic authentication.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cpape Christian Pape
                Reporter:
                agalue Alejandro Galue
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: