> On Wed, 06 Jul 2005 09:53:37 -0400 Don wrote: > DS> Is there a way to get kernel stats out of the net-snmp agent? > DS> Items like paging info or disk i/o etc. > > Yes, depending on the OS. Try configuring in the following modules: > host,ucd_snmp,ucd-snmp/memory,ucd-snmp/vmstat,ucd-snmp/diskio >
My config log shows: config.log:MODULE_LIST=' mibII/system_mib <snip> \ ucd-snmp/vmstat_solaris2 <snip> What's the OID for the vmstat variables? I have items such as the below but they're not paging info or what I'd expect from vmstat output ie. kb page in/out or reclaims: UCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats UCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 0 UCD-SNMP-MIB::ssSwapOut.0 = INTEGER: 0 UCD-SNMP-MIB::ssIOSent.0 = INTEGER: 0 UCD-SNMP-MIB::ssIOReceive.0 = INTEGER: 0 UCD-SNMP-MIB::ssSysInterrupts.0 = INTEGER: 4565 UCD-SNMP-MIB::ssSysContext.0 = INTEGER: 4257 UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 2 UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 28 UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 70 UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 147529 UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 251440 UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 2372725 UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 84517 UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 166923 UCD-SNMP-MIB::ssIORawSent.0 = Counter32: 33073 UCD-SNMP-MIB::ssIORawReceived.0 = Counter32: 39279 UCD-SNMP-MIB::ssRawInterrupts.0 = Counter32: 28094894 UCD-SNMP-MIB::ssRawContexts.0 = Counter32: 19254439 Don ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ 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
