VMware6 Collection Problem - V20.0.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

VMware6 Collection Problem - V20.0.1

Norbert
Hi all,

just testing around with an VSphere6 environment. First time i did that
Provisioning runs well, but collection fails with:

2017-07-27 14:09:25,523 ERROR [Collectd-Thread-23-of-50] o.o.n.c.CollectableService: An undeclared throwable was caught during data collection for interface 25169/10.3.160.248/VMware-HostSystem
org.opennms.netmgt.collection.api.CollectionException: An undeclared throwable was caught during data collection for interface 25169/10.3.160.248/VMware-HostSystem
        at org.opennms.netmgt.collectd.CollectableService.doCollection(CollectableService.java:465) ~[opennms-services-20.0.1.jar:?]
        at org.opennms.netmgt.collectd.CollectableService.doRun(CollectableService.java:360) [opennms-services-20.0.1.jar:?]
        at org.opennms.netmgt.collectd.CollectableService.access$200(CollectableService.java:80) [opennms-services-20.0.1.jar:?]
        at org.opennms.netmgt.collectd.CollectableService$1.run(CollectableService.java:332) [opennms-services-20.0.1.jar:?]
        at org.opennms.core.logging.Logging.withPrefix(Logging.java:71) [org.opennms.core.logging-20.0.1.jar:?]
        at org.opennms.netmgt.collectd.CollectableService.run(CollectableService.java:321) [opennms-services-20.0.1.jar:?]
        at org.opennms.netmgt.scheduler.LegacyScheduler$1.run(LegacyScheduler.java:179) [opennms-services-20.0.1.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
        at org.opennms.core.concurrent.LogPreservingThreadFactory$3.run(LogPreservingThreadFactory.java:124) [opennms-util-20.0.1.jar:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: java.lang.IllegalStateException: VmwareCollector: Error getting credentials for VMware management server: 10.3.162.58
        at org.opennms.netmgt.collectd.VmwareCollector.getRuntimeAttributes(VmwareCollector.java:182) ~[opennms-vmware-20.0.1.jar:?]
        at org.opennms.netmgt.collection.client.rpc.CollectorRequestBuilderImpl.execute(CollectorRequestBuilderImpl.java:111) ~[org.opennms.features.collection.client-rpc-20.0.1.jar:?]
        at org.opennms.netmgt.collectd.CollectionSpecification.collect(CollectionSpecification.java:278) ~[opennms-services-20.0.1.jar:?]
        at org.opennms.netmgt.collectd.CollectableService.doCollection(CollectableService.java:428) ~[opennms-services-20.0.1.jar:?]
        ... 10 more
2017-07-27 14:09:25,524 DEBUG [Collectd-Thread-23-of-50] o.o.n.s.LegacyScheduler: schedule: Adding ready runnable CollectableService for service 25169:/10.3.160.248:VMware-HostSystem (ready in 300000ms) at interval 300000


What i need help for is:

Caused by: java.lang.IllegalStateException: VmwareCollector: Error getting credentials for VMware management server: 10.3.162.58

I expected that the credentials of the vSphere account i setup in  provisiond-configuration.xml are used. But i seems not.

 <requisition-def import-name="vSphere-QS" import-url-resource="vmware://vdom\userxyz:password@10.3.162.58">
    <cron-schedule>0 10 * * * ? *</cron-schedule>
  </requisition-def>



Anything i forgot to setup ?

Best Norbert.
Reply | Threaded
Open this post in threaded view
|

SOLVED : VMware6 Collection Problem - V20.0.1

Norbert
Solved,

i missed the vmware-config.xml entrys.

Rgds
Norbert

Am 27.07.2017 um 14:22 schrieb Norbert <[hidden email]>:

Hi all,

just testing around with an VSphere6 environment. First time i did that
Provisioning runs well, but collection fails with:

2017-07-27 14:09:25,523 ERROR [Collectd-Thread-23-of-50]
o.o.n.c.CollectableService: An undeclared throwable was caught during data
collection for interface 25169/10.3.160.248/VMware-HostSystem
org.opennms.netmgt.collection.api.CollectionException: An undeclared
throwable was caught during data collection for interface
25169/10.3.160.248/VMware-HostSystem
       at
org.opennms.netmgt.collectd.CollectableService.doCollection(CollectableService.java:465)
~[opennms-services-20.0.1.jar:?]
       at
org.opennms.netmgt.collectd.CollectableService.doRun(CollectableService.java:360)
[opennms-services-20.0.1.jar:?]
       at
org.opennms.netmgt.collectd.CollectableService.access$200(CollectableService.java:80)
[opennms-services-20.0.1.jar:?]
       at
org.opennms.netmgt.collectd.CollectableService$1.run(CollectableService.java:332)
[opennms-services-20.0.1.jar:?]
       at org.opennms.core.logging.Logging.withPrefix(Logging.java:71)
[org.opennms.core.logging-20.0.1.jar:?]
       at
org.opennms.netmgt.collectd.CollectableService.run(CollectableService.java:321)
[opennms-services-20.0.1.jar:?]
       at
org.opennms.netmgt.scheduler.LegacyScheduler$1.run(LegacyScheduler.java:179)
[opennms-services-20.0.1.jar:?]
       at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_131]
       at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_131]
       at
org.opennms.core.concurrent.LogPreservingThreadFactory$3.run(LogPreservingThreadFactory.java:124)
[opennms-util-20.0.1.jar:?]
       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: java.lang.IllegalStateException: VmwareCollector: Error getting
credentials for VMware management server: 10.3.162.58
       at
org.opennms.netmgt.collectd.VmwareCollector.getRuntimeAttributes(VmwareCollector.java:182)
~[opennms-vmware-20.0.1.jar:?]
       at
org.opennms.netmgt.collection.client.rpc.CollectorRequestBuilderImpl.execute(CollectorRequestBuilderImpl.java:111)
~[org.opennms.features.collection.client-rpc-20.0.1.jar:?]
       at
org.opennms.netmgt.collectd.CollectionSpecification.collect(CollectionSpecification.java:278)
~[opennms-services-20.0.1.jar:?]
       at
org.opennms.netmgt.collectd.CollectableService.doCollection(CollectableService.java:428)
~[opennms-services-20.0.1.jar:?]
       ... 10 more
2017-07-27 14:09:25,524 DEBUG [Collectd-Thread-23-of-50]
o.o.n.s.LegacyScheduler: schedule: Adding ready runnable CollectableService
for service 25169:/10.3.160.248:VMware-HostSystem (ready in 300000ms) at
interval 300000


What i need help for is:

Caused by: java.lang.IllegalStateException: VmwareCollector: Error getting
credentials for VMware management server: 10.3.162.58

I expected that the credentials of the vSphere account i setup in
provisiond-configuration.xml are used. But i seems not.

<requisition-def import-name="vSphere-QS"
import-url-resource="<a href="vmware://vdom\userxyz:password@10.3.162.58" class="">vmware://vdom\userxyz:password@10.3.162.58">
   <cron-schedule>0 10 * * * ? *</cron-schedule>
 </requisition-def>



Anything i forgot to setup ?

Best Norbert.



--
View this message in context: http://opennms.530661.n2.nabble.com/VMware6-Collection-Problem-V20-0-1-tp7595810.html
Sent from the OpenNMS - discuss mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss