Getting SystemStats from net-snmp cvs on Solaris
Mike Brodbelt <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I've built a nightly tarball of net-snmp on Solaris so I can get access to information out of the LMSENSORS MIB. That works fine, but my CPU use graphs have all stopped working. Looking at the values from the agent now, I'm getting no results:- # /usr/local/bin/sparcv9/snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.2021.11 UCD-SNMP-MIB::ssIndex.0 = INTEGER: 1 UCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 0 UCD-SNMP-MIB::ssIORawSent.0 = Counter32: 0 UCD-SNMP-MIB::ssIORawReceived.0 = Counter32: 0 UCD-SNMP-MIB::ssRawInterrupts.0 = Counter32: 0 UCD-SNMP-MIB::ssRawContexts.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawSoftIRQ.0 = Counter32: 0 UCD-SNMP-MIB::ssRawSwapIn.0 = Counter32: 0 UCD-SNMP-MIB::ssRawSwapOut.0 = Counter32: 0 Is there something I've not built, that I need to compile in to get these values? The agent configuration is:- # /usr/local/bin/sparcv9/snmpget -v 2c -c public localhost .1.3.6.1.4.1.2021.100.6.0 UCD-SNMP-MIB::versionConfigureOptions.0 = STRING: '--prefix=/usr/local' '--libdir=/usr/local/lib/sparcv9' '--libexecdir=/usr/local/libexec/sparcv9' '--bindir=/usr/local/bin/sparcv9' '--sbindir=/usr/local/sbin/sparcv9' '--datadir=/usr/local/share' '--sysconfdir=/etc' '--localstatedir=/var' '--with-mib-modules=host ucd-snmp/diskio disman/event-mib smux mibII/mta_sendmail ucd-snmp/lmSensors' '--with-default-snmp-version=2' '[email protected]' '--with-sys-location=London' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/Var/net-snmp' '--with-default-snmp-version=3' '--enable-shared=yes' '--enable-developer=yes' '--enable-agentx-dom-sock-only' '--with-libs=-ldl' '--with-cc=/usr/local/bin/gcc' '--with-cflags=-m64 -Dsolaris_2 -mcpu=v9 -Wa,-xarch=v9b' '--with-transports=UDP TCP' '--with-ldflags=-R/lib/sparcv9 -R/usr/lib/sparcv9 -R/usr/local/lib/sparcv9 -m64' '--libdir=/usr/sfw/lib/sparcv9' Any help would be much appreciated. The binaries from Sun freeware produce values for the SystemStats OID group, so I know it must be possible to get it to work. Thanks, Mike ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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