Empty Graphs on CentOS 5.5

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

Moderators: Developers, Moderators

Post Reply
sarmed
Posts: 9
Joined: Wed Oct 12, 2011 12:45 am

Empty Graphs on CentOS 5.5

Post by sarmed »

I am a total cacti newbie. I am using CentOS 5.5 with Cacti version 0.8.7h. The problem that I'm facing is that I get empty graphs and the value always shows "nan". I have even waited for 30 minutes but still the graphs are not being populated, even the graphs for localhost processes or load average.

I think that I can snmpwalk successfully. If I turn on graph in debugging mode, RRD also says OK. The device status is also 'up' in 'Device' menu. I have no clue what is wrong.

Also, I have deployed Cacti in a Debian 6, and it has been running smoothly for more than 48 hours. Still, I'm getting empty graphs in ping latency, but that's not important at the moment.

Here is a URL for snapshots of my graphs.
https://picasaweb.google.com/1008060189 ... directlink

Please advise.
___
Sarmed
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Empty Graphs on CentOS 5.5

Post by TheWitness »

Are the entries in the poller cache? What's in your log file? Are the permissions on the 'rra' directory correct?
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?
sarmed
Posts: 9
Joined: Wed Oct 12, 2011 12:45 am

Re: Empty Graphs on CentOS 5.5

Post by sarmed »

The host was turned off, so the log may be old.

I'm not sure where the poller cache is.


[root@fileserver2 cacti]# tail /var/www/cacti/log/cacti.log
10/12/2011 06:20:01 AM - SYSTEM STATS: Time:0.1320 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:7 RRDsProcessed:6
10/12/2011 06:25:01 AM - SYSTEM STATS: Time:0.1308 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:7 RRDsProcessed:6
10/12/2011 06:30:01 AM - SYSTEM STATS: Time:0.1315 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:7 RRDsProcessed:6
10/12/2011 06:35:02 AM - SYSTEM STATS: Time:0.1343 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:7 RRDsProcessed:6
10/12/2011 06:40:01 AM - SYSTEM STATS: Time:0.1268 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:7 RRDsProcessed:6
10/12/2011 06:45:01 AM - SYSTEM STATS: Time:0.1309 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:7 RRDsProcessed:6


Permissions
[root@fileserver2 cacti]# ls -l
drwxr-xr-x 2 cacti cacti 4096 Oct 12 11:15 rra

[root@fileserver2 cacti]# ls -l /var/www/cacti/rra
total 1036
-rw-r--r-- 1 cacti cacti 94668 Oct 12 10:25 centos_traffic_in_12.rrd
-rw-r--r-- 1 cacti cacti 94668 Oct 12 10:25 centos_traffic_in_13.rrd
-rw-r--r-- 1 cacti cacti 94668 Oct 13 09:45 centos_traffic_in_8.rrd
-rw-r--r-- 1 cacti cacti 94668 Oct 12 10:20 localhost_hdd_free_10.rrd
-rw-r--r-- 1 cacti cacti 94668 Oct 12 10:20 localhost_hdd_free_11.rrd
-rw-r--r-- 1 cacti cacti 94668 Oct 12 10:20 localhost_hdd_free_8.rrd
-rw-r--r-- 1 cacti cacti 94668 Oct 12 10:20 localhost_hdd_free_9.rrd
-rw-r--r-- 1 cacti cacti 141492 Oct 13 09:45 localhost_load_1min_5.rrd
-rw-r--r-- 1 cacti cacti 47844 Oct 13 09:45 localhost_mem_buffers_3.rrd
-rw-r--r-- 1 cacti cacti 47844 Oct 13 09:45 localhost_mem_swap_4.rrd
-rw-r--r-- 1 cacti cacti 47844 Oct 13 09:45 localhost_proc_7.rrd
-rw-r--r-- 1 cacti cacti 47844 Oct 13 09:45 localhost_users_6.rrd
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Empty Graphs on CentOS 5.5

Post by TheWitness »

Console->System Utilities->View Poller Cache
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?
sarmed
Posts: 9
Joined: Wed Oct 12, 2011 12:45 am

Re: Empty Graphs on CentOS 5.5

Post by sarmed »

I have erased and re-installed cacti on the server. please find the link for the screen shots of poller cache and cacti log.

https://picasaweb.google.com/1008060189 ... directlink

the weird thing is, my system time and the cacti log time are different. is this causing all the trouble?
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Empty Graphs on CentOS 5.5

Post by TheWitness »

Make sure that the OS and WebSite have identical timezones. Running the poller from the command line will let you know this for sure.
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?
sarmed
Posts: 9
Joined: Wed Oct 12, 2011 12:45 am

Re: Empty Graphs on CentOS 5.5

Post by sarmed »

[root@fileserver2 cacti]# php /var/www/cacti/poller.php
[root@fileserver2 cacti]#

and the host i'm trying to poll is actually localhost. would time be a problem here?
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Empty Graphs on CentOS 5.5

Post by TheWitness »

Use the --force flag.
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?
sarmed
Posts: 9
Joined: Wed Oct 12, 2011 12:45 am

Re: Empty Graphs on CentOS 5.5

Post by sarmed »

I have decommissioned the CentOS Server. I will not be using cacti on CentOS for the time being. I have a bit of problem on a Debian 6 Server, and I will start a new thread soon.

Thanks to everyone for the help. Appreciate it.

Can any of the moderators please lock the post. Thank you.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest