Re: Compile trouble with 5.4pre3
Mike Brodbelt <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2006-10-04 at 20:42 +0100, Dave Shield wrote: > On 03/10/06, Mike Brodbelt <[email protected]> wrote: > > > > > Unfortunately, the UCD-SNMP-MIB::systemStats stuff is still broken on > > > > Solaris (apparently because the Solaris version of the new hardware > > > > abstraction layer code in cpu_kstat.c isn't functioning properly. Is > > > > there any likelihood of this getting fixed before release? > > > Great - if it's any help I can easily test it on Sun > > X2100/X4100/v40z/T1000 machines. > > I think I've managed to put together some changes that seem to fix the problem. > Can you please try with the attached files. Hopefully it should be > fairly obvious where they belong. Any problems, let me know. > > I look forward to hearing how you get on. It doesn't seem to be working for me. I've dropped the new files in and recompiled, but snmpwalk now times out on that part of the MIB:- # snmpwalk -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11 UCD-SNMP-MIB::ssIndex.0 = INTEGER: 1 UCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats Timeout: No Response from localhost Individual get requests to each OID don't timeout, but some of them take noticeably longer to complete than others, and all return zero:- # snmpget -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11.50.0 UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 0 [root@ts-002 5.4]# snmpget -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11.51.0 UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 0 [root@ts-002 5.4]# snmpget -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11.52.0 UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 0 [root@ts-002 5.4]# snmpget -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11.53.0 UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 0 [root@ts-002 5.4]# snmpget -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11.54.0 UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 0 [root@ts-002 5.4]# snmpget -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11.55.0 UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 0 [root@ts-002 5.4]# snmpget -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11.56.0 UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 0 [root@ts-002 5.4]# snmpget -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11.57.0 UCD-SNMP-MIB::ssIORawSent.0 = Counter32: 0 [root@ts-002 5.4]# snmpget -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11.58.0 UCD-SNMP-MIB::ssIORawReceived.0 = Counter32: 0 [root@ts-002 5.4]# snmpget -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11.59.0 UCD-SNMP-MIB::ssRawInterrupts.0 = Counter32: 0 [root@ts-002 5.4]# snmpget -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11.60.0 UCD-SNMP-MIB::ssRawContexts.0 = Counter32: 0 [root@ts-002 5.4]# snmpget -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11.61.0 UCD-SNMP-MIB::ssCpuRawSoftIRQ.0 = Counter32: 0 [root@ts-002 5.4]# snmpget -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11.62.0 UCD-SNMP-MIB::ssRawSwapIn.0 = Counter32: 0 [root@ts-002 5.4]# snmpget -v 2c -c public -t 5 localhost .1.3.6.1.4.1.2021.11.63.0 UCD-SNMP-MIB::ssRawSwapOut.0 = Counter32: 0 So, no joy for me - sorry :-( Mike ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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