Snmp question

From: Sébastien Cantos (scantos@technodiva.com)
Date: Thu Mar 04 2004 - 08:07:42 EST


Hello,

I'm trying to set up a CPU usage monitoring with ucdavis snmp. I've read in
a tutorial which says to sum up this 3 variables:
ssCpuRawUser + ssCpuRawSystem + ssCpuRawNice to get an active cpu usage
value.

The problem is that ssCpuRawNice seems to not exists in Solaris.

bash-2.00# snmpwalk -c xxxxxxxxxxxxxxxxxxx -v2c localhost ucdavis | grep -i
cpu
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 2
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 98
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 35514
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 56850
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 1297419
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 21957
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 34893

I only have those variables.
Should I replace the Nice variable with another one ?

Thanks in advance for your answers.

Regards,

--
Sibastien Cantos <scantos@technodiva.com>
Responsable riseau et systhmes
Neopost DIVA
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:11 EDT