RE: Proxy Multiple SNMP Requests
Nuno Gonçalves <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi everybody, First of all thanks on your reply Dave, Hummm i see, Then how can it be accomplished if you want to get SNMP data from several machines behind the SNMP Proxy? Imagine that you have 1..N servers in a private network and you want to extract with SNMP queries the InOctets From more than one machine. You must get them through the SNMP proxy which is the machine you can query, .... or am I thinking in a wrong way ? I accomplished the scenario where I proxy to two host machines with different OIDs. But I want to get DATA from more machines and the OID is the same. I was wondering if I can make a snmpbulkwalk request to the NET-SNMP server that proxies the request to the several machines behind it but with the same OID. How can we accomplish a setup like this? I wonder if I am not the only one that wants a similar setup. I googled but I didn't find any Best regards Nuno -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: quinta-feira, 21 de Dezembro de 2006 17:39 To: Nuno Gonçalves Cc: [email protected] Subject: Re: Proxy Multiple SNMP Requests On 21/12/06, Nuno Gonçalves <[email protected]> wrote: > proxy -v 2c -c <community> <host ip3> <oid1> > proxy -v 2c -c <community> <host ip3> <oid2> > proxy -v 2c -c <community> <host ip5> <oid3> That much will work. But adding: > proxy -v 2c -c <community> <host ip5> <oid1> won't. If the agent receives a request for "oid1", then what should it do? Iit's been told to send such requests to ip3. But it's also been told to send them to ip5. Which should it do? It can't do both! Instructions to a computer should be clear and unambiguous. This situation is not, and the agent can't cope with it. Stick to one destination for a given OID (or OID subtree) and things should work. Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users