Realtime Graph Not Showing - Cacti 0.8.8b & Realtime v0.52

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
x86phre3x

Realtime Graph Not Showing - Cacti 0.8.8b & Realtime v0.52

Post by x86phre3x »

Hi all,

I just installed a fresh Cacti installation on a server and everything is working great except realtime plugin. The plugin installed fine but I am unable to see any graph when I clicked the realtime icon beside a graph. I also noticed that the rrd files being created inside the cache directory. Refer below.

Code: Select all

-rw-rw-rw- 1 apache apache 94816 Nov 13 02:22 realtime_8_5.rrd
Below is the permission & ownership settings of each directory & file

Code: Select all

### [Realtime Plugin Main Directory] ###

drwxr-xr-x 3 cactiuser cactiuser  4096 Nov 13 02:19 realtime

### [Image Cache Directori, Inside Realtime Plugin Main Directory] ###

drwxrwxrwx 2 apache    apache        6 Nov 13 02:14 cache

### I have tried to change it to cactiuser but no go, so I tried 777 ###
### Please advise the correct user for this directory ###

### [All other plugin files] ###

-rwxr-xr-x 1 cactiuser cactiuser  6838 Nov 13 02:11 cmd_rt.php
-rwxr-xr-x 1 cactiuser cactiuser  5221 Dec 22  2011 graph_ajax_rt.php
-rwxr-xr-x 1 cactiuser cactiuser 43126 Dec 22  2011 graph_image_rt.php
-rwxr-xr-x 1 cactiuser cactiuser  5044 Dec 22  2011 graph_popup_rt.php
-rwxr-xr-x 1 cactiuser cactiuser    42 Dec 22  2011 index.php
-rwxr-xr-x 1 cactiuser cactiuser 15237 Dec 22  2011 LICENSE
-rwxr-xr-x 1 cactiuser cactiuser 10819 Dec 22  2011 loading.gif
-rwxr-xr-x 1 cactiuser cactiuser   950 Dec 22  2011 monitor_rt.gif
-rwxr-xr-x 1 cactiuser cactiuser  9090 Nov 13 02:12 poller_rt.php
-rwxr-xr-x 1 cactiuser cactiuser  3617 Dec 22  2011 README
-rwxr-xr-x 1 cactiuser cactiuser  3401 Dec 22  2011 realtime.js
-rwxr-xr-x 1 cactiuser cactiuser   391 Dec 22  2011 realtime.sql
-rwxr-xr-x 1 cactiuser cactiuser  9062 Dec 22  2011 setup.php
Below is the screenshot of the pop up window. Any help is appreciated :)

Image
x86phre3x

Re: Realtime Graph Not Showing - Cacti 0.8.8b & Realtime v0.

Post by x86phre3x »

Bump 8)
jimcjulsonjr
Posts: 48
Joined: Fri Dec 07, 2012 11:11 am

Re: Realtime Graph Not Showing - Cacti 0.8.8b & Realtime v0.

Post by jimcjulsonjr »

x86phre3x wrote:Bump 8)
Not sure if you figured this out or not, but there are a couple of things to do, which you may or may not have done:

1. Define the image cache directory within the Settings screen:
> Settings
> Misc
> Realtime Settings <Image Cache Directory>

2. CHMOD and CHOWN the Image Cache Directory
NOTE: Depending on your distro, you will have to specify the proper group. I'm on Ubuntu 14.04.1 LTS and am running the standard Debian package for Cacti, which includes Apache2, and the default group that gets created is actually "www-data". Looking at your info, it sounds like you have a good handle on this, but still, I'd validate.

sudo chmod -Rf 777 /your/path/here/cache
sudo chown -Rf www-data:www-data /your/path/here/cache

3. Validate that you have no obvious errors in the cacti.log file

Typically, what I've encountered has always been issues with the cache directory not being setup properly Hopefully it's something like that for you.
-------------------------------------

VERSION: Cacti 0.8.8b
POLLER: Spine
DATA SOURCES: 100,000K and Growing (Multiple Servers)
PLUGINS: AUTOM8, THOLD, DISCOVER, WEATHERMAP, BOOST, CLOG, NECTAR, MACTRACK, FLOWVIEW, SPIKEKILL, INTROPAGE, MONITOR
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests