Re: SNMP on 64bit platform

"Taymour A. El Erian" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave Shield wrote:
> On 15/04/2008, Taymour A. El Erian <[email protected]> wrote:
>   
>>  I had to comment out the declaration of passwd (compilation error since it
>> is defined in the function) and the patch worked and the output below, can
>> you tell me what it means ?
>>     
>
> I can *guess*.
> Please remember that the SMUX code is effectively unsupported,
> since this protocol has basically been superceded by AgentX.
> (And there's no-one in the Net-SNMP team that really understands
> the SMUX code any more!)
>
>
>   
>>  smux: [smux_auth_peer] Authorizing:
>>       SNMPv2-SMI::enterprises.3317.1.3.1, password
>>     
>
> This looks as if the SMUX subagent is trying to register
>     .1.3.6.1.4.1.3317.1.3.1
>
>
>   
>>  smux: [smux_auth_peer] Checking OID:
>>       SNMPv2-SMI::enterprises.674.10892.1 (0)
>>  smux: [smux_auth_peer] Checking OID:
>>       SNMPv2-SMI::enterprises.3317.1.3 (1)
>>     
>
> This looks as if the SNMP master agent has "smux" configuration
> entries for
>     .1.3.6.1.4.1.674.10892.1
>   
This is Dell's OpenManage OID and it is working (not using password)
> and
>     .1.3.6.1.4.1.3317.1.3
>
>
>   
FreeRADIUS OID
>   
>>  refused smux peer: oid SNMPv2-SMI::enterprises.3317.1.3.1
>>     
>
> There isn't a configuration entry that matches the OID being
> registered, so the registration fails.
>     (enterprises.3317.1.3  !=  enterprises.3317.1.3.1)
>   
Actually snmpd.conf only has this

smuxpeer .1.3.6.1.4.1.674.10892.1
smuxpeer .1.3.6.1.4.1.3317.1.3.1 password


I tried adding .1.3.6.1.4.1.3317.1.3, still not working
> Try tweaking the snmpd.conf file to specify
>
>     .1.3.6.1.4.1.3317.1.3.1
>
> instead.
>
>   
I removed the password between FreeRADIUS and SMUX
and here is the debug (with testing with snmpwalk which returned nothing)

smux: [smux_auth_peer] Authorizing: SNMPv2-SMI::enterprises.3317.1.3.1,
smux: [smux_auth_peer] Checking OID: SNMPv2-SMI::enterprises.674.10892.1 (0)
smux: [smux_auth_peer] Checking OID: SNMPv2-SMI::enterprises.3317.1.3.1 (1)
smux: [smux_auth_peer] Checking P/W:  (-1)
accepted smux peer: oid SNMPv2-SMI::enterprises.3317.1.3.1, descr radiusd
smux: [smux_accept] fd 9
smux: [smux_pdu_process] Processing 40 bytes
smux: [smux_pdu_process] type is 98
smux: [smux_rreq_process] smux subtree: SNMPv2-SMI::mib-2.67.1.1.1.1
smux: [smux_rreq_process] priority -1
smux: [smux_rreq_process] operation 1
smux: [smux_pdu_process] type is 98
smux: [smux_rreq_process] smux subtree: SNMPv2-SMI::mib-2.67.2.1.1.1
smux: [smux_rreq_process] priority -1
smux: [smux_rreq_process] operation 1

Received 46 bytes from UDP: [127.0.0.1]:32785
0000: 30 2C 02 01  01 04 06 70  75 62 6C 69  63 A1 1F 02    0,.....public...
0016: 04 7F A6 EE  CB 02 01 00  02 01 00 30  11 30 0F 06    ...........0.0..
0032: 0B 2B 06 01  02 01 43 02  01 01 01 05  05 00          .+....C.......

Received SNMP packet(s) from UDP: [127.0.0.1]:32785
  GETNEXT message
    -- SNMPv2-SMI::mib-2.67.2.1.1.1.5
smux: [smux_snmp_process] oid from build: SNMPv2-SMI::mib-2.67.2.1.1.1.5
smux: [smux_snmp_process] Sent 0 request to peer; 36 bytes

> (But that's a complete guess - see above!)
>
> Dave
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> 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
>
>
>   


-- 
Taymour A El Erian
System Division Manager
RHCE, LPIC, CCNA, MCSE, CNA
TE Data
E-mail: [email protected]
Web:     www.tedata.net
Tel:    +(202)-33320700
Fax:	+(202)-33320800
Ext:    1101



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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.