Re: [opennms-devel] SNMP collection and destination

Jeff Gehlbach <[email protected]>
Newsgroups gmane.network.opennms.bugs
Message-ID <012C6107-3541-4ED4-A4AC-20E59D73CD3C__22887.9484035589$1210769734$gmane$org@opennms.org>
On May 14, 2008, at 3:02 AM, Adrian Overbury wrote:
> I've been wondering today if there's a way I can configure OpenNMS to
> send any SNMP data it collects for a given OID (or OID range) to a
> class/method for (pre-)processing.

Not currently.

> Instead, I've been told to attach a bunch of scripts to snmpd that,  
> when
> asked for a given OID, return line after line of CSV data.  What i  
> want
> to do is have OpenNMS collect this data and pass it (even just as One
> Big String) to something else that will process it and insert the
> information given into relevant databases and RRD archives

Why don't you use the HTTP collector instead?  Do the pre-chewing on  
the managed system from a cron job or a persistent daemon process,  
then write it to a text file and serve it up using Apache or lighttpd  
or whatever else you like.  Then use the HTTP collector in OpenNMS to  
pull the text file apart with a regex and persist the collected data.

-jeff

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.