Disk Graphs show totals as "nan" now
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
The heartbeat on the second Data Source is too low. It should be 600, and instead it's 120. I suspect someone attempted to do 1 minute polling and therefore your RRD's are damaged. This had to have happened from when they were created. Maybe at one time you were polling at 1 minute. This is pretty hard to fix.
You need to modify the Data Template to return the heartbeat's to 600, and then goto www.rrdtool.org to research how to change that heartbeat. You may end up having to use a contrib script to do it.
TheWitness
You need to modify the Data Template to return the heartbeat's to 600, and then goto www.rrdtool.org to research how to change that heartbeat. You may end up having to use a contrib script to do it.
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?
Same problem
Hello,
after upgrading from 0.8.7b to 0.8.7e with all patches, i have the same problem.
I made a debug cacti log and it seems that the first HDD that is polled makes the problem.
I have on server where i have problems with HDD C:,
and another has the problem with HDD D:.
Please take a look at the PDF.
after upgrading from 0.8.7b to 0.8.7e with all patches, i have the same problem.
I made a debug cacti log and it seems that the first HDD that is polled makes the problem.
I have on server where i have problems with HDD C:,
and another has the problem with HDD D:.
Please take a look at the PDF.
- Attachments
-
- CactiLog.pdf
- (117.31 KiB) Downloaded 130 times
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Then, fix the problem. If it's the same problem, you can follow the instructions that I provided to correct the issue.
TheWitness
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?
Thanks ... Just in case someone else comes across this, I just manually updated each of my disk rrd's and they are reporting/graphing the totals now.TheWitness wrote:The heartbeat on the second Data Source is too low. It should be 600, and instead it's 120. I suspect someone attempted to do 1 minute polling and therefore your RRD's are damaged. This had to have happened from when they were created. Maybe at one time you were polling at 1 minute. This is pretty hard to fix.
You need to modify the Data Template to return the heartbeat's to 600, and then goto www.rrdtool.org to research how to change that heartbeat. You may end up having to use a contrib script to do it.
TheWitness
a sample of "tune" I had to do is:
rrdtool tune ssimsapp00_hdd_used_105.rrd -h hdd_total:600
Thanks again for the help
Out of the 40 or so disk checks, all are working as normal except 5 (C:\ only ... the other drives are reporting normal)
I reset the poller cache and now I get "totals" but not "used". The "used" space on those 5 all show "0". I can't find anything different about these 5 from the others (same templates ...)
PHP Script Server has Started - Parent is cmd
/var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.167.238 5 1:161:500:1:10:public:::MD5::DES: get used 2
15579299840
/var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.167.238 5 1:161:500:1:10:public:::MD5::DES: get total 2
21476171776
/var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.167.238 5 1:161:500:1:10:public:::MD5::DES: get used 2
0
04/29/2010 08:27:17 AM - PHPSVR: Poller[0] Maximum runtime of 52 seconds exceeded for the Script Server. Exiting.
I reset the poller cache and now I get "totals" but not "used". The "used" space on those 5 all show "0". I can't find anything different about these 5 from the others (same templates ...)
PHP Script Server has Started - Parent is cmd
/var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.167.238 5 1:161:500:1:10:public:::MD5::DES: get used 2
15579299840
/var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.167.238 5 1:161:500:1:10:public:::MD5::DES: get total 2
21476171776
/var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.167.238 5 1:161:500:1:10:public:::MD5::DES: get used 2
0
04/29/2010 08:27:17 AM - PHPSVR: Poller[0] Maximum runtime of 52 seconds exceeded for the Script Server. Exiting.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yea, my comment about MS' implementation is that it's designed to fail. Too much overhead with regard to the disk stuff.
The reason being is that when you ask the question of one disk, it refreshes for all disks. If the disks are not mounted (A: drive who has those any more). It just waits for each to time out. They need to give it an overhaul.
TheWitness
The reason being is that when you ask the question of one disk, it refreshes for all disks. If the disks are not mounted (A: drive who has those any more). It just waits for each to time out. They need to give it an overhaul.
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?
Who is online
Users browsing this forum: No registered users and 1 guest