Hi Renato,

#
# CPU Monitoring
# (Scaled so that the sum of all three values doesn't exceed 100)
#

 

Target[server.cpu]:ssCpuRawUser.0&ssCpuRawUser.0:[EMAIL PROTECTED] +
ssCpuRawSystem.0&ssCpuRawSystem.0:[EMAIL PROTECTED] +
ssCpuRawNice.0&ssCpuRawNice.0:[EMAIL PROTECTED]
Title[server.cpu]: Server CPU Load
PageTop[server.cpu]: <H1>CPU Load - System, User and Nice Processes</H1>
MaxBytes[server.cpu]: 100
ShortLegend[server.cpu]: %
YLegend[server.cpu]: CPU Utilization
Legend1[server.cpu]: Current CPU percentage load
LegendI[server.cpu]: Used
LegendO[server.cpu]:
Options[server.cpu]: growright,nopercent
Unscaled[server.cpu]: ymwd

If you change craz33guy to your community name and localhost to your
computers ip address.  This should work.

http://www.siliconvalleyccie.com/linux-hn/mrtg-advanced.htm#_Toc69579353

Here is a config file from the link above and a tutorial about how to do
processor as well as memory.  These are a few of the links that I found when
I started that I found helpful.

http://www.dalantech.com/boards/showflat-Cat--Number-45145-page--view--sb-5-
o-.html
http://net-snmp.sourceforge.net/tutorial-5/mrtg/index.html
http://www.wtcs.org/snmp4tpc/mrtg.htm
http://howto.aphroland.de/HOWTO/MRTG/FrontPage

I hope this is helpful.

Troy Bifulco
Powder River Energy Corp
 
-----Original Message-----
From: Renato Fiche Junior [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 03, 2004 11:44 AM
To: [EMAIL PROTECTED]
Subject: Current CPU Usage


Hello,

how can i get the current CPU usage (in %) from a host?

i am trying to use UCD-SNMP-MIB::ssCpuRawUser.0,
UCD-SNMP-MIB::ssCpuRawSystem.0 and UCD-SNMP-MIB::ssCpuRawNice.0 variables
and a MRTG sample (at net-snmp website) shows that MRTG uses the sum of such
3 variables, but i really dont know how MRTG translates them into
percentage.

Could you help me?

Sorry but i am beginner in snmp...

Thanks & Regards,

Renato Fiche Junior.

Improve It - www.improveit.com.br
Software Just-In-Time
tel.: +55 21 2586-6324
fax: +55 21 2586-6001
cel.: +55 21 9124-1219



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one
more big change to announce. We are now OSTG- Open Source Technology Group.
Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
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


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
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

Reply via email to