On Mon, Jul 16, 2012 at 4:34 AM, xuemei <xuemei.ji...@gmail.com> wrote: > Ok > I would like to share the result, even I still dont understand, :p > > there is a configuration file called *.xml. inside, it will look like this > <node node-label="windows2003" foreign-id="1334829470889" building="test"> > <interface snmp-primary="P" status="1" ip-addr="172.23.11.9" > descr="ifDesc"> > <monitored-service service-name="SSH"/> > <monitored-service service-name="ICMP"/> > <monitored-service service-name="SNMP"/> > <monitored-service service-name="HTTP"/> > </interface> > </node> > > > > > > > so need add xml to the monitored service. > <monitored-service service-name="XML"/> > > Then by the logs, at least I see it do the collection now, the log from > xmlcollector.java. >
When you provision a service on an interface you don't need a detector. You could also have added a detector to the provisioning group to find it automatically based on port/path of the url. In theory you could use a detector in capd, but there is a bug in the xml plugin that makes collection fail if the node does not have values for foreign-source/foreign-id that are only set for provisioned nodes. Next step is to see if the jrb/rrd files are being updated and add a graph to view them. -- Les Mikesell lesmikes...@gmail.com ------------------------------------------------------------------------------ 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