Re: MFD agent and agentX

Shawn McManus <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <1178806998.18270.7.camel@gimli>
On Thu, 2007-05-10 at 10:14 +0100, Dave Shield wrote:
> On 09/05/07, Shawn McManus <[email protected]> wrote:
> > I run the ifTable agent and see
> > in the output:
> >
> > NET-SNMP version 5.3 AgentX subagent connected
> > registering pdu failed: 263!
> 
> That's most likely due to an existing registration for the ifTable
> in the master agent.  If there are two identical registrations, then
> the second one will be rejected as a duplicate.
> 
> If you run the master agent but *don't* start your subagent,
> can you walk the ifTable anyway?
>   (Just to be sure, can you walk any of the other network-related
> tables, such as the udp or tcp groups?)

Without my subagent, I can't see anything in the IF-MIB, nor tcp or udp.
The out-of-the-box config on FC5 gives a very basic mib2 list:

SNMPv2-MIB::sysDescr.0
SNMPv2-MIB::sysObjectID.0
DISMAN-EVENT-MIB::sysUpTimeInstance
SNMPv2-MIB::sysContact.0
SNMPv2-MIB::sysName.0
SNMPv2-MIB::sysLocation.0
SNMPv2-MIB::sysORLastChange.0
SNMPv2-MIB::sysORID.1
SNMPv2-MIB::sysORID.2
SNMPv2-MIB::sysORID.3
SNMPv2-MIB::sysORID.4
SNMPv2-MIB::sysORID.5
SNMPv2-MIB::sysORID.6
SNMPv2-MIB::sysORID.7
SNMPv2-MIB::sysORID.8
SNMPv2-MIB::sysORDescr.1
SNMPv2-MIB::sysORDescr.2
SNMPv2-MIB::sysORDescr.3
SNMPv2-MIB::sysORDescr.4
SNMPv2-MIB::sysORDescr.5
SNMPv2-MIB::sysORDescr.6
SNMPv2-MIB::sysORDescr.7
SNMPv2-MIB::sysORDescr.8
SNMPv2-MIB::sysORUpTime.1
SNMPv2-MIB::sysORUpTime.2
SNMPv2-MIB::sysORUpTime.3
SNMPv2-MIB::sysORUpTime.4
SNMPv2-MIB::sysORUpTime.5
SNMPv2-MIB::sysORUpTime.6
SNMPv2-MIB::sysORUpTime.7
SNMPv2-MIB::sysORUpTime.8
HOST-RESOURCES-MIB::hrSystemUptime.0
HOST-RESOURCES-MIB::hrSystemUptime.0

> What happens if you try a GET request for ifTable data that you know is
> valid?   It might be worth turning on packet dumps in your subagent,
> and see whether it receives anything or not.

When I enable -Dall in the ifTable agent, I don't see packets coming
from the master.  I see the agentX registration, but no packets.

I'm starting to suspect a master agent config issue.  When I run snmpd
from the command line and then do an snmpwalk, the agent dumps:

  Connection from UDP: [localhost]:33291

for each getnext.  But when I try

  snmpget -v2c -c public localhost IF-MIB::ifIndex.0

I don't see the "connection" message at the master agent.  If I run that
same command when the ifTable agent is connected to port 161, I see the
"connection" message and the get works.

  Shawn


This message (including any attachments) contains confidential 
and/or proprietary information intended only for the addressee.  
Any unauthorized disclosure, copying, distribution or reliance on 
the contents of this information is strictly prohibited and may 
constitute a violation of law.  If you are not the intended 
recipient, please notify the sender immediately by responding to 
this e-mail, and delete the message from your system.  If you 
have any questions about this e-mail please notify the sender 
immediately. 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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.