cpu idle time and snmp

Paolo Cavarretta paolo_cavarretta at yahoo.it
Fri Jan 16 09:39:44 UTC 2004


Hello,

I would like to monitor cpu usage of box A with Fedora
Core 1 using snmp from box B with 
windows 2000 and openSTA agent (www.opensta.org).

The value I receive is always the same and doesn't
change value during the monitoring interval.
So i try to get the cpu usage through snmp directly on
the box A typing

snmpget -v1 -c public localhost
.1.3.6.1.4.1.2021.11.ssCpuIdle.0
or
snmpwalk -v1 -c public
localhost.1.3.6.1.4.1.2021.11.ssCpuIdle.0

and i always get
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 89

(i get the same value with version -v2c)
i'm sure the cpu idle % is changing because vmstat
reports the correct values.

i'm using 
net-snmp-5.1-2.1
net-snmp-utils-5.1-2.1

any ideas?

thanks,
Paolo


______________________________________________________________________
Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il filtro Anti-spam
http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/





More information about the fedora-list mailing list