iowait graphics
Moderators: Developers, Moderators
Ok, looks great. Two (three) questions:lvm wrote:Just compiled the modified Graph Template along with ALL xxxCPUxxx OIDs from HOST MIB. Currently, I'm not that satisfied, as it does not show exactly 100 % as it should. See screenshot attached
Reinhard
1. Can you export this template, so I can download it?
2. Do I really have to touch all existing DataSources? We have some more hosts....
[EDIT]3. What about SMP-Hosts? Does it graph them right?
I have to wakeup the old thread- because I have the same problem. I want to monitor the IOWait from my linux-boxes.mtsm wrote:nice!! it's working...i extended ucd/net cpu usage as you suggested
I looked in the UCD-SNMP-MIB.txt and found an entry:
Code: Select all
ssCpuRawWait OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"iowait CPU time. This is primarily a SysV thingie"
::= { systemStats 54 }
Are these steps right?
Ok, then I created a new graph template (copied from 02 - ucd/net - CPU Usage) and inserted four new items (with same setting as the other values like nice and system).
This graph template has been added to a ucd-host.
Now there's my problem, that no IOWaits will be monitored. The rrd-graph is shown and he shows the values, but he shows no iowaits (and there are some!)
In the png at IT-Wait I find "nan" (on System, too ). Why are they "nan"?
Anyone any hints?
THX for your tips. The nan Links didn't help at all. But I foudn the solution myself:lvm wrote:Please see my signature for a link to NaN Debugging. Post a screenshot and add the full rrdtool graph statement (from Graph Management, DEBUG) to help debugging
Reinhard
We used RedHat EL3. Red Hat has patched his 2.4 Kernel to show IO-Waits in top, vmstat and so on.
But they haven't patched their net-snmp packet, which only shows IO-Waits if there is a 2.6 Kernel
I'm on the way to recompile the net-snmp packet to skip the test for the 2.6 kernel.
- Instigater
- Cacti User
- Posts: 141
- Joined: Mon Dec 13, 2004 5:14 pm
- Location: Jurmala, Latvia
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Here they are.
Pay Attention! If you are using non-standard rrd definitions, importing this will reset them to default. Please write your current settings down to be able to restore them.
Warning to users of non-standard polling times! The precaution appies to you as well!
Exported using cacti 0.8.6j, fully patched. So you will need at least this version to import
Reinhard
Pay Attention! If you are using non-standard rrd definitions, importing this will reset them to default. Please write your current settings down to be able to restore them.
Warning to users of non-standard polling times! The precaution appies to you as well!
Exported using cacti 0.8.6j, fully patched. So you will need at least this version to import
Reinhard
- Attachments
-
- How it looks like
- iostat.png (79.07 KiB) Viewed 8737 times
-
- cacti_graph_template_ucdnet_full_cpu_usage.xml
- The Graph Templates, including all dependencies.
- (38.9 KiB) Downloaded 1447 times
Last edited by gandalf on Sat Jan 27, 2007 3:33 pm, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Only way to fix the 100% is to make it a script and "walk" the OID's so that it get the information from the kernel all in one OS call. By performing multiple snmpget's, you don't achieve this (I think).
This is how it's been with other type of transactions in the past. Problem with this is that it slow's things down of course. Script (outside of script server) slow things down measurably.
TheWitness
This is how it's been with other type of transactions in the past. Problem with this is that it slow's things down of course. Script (outside of script server) slow things down measurably.
TheWitness
Last edited by TheWitness on Sat Jan 27, 2007 3:56 pm, edited 1 time in total.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I edited my sleepish comment. It's the OID's not the Interfaces Larry (you idiot). Ok enough of that, well I suspect that you poll the entire host cpu information at once, it will pull the information from the operating system all at once thus keeping your total at 100%.
On the other hand, if you make multiple calls similar to the way that the "out-of-the-box" net-snmp graph template does, net-snmp (agent) polls the OS multiple times, resulting in minor deviations from 100%.
TheWitness
On the other hand, if you make multiple calls similar to the way that the "out-of-the-box" net-snmp graph template does, net-snmp (agent) polls the OS multiple times, resulting in minor deviations from 100%.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Multiple CPU support?
I understand there is another thread on multiple CPU (e.g 2-way, 4-way servers). Does this xml takes that in consideration?
Thanks
MM
Thanks
MM
Who is online
Users browsing this forum: No registered users and 0 guests