Can the proxy agent work with internal query?

ericj <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>


---------- Forwarded message ----------
From: ericj <[email protected]>
Date: 129, 121
Subject: Can the proxy agent work with internal query?
To: mailing.unix.net-snmp-users


Hi all,

I had set up a proxy agent with net-snmp 5.4.1 on linux,and I have a
switch with snmpv3 agent.

I can run "snmpwalk -v 3 -u testuser -A 12345678 -l authNoPriv
10.10.32.4 system"
and have return values so that I'm sure the snmpv3 configuration on
switch is okay.

I want the queries via proxy agent, and I added follow lines in
snmpd.conf

proxy -Cn ctx_remotehost2 -v 3 -u testuser -a MD5 -A "12345678" -l
authNoPriv 10.10.32.4 .1.3

but it seems that I still have to add in snmpd.conf

com2sec -Cn ctx_remotehost2 proxied default cmty_2 (the "proxied"
sec.name access right has no problem)

so that I can make below query statement to query the vales.
"snmpwalk -v 2c -c cmty_2 localhost system"

Is this means that I can't use a securityName in snmpd.conf and work
with the disman internal query?
(i.e I can use monitor directives in snmpd.conf to monitor the
switch's MIB objects since I had setup a proxy agent.)

I fact, what I want to do is use disman MIB to monitor remote target's
MIB objects.

Since the net-snmp had implement the disman event MIB with internal
query,
I was wondering that how if I setup a proxy agent, and could disman
could monitor the proxy agent's MIB objects?

As far as I know, if the proxy agent can only queried via v1/v2c
community,and the disman implement is based on internal query with
securityName, then my thoughts should not work, right?
 (i.e I can use monitor directives in snmpd.conf to monitor the
switch's MIB objects since I had setup a proxy agent.)

Thanks in advance for anyone who can give me some reply.

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