RE: FW: agentx sub-agent setup

"Lacatena, Andrew" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <FD98A53269F5F74082DFBB12E8AA60320595BA0D@TRM-EXCH1.CORP.NASDAQ.COM>
I chose an entry within the ifTable (ifPhysAddress) and ran the test,
results are below.  In both instances I am getting a response...  

 

NMS: 176.27.81.18

Master Agent: 176.27.81.145

Sub Agent: 176.27.81.33

 

Stop Sub-Agent:

snmpwalk -v 2c -c 'community string' 176.27.81.145 ifPhysAddress.1
(issued command from NMS host)

*         IF-MIB::ifPhysAddress.1 = STRING: 0:6:5b:3b:1c:4a

 

Start Sub-Agent

snmpwalk -v 2c -c 'community string' 176.27.81.145 ifPhysAddress.1
(issued command from NMS host)

*         IF-MIB::ifPhysAddress.1 = STRING: 0:6:5b:3b:1c:4a

 

 

 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Tuesday, February 06, 2007 11:58 AM
To: Lacatena, Andrew
Cc: [email protected]
Subject: Re: FW: agentx sub-agent setup

 

On 06/02/07, Lacatena, Andrew <[email protected]> wrote:

> From my NMS host (176.27.81.18) I can do a walk on the master
(snmpwalk -v2c

> -d -c 'community string' 176.27.81.145 iftable), but I want to verify
that

> it is actually serving up data from the sub-agent.

 

Shut down the subagent, but leave the master agent still running.

Then request an entry from within the ifTable.

 

If you get a response, then it's the master agent (or a different
subagent)

that's handling it.  If you get 'noSuchObject' or equivalent, then it's
the

subagent.

 

That's the way I usually test AgentX activity.

 

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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