[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - Graph CPUs

Cheshire Cat Computing

Software support and information
It is currently Sat Nov 08, 2025 8:23 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Graph CPUs
PostPosted: Wed Dec 22, 2004 4:31 am 
Offline
Silver User

Joined: Fri Sep 10, 2004 4:07 am
Posts: 22
I am attempting to graph cpu utilization on a dual processor machine. I am receiving data, I just need a magnifying glass to see it the graph line as it is so small. This is an e mail server that also does nightly backups so I think I am using more than .07% of the processors capacity.

Here is my cfg file.

Target[EXCHANGE02_CPU_Utilization]:1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108&1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108:public@172.18.1.14
Routers.cgi*MODE[EXCHANGE02_CPU_Utilization]: CPU
Routers.cgi*Options[EXCHANGE02_CPU_Utilization]: Fixunit nototal
MaxBytes[EXCHANGE02_CPU_Utilization]: 100000
Factor[EXCHANGE02_CPU_Utilization]:0.01
Title[EXCHANGE02_CPU_Utilization]: CPU Utilization
Options[EXCHANGE02_CPU_Utilization]: growright, gauge, noo
WithPeak[EXCHANGE02_CPU_Utilization]: ymw
LegendO[EXCHANGE02_CPU_Utilization]:  Load:
YLegend[EXCHANGE02_CPU_Utilization]: % Utilization
ShortLegend[EXCHANGE02_CPU_Utilization] : %
Legend1[EXCHANGE02_CPU_Utilization]: CPU load in next minute
Legend2[EXCHANGE02_CPU_Utilization]: CPU load in next minute
Legend3[EXCHANGE02_CPU_Utilization]: Max load over 5 minutes
Legend4[EXCHANGE02_CPU_Utilization]: Max load over 5 minutes
LegendI[EXCHANGE02_CPU_Utilization]:  Load:
Suppress[EXCHANGE02_CPU_Utilization]: y

Any suggestions?


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Wed Dec 22, 2004 10:07 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Assuming that the OID returns CPU usage in hundredths of a %, then you need a Factor[]: 0.01 and a MaxBytes[]: 10000 (Your maxbytes is too big). You may also want 'routers.cgi*Options[]: scaled nopercent fixunit' for the display.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Wed Dec 22, 2004 10:53 am 
Offline
Silver User

Joined: Fri Sep 10, 2004 4:07 am
Posts: 22
I have no idea what percentage the oid returns. When I MIBwalk it returns a whole number. I will try .1 and .01 to see if there is a difference. I am curious as to why legends 3 and 4 do not appear anywhere within routers2.cgi. Do you have a generic framework that would make writing these graphs easier?


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Wed Dec 22, 2004 3:30 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Legends 2 and 4 will not appear because you have option 'noo'. Legend 3 will only appear for weekly, monthly and yearly (unless you have a 1-min interval in which case it appears for daily as well) since it is used for peak lines which are meaningless on a daily single-point summary.

It sould be a good idea to find out exactly what the OID returns. Some devices (eg, Cisco routers) return it a whole percentage points (so no Factor[] required, MaxBytes[]=100). Other devices return it in tenths or hundredths of a percentage point. I suspect the thing you are monitoring (whatever it is) is returning it in whole percentage points?

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue Apr 26, 2005 2:31 am 
Offline
Silver User

Joined: Tue Apr 26, 2005 2:08 am
Posts: 11
Don't forget

CPU load get's the integer value

sow your value in your database is never bigger than 100

I've had the same problem with a single CPU
Try to add the integer option to your config file
like this:

Options[device]: Integer, gauge, etc......


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group