No graphs being displayed

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
sgaucho
Posts: 20
Joined: Fri Mar 24, 2006 8:07 am

No graphs being displayed

Post by sgaucho »

Hi,

I am running cacti on a Fedora Linux server and had to move Cacti from one directory to another. I basically copied the entire folder from one location to another and altered the cron to point to the new location of poller.php.

The permissions in the new location are exactly the same as the old location. In the browser, I can view all the devices and they all show as UP and Running. The RRD files are being updated fine and so is the cacti.log.

However, there are no graphs being displayed. Clicking on the Graph tab simply shows all the devices without being graphed.

Any suggestions on what I am missing here ?

thnx,
sg
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please have a look at the apache error_log
Reinhard
sgaucho
Posts: 20
Joined: Fri Mar 24, 2006 8:07 am

Post by sgaucho »

Nothing very helpfull there:

[Fri Sep 22 14:40:51 2006] [notice] Graceful restart requested, doing restart
[Fri Sep 22 14:40:51 2006] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Fri Sep 22 14:40:53 2006] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 22 14:40:53 2006] [notice] Digest: done
[Fri Sep 22 14:40:54 2006] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Sep 22 14:40:54 2006] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Fri Sep 22 14:40:54 2006] [notice] Apache/2.2.3 (Unix) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8c PHP/5.1.6 mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.7 configured -- resuming normal operations


Does the above make any sense ?? thanks,

sg
sgaucho
Posts: 20
Joined: Fri Mar 24, 2006 8:07 am

Post by sgaucho »

I just happened to notice that the RRD files have not been updated since about 45 minutes:

-rw-r--r-- 1 cacti cacti 94660 Sep 22 15:05 w02_webserver_2_hdd_total_286.rrd
-rw-r--r-- 1 cacti cacti 94660 Sep 22 15:05 w02_webserver_2_hdd_total_285.rrd
-rw-r--r-- 1 cacti cacti 94660 Sep 22 15:05 w02_webserver_2_hdd_total_284.rrd

cacti.log looks ok:

09/22/2006 04:05:08 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/lampp/htdocs/cacti/rra/wcmws02_webserver_2_load_15min_282.rrd --template load_15min 1158933893:0.15
09/22/2006 04:05:08 PM - SYSTEM STATS: Time: 15.5254 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 13, Hosts/Process: 13

Any ideas !?
wintersa
Posts: 6
Joined: Thu Sep 21, 2006 2:13 pm

Post by wintersa »

HI sgaucho

Are you testing Fedora in VMware, if so then thats the problem, just rsync to a real machine and the problem is gone,

are you can check the time on the fedora box and look if its running correct! by typing serveral time the command "date" in the prompt.

Did you also checked the crontab???? some linux distributions requires the full path to php binary like this "/usr/local/bin/php /var/www/html/cacti/poller.php."

Good luck,
Kind Regards.

A.R.Winters
sgaucho
Posts: 20
Joined: Fri Mar 24, 2006 8:07 am

Post by sgaucho »

Hi,

Nope, I am not running Cacti on a VMWare. and Nothing wrong with the date output or with the Crontab. Its configured correctly or rather it was already configured. I just changed the location of the poller.php.

thanks
sgaucho
Posts: 20
Joined: Fri Mar 24, 2006 8:07 am

Post by sgaucho »

Hello again,

I found something although not sure what is wrong. In the Console tab, on clicking Graph Management under Management, there is no list of graphs being displayed on the right side ! but in the header, it indicates - Showing Rows 1 to 30 of 142 !!

What am I missing here ? As said before, the Poller is running fine and the cacti log in debug mode is not indicating any errors.

thnx,
sg
sgaucho
Posts: 20
Joined: Fri Mar 24, 2006 8:07 am

Post by sgaucho »

Hi,

Finally resolved the problem. Upgrade the version of cacti and the graphs are functioning normally.

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests