|
|
| Author |
Message |
bitnoise
Joined: 18 May 2006 Posts: 11
|
Posted: Tue Jun 17, 2008 5:35 am Post subject: [SOLVED] Cacti graphs not being created |
|
|
Hello,
I have an issue with my graphs:
When I look at my graps (Devices > Server > Is Being Graphed (Edit)) and I click on this edit (and turn on debugging), I get this:
| Code: |
RRDTool Command:
/usr/local/rrdtool-1.2.27/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="SERVER - Logged in Users" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="users" \
DEF:a="/var/www/html/cacti/rra/server_users_26.rrd":users:AVERAGE \
DEF:b="/var/www/html/cacti/rra/server_users_26.rrd":users:MAX \
AREA:a#4668E4:"Users" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:b:MAX:"Maximum\:%8.0lf"
RRDTool Says:
OK |
Next to it I get a graph layout, which stays at NAN (empty graph). When I now try going to my graphs overview, it doesn't show any graph at all.
When I click on detail, however, it displays the nan again...
OS: Centos 5.1
Cacti: cacti-0.8.7b
Rrdtool: 1.2.27
I have full debug logging activated, and all runs ok (my .rrd files get created correctly)
Anyone knows what I can check?
Thanks a Lot
| Description: |
|
| Filesize: |
51.27 KB |
| Viewed: |
1736 Time(s) |

|
| Description: |
|
| Filesize: |
13.79 KB |
| Viewed: |
1736 Time(s) |

|
| Description: |
|
| Filesize: |
45.51 KB |
| Viewed: |
1740 Time(s) |

|
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Wed Jun 18, 2008 1:16 pm Post subject: |
|
|
What's "Settings->RRDTool Utility Version"?
Reinhard
|
|
| Back to top |
|
 |
Alex paris
Joined: 05 Jun 2008 Posts: 23
|
Posted: Fri Jun 20, 2008 8:39 am Post subject: |
|
|
I have the same problem, and my RRDTool Utility Version is RRDTool 1.2.x
looking for help, thanks!
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Sat Jun 21, 2008 2:55 pm Post subject: |
|
|
Anything ugly in /var/log/httpd/error_log?
Reinhard
|
|
| Back to top |
|
 |
Alex paris
Joined: 05 Jun 2008 Posts: 23
|
Posted: Mon Jun 23, 2008 3:19 am Post subject: |
|
|
yes, there is one erreur, it shows like this "/bin/sh: /usr/share/cacti/site/poller.php: Aucun fichier ou répertoire de ce type(it means 'no file or repertory of this type')", i've tried to copy the file 'poller.php' under the /usr/share/cacti/site/, and i've given the permission to this file, but it still doesn't work
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Mon Jun 23, 2008 2:12 pm Post subject: |
|
|
Please post content of /etc/crontab (or wherever your distro defines cacti polling)
Reinhard
|
|
| Back to top |
|
 |
arunpereira
Joined: 21 Jun 2008 Posts: 3
|
Posted: Mon Jun 23, 2008 4:25 pm Post subject: |
|
|
you're executing a php file with /bin/sh. I believe at first glance that you should be using the php binary.
For example /usr/bin/php /usr/share/cacti/site/poller.php
If it still doesn't work with the php binary, try posting php -i | grep configure to here. Generally you want atleast with-mysql and with-snmp in the configure statement for your php binary.
|
|
| Back to top |
|
 |
bitnoise
Joined: 18 May 2006 Posts: 11
|
Posted: Tue Jul 01, 2008 2:39 am Post subject: |
|
|
Hey,
sorry for not replying earlier, but I turned on the 'Notify me when a reply is posted', but I never got a maill.. anyhow..
I haven't been able to check the system for a while, but it seems it just started working now... very weird...
thanks a lot anyhow!
|
|
| Back to top |
|
 |
Hazeldark
Joined: 10 Jul 2008 Posts: 2
|
Posted: Tue Jul 22, 2008 9:47 am Post subject: |
|
|
Hi there !
I've got the same problem with Cacti...
And, in my httpd/error_log, there is : ERROR: invalid text property format
ERROR: invalid text property format
Can you help me ?
regards !
|
|
| Back to top |
|
 |
loganville
Joined: 15 Jul 2008 Posts: 5 Location: Shippensburg University
|
Posted: Tue Jul 22, 2008 10:32 am Post subject: |
|
|
| I am having the same error. The graphs were working fine but then one morning they stopped when no one was even on the system. I looked at "/var/log/messages/" and the problem started shortly after: "pxeserver syslogd 1.5.0#1ubuntu1: restart." was logged, where pxeserver is our host. Any ideas?
|
|
| Back to top |
|
 |
Hazeldark
Joined: 10 Jul 2008 Posts: 2
|
Posted: Thu Jul 24, 2008 3:29 am Post subject: |
|
|
I have found why...
For me, I hadn't the good version of RRDTool...
You need the 1.2.23 version at least...
regards !
|
|
| Back to top |
|
 |
loganville
Joined: 15 Jul 2008 Posts: 5 Location: Shippensburg University
|
Posted: Thu Jul 24, 2008 7:24 am Post subject: |
|
|
According to System Utilities->Technical Support I have:
Cacti Version 0.8.7b
Cacti OS unix
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
So I doubt I am having the same error as Hazeldark.
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9697 Location: MI, USA
|
Posted: Thu Jul 24, 2008 11:12 pm Post subject: |
|
|
| loganville wrote: | According to System Utilities->Technical Support I have:
Cacti Version 0.8.7b
Cacti OS unix
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
So I doubt I am having the same error as Hazeldark. |
Could be that your database was damaged on the reboot. There is a script in the cli directory called "repair_database.php", you should run it. Also, you Cacti Log would be very informative.
TheWitness
|
|
| Back to top |
|
 |
loganville
Joined: 15 Jul 2008 Posts: 5 Location: Shippensburg University
|
Posted: Fri Jul 25, 2008 7:36 am Post subject: |
|
|
| Thanks for your response, the graphs are now graphing properly.
|
|
| Back to top |
|
 |
|