Cacti 0.8.8b Preview Mode Graphs bug ?
Moderators: Developers, Moderators
Cacti 0.8.8b Preview Mode Graphs bug ?
hello
after i update my cacti to 0.8.8b,the Preview Mode Graphs will not display,like this but when turn it on, the Graphs is ok so what is the problem?
after i update my cacti to 0.8.8b,the Preview Mode Graphs will not display,like this but when turn it on, the Graphs is ok so what is the problem?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cacti 0.8.8b Preview Mode Graphs bug ?
The bug is related to COMMENT handling and has been fixed.
Patch has been poted to the forum for testing, will attach here as well
R.
Patch has been poted to the forum for testing, will attach here as well
R.
- Attachments
-
- cacti088b_empty_comment.patch
- (2.56 KiB) Downloaded 1587 times
Re: Cacti 0.8.8b Preview Mode Graphs bug ?
Hi gandalfgandalf wrote:The bug is related to COMMENT handling and has been fixed.
Patch has been poted to the forum for testing, will attach here as well
R.
When i use this patch , display error:
patch -p1 -N < cacti088b_empty_comment.patch
patching file rrd.php
Hunk #1 FAILED at 1343.
1 out of 1 hunk FAILED -- saving rejects to file rrd.php.rej
help
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cacti 0.8.8b Preview Mode Graphs bug ?
Please post the reject file.
R.
R.
-
- Posts: 3
- Joined: Sat Aug 17, 2013 9:47 am
Re: Cacti 0.8.8b Preview Mode Graphs bug ?
I have the same problem. Attached the .rej
Thanks in advance
Thanks in advance
- Attachments
-
- rrd.php.rej.txt
- (2.42 KiB) Downloaded 522 times
-
- Posts: 3
- Joined: Sat Aug 17, 2013 9:47 am
Re: Cacti 0.8.8b Preview Mode Graphs bug ?
The problem appears when activated Thumbnails.
Hows it could solve?
Thanks
Hows it could solve?
Thanks
- Attachments
-
- cacti.jpg (30.66 KiB) Viewed 15214 times
-
- Posts: 3
- Joined: Sat Aug 17, 2013 9:47 am
Re: Cacti 0.8.8b Preview Mode Graphs bug ?
I SOLVED the problem by replacing the files from the links
http://svn.cacti.net/viewvc/cacti/branc ... threv=7418
http://svn.cacti.net/viewvc/cacti/branc ... p?view=log
Thanks
http://svn.cacti.net/viewvc/cacti/branc ... threv=7418
http://svn.cacti.net/viewvc/cacti/branc ... p?view=log
Thanks
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cacti 0.8.8b Preview Mode Graphs bug ?
a good move
R.
R.
Re: Cacti 0.8.8b Preview Mode Graphs bug ?
You saved my day . Thanx so much
Re: Cacti 0.8.8b Preview Mode Graphs bug ?
so why hasnt this path been intergrated into the release? its quite serious, are you going to leave the latest version buggy for months?
Re: Cacti 0.8.8b Preview Mode Graphs bug ?
I just installed Cacti version Version 0.8.8b and seem to have a similar problem.
This only happens with "interface" templates.
All others display fine, but devices using the template Interface + Total Bandwidth are dead images. When I click on them they do work.
Is this the same bug?
This only happens with "interface" templates.
All others display fine, but devices using the template Interface + Total Bandwidth are dead images. When I click on them they do work.
Is this the same bug?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cacti 0.8.8b Preview Mode Graphs bug ?
The bug is related to some specific COMMENTs. Graph templates that don't use those will work
R.
R.
Re: Cacti 0.8.8b Preview Mode Graphs bug ?
For anyone that finds this thread because you have the same problem (and have 0.8.8b installed), I have created a patch file.
Only use this patch if you have the original lib/rrd.php file (from 0.8.8b; md5sum=a8a2137537d9aa49aec468a373a59350) installed.
To apply patch (linux), SSH to your cacti server and change to the base cacti directory. Copy the attached file to this directory. Then, (assuming you have 'patch' installed) run:
The '-b' will create a backup copy of your original rrd.php file (patch will automatically name it 'rrd.php.orig'). In case things go awry after the patch is applied, you can reinstate the original file.
Note: it is important that you run the patch from the base cacti directory.
Use this patch at your own risk! I assume no liability if you hose your cacti installation.
Edit: added md5sum of original rrd.php file
Only use this patch if you have the original lib/rrd.php file (from 0.8.8b; md5sum=a8a2137537d9aa49aec468a373a59350) installed.
To apply patch (linux), SSH to your cacti server and change to the base cacti directory. Copy the attached file to this directory. Then, (assuming you have 'patch' installed) run:
Code: Select all
patch -p0 -b < rrd.php.patch
Note: it is important that you run the patch from the base cacti directory.
Use this patch at your own risk! I assume no liability if you hose your cacti installation.
Edit: added md5sum of original rrd.php file
- Attachments
-
- rrd.php.patch
- (2.5 KiB) Downloaded 1393 times
Re: Cacti 0.8.8b Preview Mode Graphs bug ?
THANK YOU to sdavied for posting the patch file above. What some people may be missing that are relatively "novice" users of Cacti is how "exactly" to apply it.
If you installed the EZCacti use the Cacti WebAdmin at http://<ipaddress>:10000 in a web browser and go to the "Upload and download" topic on the left colum. Here is where you upload the patch to your server that sdavied uploaded earlier. Upload the patch file to the directory /var/www/html Remember this does not apply the patch, it only sends it to the server.
You can use the SSH tool in the WebAdmin that you just used, but I find it easier to go the terminal of your server either sitting right at it or by ssh. Issue the command cd /var/www/html and hit return. It should return to a prompt with html in it. Then type patch -p0 -b < rrd.php.patch and hit enter. This should return to the same html prompt that you were just at.....with no errors.
That's it. Go back to your Cacti webpage and do a page refresh and click on the "Thumbnails" checkbox and you will see your graphs again for the first time in months !
Just in case I attached sdavied file from a previous post.
Hope this helps a lot of people....it worked for me.
Gary
If you installed the EZCacti use the Cacti WebAdmin at http://<ipaddress>:10000 in a web browser and go to the "Upload and download" topic on the left colum. Here is where you upload the patch to your server that sdavied uploaded earlier. Upload the patch file to the directory /var/www/html Remember this does not apply the patch, it only sends it to the server.
You can use the SSH tool in the WebAdmin that you just used, but I find it easier to go the terminal of your server either sitting right at it or by ssh. Issue the command cd /var/www/html and hit return. It should return to a prompt with html in it. Then type patch -p0 -b < rrd.php.patch and hit enter. This should return to the same html prompt that you were just at.....with no errors.
That's it. Go back to your Cacti webpage and do a page refresh and click on the "Thumbnails" checkbox and you will see your graphs again for the first time in months !
Just in case I attached sdavied file from a previous post.
Hope this helps a lot of people....it worked for me.
Gary
- Attachments
-
- rrd.php.patch
- (2.5 KiB) Downloaded 534 times
Re: Cacti 0.8.8b Preview Mode Graphs bug ?
OK, applied the patch, restarted apache.
md5sum rrd*
dba8d5efb99b197f43cc321fd55e379f rrd.php
a8a2137537d9aa49aec468a373a59350 rrd.php.orig
where should i look now. In a previous port, some mentioned that rra.php needs updating too, tho this patch doesn't deal with that.
(picture attached)
brand new installation. opensuse 13.1. As can be seen i can't even prove data is being collected at this point.
also have a EZcacti 0.7 install that does the same thing.
H
md5sum rrd*
dba8d5efb99b197f43cc321fd55e379f rrd.php
a8a2137537d9aa49aec468a373a59350 rrd.php.orig
where should i look now. In a previous port, some mentioned that rra.php needs updating too, tho this patch doesn't deal with that.
(picture attached)
brand new installation. opensuse 13.1. As can be seen i can't even prove data is being collected at this point.
also have a EZcacti 0.7 install that does the same thing.
H
- Attachments
-
- picture of what i get
- 16A96A2526A0A6A1.jpg (120.39 KiB) Viewed 13436 times
"The difference between theory and practice, is that in theory, there is no difference between theory and practice."
"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law
"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law
Who is online
Users browsing this forum: No registered users and 1 guest