Re: [opennms-devel] Getting the proxy host for a given address
"Matt Brozowski" <[email protected]>
| Newsgroups | gmane.network.opennms.bugs |
|---|---|
| Message-ID | <3cb43f940806120716k228c8176ob6cf3d763ecc408a__44855.0939247527$1213280283$gmane$org@mail.gmail.com> |
Well the config that would be used for a given node. Doesn't OpenNMS
> keep a bunch of objects representing these configs or does it create a
> new SnmpAgentConfig everytime it wants to do a snmp query to a node?
To get an SnmpAgentConfig ask the SnmpPeerFactory (this should probably be
renamed to SnmpAgentConfigFactory). You can look up the config by the ip
address.
SnmpPeerFactory.getInstance().getAgentConfig("192.168.1.1");
Hope that helps,
Matt
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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