Hello,
Take a closer look at
http://www.opennms.org/wiki/XML_Collector#XML_Collector_configuration
In order to start collecting data, no matter which kind of collector you want
to use (i.e., SNMP, JMX, JDBC, HTTP, XML, XMP, etc), you must associate a
service to your node. The following link might help:
http://www.opennms.org/wiki/Tutorial_Data_Collection
Basically, In order to associate a service to a node it depends on how you
added the node to the system (Capsd or Provisiond). Then you must associate the
collector you want (in this case the XmlCollector) to that particular service
in collectd-configuration.xml.
Hope that help.
Alejandro.
On Jul 12, 2012, at 11:44 AM, Xuemei Jiang wrote:
> Hi,
>
> I waster lots of time to work on cml collector and failed finally. I
> configured it exactly as explained in the webpage
> http://www.opennms.org/wiki/XML_Collector.
>
> From the source code Collectd.java, I saw it need search ipinterface by the
> service name.
>
> Collection<OnmsIpInterface> ifsWithServices =
> findInterfacesWithService(svcName);
>
> Of course, the xml Collector service doesn't exist in the tables: service;
> ifservice; ipinterface.
>
> But in the http://www.opennms.org/wiki/XML_Collector, it doesnt mention at
> all that need configure any table. So when openNMS started, it initized the
> xml collector successfully; but it never do any collect.
>
> Anybody could help me a little for this.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-devel mailing list
To *unsubscribe* or change your subscription options, see the bottom of this
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel