Re: [opennms-devel] Getting the proxy host for a given address

Alex Bennee <[email protected]>
Newsgroups gmane.network.opennms.bugs
Message-ID <1213277122.28830.12.camel__43825.4484245137$1213277267$gmane$org@pitcairn.cambridgebroadband.com>
On Thu, 2008-06-12 at 09:08 -0400, Matt Brozowski wrote:
> 
> 
>         So now when I see this device I need to find out it's proxy
>         address.
>         Digging through the code I reckon the data is in SnmpAgent.
> 
> I assume you mean SnmpAgentConfig

Yes, sorry.

>         Is there
>         already a way to get the given SnmpAgent for a node or do I
>         need to
>         iterate through all the SnmpAgents and check who they proxy
>         for?
> 
> Hmm... not actually sure what you mean 'SnmpAgent for a node' but
> there is no way to search for agent configs by the proxyFor field.

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?

More importantly is there any reason I couldn't expose this information
to the web client?

I'm only just getting up to speed on the relationship between Java and
JSP's but as I understand it with the embedded webui (using Jetty) it's
just another thread of execution of OpenNMS so should be able to access
any information ONMS holds?


-- 
Alex Bennee, Software Engineer
There are no data that cannot be plotted on a straight line if the axis
are chosen correctly.


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