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.  I've got a bunch of different values 
I want to export from the servers I'm monitoring that NetSNMP currently 
doesn't support the way I want it to.  Normally I'd just create a SNMP 
subagent to provide the data I want, but for a bunch of different 
reasons, that's something that just won't happen for now.

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 so that the 
threshD process can come along and find any values that exceed their 
thresholds and blah, blah, blah, yeah, we all know the rest.

Now, I don't know if this is even possible right now, but I can see the 
ability to have custom handlers for certain collected data as being 
useful for a few others things as well; so, if it isn't going to be too 
drastic a thing to implement, I'd like to do that.  Has anyone got any 
thoughts on this?  Am I just being stupid?  Does it already exist?  I'd 
love to see OpenNMS become more modular (modular?  Is that the term i'm 
looking for?  I think it is) in this sense, because it'd turn this kind 
of functionality extension into a matter of configuration instead of a fork.

Adrian

-------------------------------------------------------------------------
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

Reply via email to