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

Alex Bennee <[email protected]>
Newsgroups gmane.network.opennms.bugs
Message-ID <1213274462.28830.5.camel__44655.3656402559$1213274519$gmane$org@pitcairn.cambridgebroadband.com>
Hi,

In the web-ui I want to generate a link to a set of graphs for data for
one of our sub-agents.

This device is accessed via a proxy host using it's parent's device IP
and special proxy port (which is all configured through
snmp-config.xml). The link therefor needs to pass the parent's IP to our
script graph. 

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

-- 
Alex Bennee, Software Engineer
The choice of approaches could be made the responsibility of the
programmer. -- Larry Wall in <[email protected]>


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