Realtime Graph not working.
Moderators: Developers, Moderators
Realtime Graph not working.
Hi All,
I have installed the Cacti Version: 0.8.7h, Plugin Architecture Version: 3.0 and Realtime 0.43
Whey I click to Realtime link, window is populating but I am unable to see the graph.
I have created folder with permissions and configured this folder path in Misc tab.
drwxrwx--- 2 cactiuser apache 4096 Oct 4 12:02 /var/www/html/cacti/rracache
I can see the files are creating in the above folder.
[root@localhost rracache]# pwd
/var/www/html/cacti/rracache
[root@localhost rracache]# ls -l
total 200
-rw-r--r-- 1 apache apache 94668 Oct 4 12:11 realtime_28_5.rrd
-rw-r--r-- 1 apache apache 94668 Oct 4 12:22 realtime_40_5.rrd
Attached is the problem.
I have installed the Cacti Version: 0.8.7h, Plugin Architecture Version: 3.0 and Realtime 0.43
Whey I click to Realtime link, window is populating but I am unable to see the graph.
I have created folder with permissions and configured this folder path in Misc tab.
drwxrwx--- 2 cactiuser apache 4096 Oct 4 12:02 /var/www/html/cacti/rracache
I can see the files are creating in the above folder.
[root@localhost rracache]# pwd
/var/www/html/cacti/rracache
[root@localhost rracache]# ls -l
total 200
-rw-r--r-- 1 apache apache 94668 Oct 4 12:11 realtime_28_5.rrd
-rw-r--r-- 1 apache apache 94668 Oct 4 12:22 realtime_40_5.rrd
Attached is the problem.
- Attachments
-
- realtime-prob.png (26.67 KiB) Viewed 6933 times
Re: Realtime Graph not working.
I have updated the files from SVN but the same problem.
Any solution for this?
Thanks,
NixM
Any solution for this?
Thanks,
NixM
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Realtime Graph not working.
After you update the SVN, please delete the RRDfile and image files in the cache directory and try again.
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?
Re: Realtime Graph not working.
Yes, I have deleted the cached graphs from /var/www/html/cacti/rracache
But I am getting the same issue.
I am using Spine as a Poller.
Here is my Misc configuration, I have tried with unchecked the "Use Ajax" but no luck.
But I am getting the same issue.
I am using Spine as a Poller.
Here is my Misc configuration, I have tried with unchecked the "Use Ajax" but no luck.
- Attachments
-
- Misc.png (20.98 KiB) Viewed 6914 times
Re: Realtime Graph not working.
Hi Developer,
I have added below line for temporary purpose in "realtime.js" file.
And after adding this line, Realtime plugin works fine.
How I can fix this permanently without hard coding?
This is something like the problem with url path.
--
NixM
I have added below line for temporary purpose in "realtime.js" file.
And after adding this line, Realtime plugin works fine.
Code: Select all
document.getElementById("realtime").src = "http://my.cacti.ip.address/cacti/"+imaging;
This is something like the problem with url path.
--
NixM
- Attachments
-
- realtime-js.png (11.57 KiB) Viewed 6912 times
-
- realtime-temp-solve.png (28.03 KiB) Viewed 6912 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Realtime Graph not working.
Well, you apache config must be weird. What is your $url_path variable set to in config.php?
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?
Re: Realtime Graph not working.
Hi,
I have set the $url_path under include/config.php file and replace original realtime.js file.
But still I am not getting realtime images.
Here is my config.php file.
Thanks.
NixM
I have set the $url_path under include/config.php file and replace original realtime.js file.
But still I am not getting realtime images.
Here is my config.php file.
Code: Select all
/* make sure these values refect your actual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "secret";
$database_port = "3306";
$database_ssl = false;
/* Default session name - Session name must contain alpha characters */
#$cacti_session_name = "Cacti";
$url_path= "/cacti/";
NixM
Re: Realtime Graph not working.
Ahh... here it is the issue.
with original realtime.js file (from SVN) I found following line.
After setting $url_path into the cacti config.php file, I have changed the above line as per following.
There semi colon ";" is missing.
Please update the line with semi colon.
Realtime graphs works great now
Thanks,
NixM,
with original realtime.js file (from SVN) I found following line.
Code: Select all
document.getElementById("realtime").src = imaging
There semi colon ";" is missing.
Please update the line with semi colon.
Code: Select all
document.getElementById("realtime").src = imaging;
Thanks,
NixM,
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Realtime Graph not working.
Oh, that sucks.
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:
Re: Realtime Graph not working.
can you please try the latest realtime.js. I just updated it a few minutes ago.
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?
Re: Realtime Graph not working.
Hi,
This works perfect now
Thanks for your great help.
--
NixM
This works perfect now
Thanks for your great help.
--
NixM
- Attachments
-
- realtime-new-js.png (22.63 KiB) Viewed 6890 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Realtime Graph not working.
Thanks. What browser are you running?
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?
Re: Realtime Graph not working.
Firefox 7.0.1 and IE 8.0
--
NixM
--
NixM
Re: Realtime Graph not working.
Hi,
I have the same problem:Realtime Graph not work.
I have installed the Cacti Version: 0.8.7g, Plugin Architecture Version: 2.4 and Realtime 0.43
I have tried the suggestion mentioned,but it still doesn't work.
Could you pls give some help?
Appreciate.
I have the same problem:Realtime Graph not work.
I have installed the Cacti Version: 0.8.7g, Plugin Architecture Version: 2.4 and Realtime 0.43
I have tried the suggestion mentioned,but it still doesn't work.
Could you pls give some help?
Appreciate.
Who is online
Users browsing this forum: No registered users and 0 guests