| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| Graph CPUs http://steveshipway.org/forum/viewtopic.php?f=2&t=440 |
Page 1 of 1 |
| Author: | mrrlg [ Wed Dec 22, 2004 4:31 am ] |
| Post subject: | Graph CPUs |
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? |
|
| Author: | stevesh [ Wed Dec 22, 2004 10:07 am ] |
| Post subject: | |
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. |
|
| Author: | mrrlg [ Wed Dec 22, 2004 10:53 am ] |
| Post subject: | |
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? |
|
| Author: | stevesh [ Wed Dec 22, 2004 3:30 pm ] |
| Post subject: | |
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? |
|
| Author: | nathan [ Tue Apr 26, 2005 2:31 am ] |
| Post subject: | |
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...... |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|