Welcome to Questions - Ask OpenNMS, where you can ask questions and receive answers from other members of the community.

wsman poller-configuration.xml ?

0 votes
68 views

Hello,

I would like to use Wsman with Windows servers. I followed:

https://docs.opennms.org/opennms/releases/18.0.1/guide-admin/guide-admin.html#_wsmanmonitor

I see at a node server WS-Man. 'Not-Monitored'

Do I need Wsman in poller-configuration.xml ?

I tried this, but did doesn't work:

    <service name="WSMAN" interval="300000" user-defined="false" status="on">
       <parameter key="retry" value="2"/>
       <parameter key="timeout" value="3000"/>
       <parameter key="rrd-repository" value="/var/lib/opennms/rrd/response"/>
       <parameter key="rrd-base-name" value="wsman"/>
       <parameter key="ds-name" value="wsman"/>
    </service>

And at the end:

 <monitor service="WSMAN" class-name="org.opennms.netmgt.poller.monitors.WsManMonitor"/>

 /usr/share/opennms/bin/config-tester -av 

Testing poller-configuration.xml ... 14:15:43.819 [Main] WARN  org.opennms.netmgt.config.PollerConfigManager - Unable to load monitor for service: WSMAN, class-name: org.opennms.protocols.dhcp.monitor.WsmanMonitor: org.opennms.protocols.dhcp.monitor.WsmanMonitor

Result:

Testing poller-config.properties ... OK (0.013s)
Testing poller-configuration.xml ... 14:26:58.950 [Main] INFO  org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@20f2b9ca: startup date [Fri Sep 09 14:26:58 CEST 2016]; root of context hierarchy
14:26:58.951 [Main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [META-INF/opennms/applicationContext-soa.xml]
14:26:59.031 [Main] INFO  org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@793f47b: startup date [Fri Sep 09 14:26:59 CEST 2016]; parent: ApplicationContext 'soaContext'
14:26:59.031 [Main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [META-INF/opennms/applicationContext-commonConfigs.xml]
14:26:59.193 [Main] INFO  org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
14:26:59.273 [Main] INFO  org.opennms.core.xml.AbstractJaxbConfigDao - Loaded poll outage configuration in 1 ms
14:26:59.328 [Main] WARN  org.opennms.netmgt.config.PollerConfigManager - start: Failed to create monitor org.opennms.netmgt.poller.monitors.WsManMonitor for service WSMAN
org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [daoContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'daoContext': Requested bean is currently in creation: Is there an unresolvable circular reference?

Kind regards,

Fred

 

 

OpenNMS version
asked Sep 9, 2016 by FredE (210 points)

Please log in or register to answer this question.

...