Re: [Fwd: Re: Solaris 10 - Counter64 values are not shown]

Anders Persson <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Frank,

There appears to be a bug in Solaris (libsocket to be specific). I'll 
get a workaround going.

Anders

Frank Munsche wrote:
> It's running within a nonglobal zone
>
> lo0:2: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
> index 1
>         inet 127.0.0.1 netmask ff000000
> e1000g0:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
>         inet 192.168.100.210 netmask ffffff00 broadcast 192.168.100.255
>
> Have the output of ./snmpd -D access:interface:container:arch -D kernel_sunos5  
> attached.
>
>
>
>
> On Tuesday 11 December 2007, Anders Persson wrote:
>   
>> Hmm... this is looking bogus. Could you please add -D kernel_sunos5.
>> Adding this debug flag will generate a lot of output, so you better
>> redirect to a file.
>>
>> Also, how many interfaces does your system have?
>>
>> Anders
>>
>> Frank Munsche wrote:
>>     
>>> Hello Anders,
>>>
>>> here it is:
>>>
>>> No log handling enabled - turning on stderr logging
>>> registered debug token access:interface:container:arch, 1
>>> netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
>>> netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
>>> netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
>>> access:interface:container:arch: load (flags 0)
>>> access:interface:container:arch: processing ''
>>> access:interface:container:arch: interface '' have 32-bit stat counters
>>> access:interface:container:arch: processing ''
>>> access:interface:container:arch: interface '' have 32-bit stat counters
>>> error on subcontainer 'interface container' insert (-1)
>>> access:interface:container:arch: processing ''
>>> access:interface:container:arch: interface '' have 32-bit stat counters
>>> error on subcontainer 'interface container' insert (-1)
>>> access:interface:container:arch: processing ''
>>> access:interface:container:arch: interface '' have 32-bit stat counters
>>> error on subcontainer 'interface container' insert (-1)
>>> access:interface:container:arch: processing ''
>>> access:interface:container:arch: interface '' have 32-bit stat counters
>>> error on subcontainer 'interface container' insert (-1)
>>> access:interface:container:arch: processing ''
>>> access:interface:container:arch: interface '' have 32-bit stat counters
>>> error on subcontainer 'interface container' insert (-1)
>>> access:interface:container:arch: processing ''
>>> access:interface:container:arch: interface '' have 32-bit stat counters
>>> error on subcontainer 'interface container' insert (-1)
>>> access:interface:container:arch: processing ''
>>> access:interface:container:arch: interface '' have 32-bit stat counters
>>> error on subcontainer 'interface container' insert (-1)
>>> access:interface:container:arch: processing ''
>>> access:interface:container:arch: interface '' have 32-bit stat counters
>>> error on subcontainer 'interface container' insert (-1)
>>> access:interface:container:arch: processing ''
>>> access:interface:container:arch: interface '' have 32-bit stat counters
>>> error on subcontainer 'interface container' insert (-1)
>>> access:interface:container:arch: processing ''
>>> access:interface:container:arch: interface '' have 32-bit stat counters
>>> error on subcontainer 'interface container' insert (-1)
>>> access:interface:container:arch: processing ''
>>> access:interface:container:arch: interface '' have 32-bit stat counters
>>> error on subcontainer 'interface container' insert (-1)
>>> access:interface:container:arch: processing ''
>>> access:interface:container:arch: interface '' have 32-bit stat counters
>>> error on subcontainer 'interface container' insert (-1)
>>> access:interface:container:arch: processing ''
>>> ...
>>>
>>>
>>>
>>> regards,
>>> Frank
>>>
>>> On Tuesday 11 December 2007, Anders Persson wrote:
>>>       
>>>> Hi Frank,
>>>>
>>>> So it seems you are still experiencing some problems...
>>>>
>>>> Could you start the agent with -D access:interface:container:arch, and
>>>> send the output to me? Also, a short description of your system (OS
>>>> version & NICs in particular) would also be helpful.
>>>>
>>>> Thanks,
>>>> Anders
>>>>
>>>> Thomas Anders wrote:
>>>>         
>>>>> Anders,
>>>>>
>>>>> are you still reading net-snmp-users to be able to chime in on
>>>>> questions wrt. your rewrites for Solaris?
>>>>>
>>>>>
>>>>> Cheers,
>>>>> Thomas
>>>>>
>>>>>
>>>>>
>>>>> -----------------------------------------------------------------------
>>>>> -
>>>>>
>>>>> Subject:
>>>>> Re: Solaris 10 - Counter64 values are not shown
>>>>> From:
>>>>> Frank Munsche <[email protected]>
>>>>> Date:
>>>>> Tue, 11 Dec 2007 15:28:37 +0100
>>>>> To:
>>>>> [email protected]
>>>>>
>>>>> To:
>>>>> [email protected]
>>>>>
>>>>>
>>>>> Hello Thomas,
>>>>>
>>>>> I've built it from scratch again, included the config of section 10.
>>>>> Unfortunately, snmpd doesn' t start cleanly anymore:
>>>>>
>>>>>
>>>>> error on subcontainer 'interface container' insert (-1)
>>>>> error on subcontainer 'interface container' insert (-1)
>>>>> error on subcontainer 'interface container' insert (-1)
>>>>> error on subcontainer 'interface container' insert (-1)
>>>>> error on subcontainer 'interface container' insert (-1)
>>>>> error on subcontainer 'interface container' insert (-1)
>>>>> error on subcontainer 'interface container' insert (-1)
>>>>> error on subcontainer 'interface container' insert (-1)
>>>>> error on subcontainer 'interface container' insert (-1)
>>>>> error on subcontainer 'interface container' insert (-1)
>>>>>
>>>>> On Tuesday 11 December 2007, Thomas Anders wrote:
>>>>>           
>>>>>> Frank Munsche wrote:
>>>>>>             
>>>>>>> So finally, I've built the 5.4.1 from source (32 bit), but the result
>>>>>>> remains the same. No counter64.
>>>>>>>               
>>>>>> You need to change your compile-time configuration. See the section
>>>>>> "10. MIB rewrites for IF-MIB, TCP-MIB and UDP-MIB" in README.solaris
>>>>>> (as shipped with 5.4.1).
>>>>>>
>>>>>>
>>>>>> +Thomas
>>>>>>             
>>>>> -----------------------------------------------------------------------
>>>>> -- SF.Net email is sponsored by:
>>>>> Check out the new SourceForge.net Marketplace.
>>>>> It's the best place to buy or sell services for
>>>>> just about anything Open Source.
>>>>> http://sourceforge.net/services/buy/index.php
>>>>> _______________________________________________
>>>>> 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
>>>>>           
>
>   


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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.