On Oct 27, 2009, at 12:20 PM, Saurabh Seth wrote:
hi all,
i am trying to have collections done through an xml file . is there
any functionality in opennms to do so or would i have to write a
plugin for the same ??? Can the HTTP collector be used here???
Fetching the xml files is not an issue , the only issue is where to
parse them and how to store the data in the rrd/jrb files.
any kind of help would be appreciated .
Hi,
i guess this should be not a big deal to do a datacollection from xml.
You can build a really small PHP page with simple XML or a Java and JSP
http://php.net/manual/de/book.simplexml.php
If you build an HTTP datacollection you can build a very simple
webpage with a key value structure.
The output from the PHP XML parser should produce an output like this
http://www.opennms.org/wiki/Monitoring_Apache_with_the_HTTP_collector
I hope it helps
--
Ronny Trommer (Germany)
Web: http://www.open-factory.org
IRC: irc.freenode.org - #opennms
PGP key: 7ED9 1A00 0BD9 EB84 9F63 5808 B1BC E829 E383 98A0
Keyserver: keyserver.pgp.com
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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