Menu

#1888 ifNumber always set to 0 on AIX

aix
closed
nobody
agent (1105)
5
2012-11-08
2007-10-29
Anonymous
No

With the latest version 5.4.1 on AIX 5.3, the Net-SNMP agent always returns no interfaces in the value ifNumber.

Discussion

  • Thomas Anders

    Thomas Anders - 2007-10-29

    Logged In: YES
    user_id=848638
    Originator: NO

    What's the output of "net-snmp-config --configure-options"?
    Please note that the current ifTable implementation for AIX requires the problematic kmem access routines (nlist et al.) which you may have turned off per the recommendations in README.aix.

     
  • Nobody/Anonymous

    Logged In: NO

    The command "net-snmp-config --configure-options" produces nothing.

     
  • Thomas Anders

    Thomas Anders - 2007-10-31

    Logged In: YES
    user_id=848638
    Originator: NO

    Did you use a plain "./configure" (w/o optons) to build net-snmp?
    Are you running on an AIX system with 64-bit kernel?
    Have you read README.aix?
    What error messages does the agent log when you start the agent and run "snmpwalk ... ifTable" against it?

     
  • Nobody/Anonymous

    Logged In: NO

    Did you use a plain "./configure" (w/o optons) to build net-snmp?
    In fact, I tried several options (as explained in the file README.aix : --enable-as-needed --without-kmem-usage) and with or without theses options, the result is the same.
    Are you running on an AIX system with 64-bit kernel?
    Yes. The system is AIX 5.3 TL6 SP2 (the last) in 64 bits.
    Have you read README.aix?
    Yes.
    What error messages does the agent log when you start the agent and run
    "snmpwalk ... ifTable" against it?
    At the startup (snmpd -f -L), the daemon says three times :
    "netsnmp_assert !"registration != duplicate" failed agent_registry.c:535"
    and it shows the version, that's all.

     
  • Thomas Anders

    Thomas Anders - 2007-11-01

    Logged In: YES
    user_id=848638
    Originator: NO

    If you have a 64-bit kernel, I fear you're out of luck. The current nlist-based ifTable implementation for AIX doesn't work with 64-bit kernels, AFAIK. It'll need a volunteer to propose a better implementation.

    As a workaround, you *may* be able to run IBM's AIX SNMP agent on a different port and configure Net-SNMP to proxy ifTable to the AIX agent (assumed it implements ifTable properly). Questions concerning this approach should be directed to the mailing list instead of here, though.

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 180 days (the time period specified by
    the administrator of this Tracker).

     
  • daivd z

    daivd z - 2009-08-19

    this bug fixed now?

     
  • daivd z

    daivd z - 2009-08-19

    this bug has been fixed now?

     
  • Thomas Anders

    Thomas Anders - 2009-08-19

    This problem (aka "missing functionality") is still present. It still needs a volunteer to work on it.

     

Log in to post a comment.

MongoDB Logo MongoDB