Hi@All,
me have the prob, thats cacti not show graps. But the log say, that graps will be create...
09/29/2005 09:23:47 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1127892227 --end=1127978627 --title="Debian Sarge - 205 - Memory Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/09/28 09:23:47 To 2005/09/29 09:23:47\c" COMMENT:" \n" --vertical-label="bytes" DEF:a="/data/htdocs/cacti/rra/debian_sarge_205_mem_free_14.rrd":mem_free:AVERAGE DEF:b="/data/htdocs/cacti/rra/debian_sarge_205_mem_buffers_12.rrd":mem_buffers:AVERAGE DEF:c="/data/htdocs/cacti/rra/debian_sarge_205_mem_cache_13.rrd":mem_cache:AVERAGE CDEF:cdefa=a,1024,* CDEF:cdefe=b,1024,* CDEF:cdefi=c,1024,* AREA:cdefa#8F005C:"Memory Free" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefe#FF5700:"Memory Buffers" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefi#FFC73B:"Cache Memory" GPRINT:cdefi:LAST:" Current\:%8.2lf %s" GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s\n"
Can someone help me?
Greetz Nycoon
P.S. Sry 4 my english, me comes from Germany :!
No graphs
Moderators: Developers, Moderators
I got the same hassle, too. The images just don't show up. If I open one of the 'images' in a seperate window, I only see a '0'. I've attached a screenshot, it's made on a German Windows edition, hope you can use it nevertheless . I also tried to increase the log level, but there are no messages in the error.log. The error.log is writable for the webserver (Apache).
My cacti version is the one shipped w/ Debian sid, version 0.8.6c.
My rrdtool package is from Debian too, version 1.0.49.
Hope you can help me out
- cl
My cacti version is the one shipped w/ Debian sid, version 0.8.6c.
My rrdtool package is from Debian too, version 1.0.49.
Hope you can help me out
- cl
- Attachments
-
- screenshot.png (20.76 KiB) Viewed 1613 times
Now I changed to file of cacti in my /etc/cron.d directory and now I get a mail every 5 minutes with a rather fatal error:
Fatal error: Call to undefined function: mysql_connect() in /usr/share/cacti/site/lib/adodb/drivers/adodb-mysql.inc.php on line 339
But why is only the poller experiencing these problems? The cacti web interface seems to work. You can change settings etc.
- cl
Fatal error: Call to undefined function: mysql_connect() in /usr/share/cacti/site/lib/adodb/drivers/adodb-mysql.inc.php on line 339
But why is only the poller experiencing these problems? The cacti web interface seems to work. You can change settings etc.
- cl
I've fixed the problem.
The base line of the problem is that the command line interface PHP has a different config file than the PHP as used by Apache. If a php script runs as a cron job, the config file for the command line interface applies.
On my Debian Sid I had to change the file /etc/php4/cli/php.ini and uncomment the line
"; extension=mysql.so"
I added another line just down below:
extension=snmp.so
I just browsed the forum a litte bit; this seems prob looks like being a FAQ. Maybe you should add it to the FAQ.
Just some random thoughts
- cl
The base line of the problem is that the command line interface PHP has a different config file than the PHP as used by Apache. If a php script runs as a cron job, the config file for the command line interface applies.
On my Debian Sid I had to change the file /etc/php4/cli/php.ini and uncomment the line
"; extension=mysql.so"
I added another line just down below:
extension=snmp.so
I just browsed the forum a litte bit; this seems prob looks like being a FAQ. Maybe you should add it to the FAQ.
Just some random thoughts
- cl
Who is online
Users browsing this forum: No registered users and 3 guests