Graphics Issues
Moderators: Developers, Moderators
Graphics Issues
Somebody knows why this happens?
Thanks!!
I turn on the graph debug mode...
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="kilobytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
DEF:b="/var/www/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE \
AREA:a#FF4105FF:"Free" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
AREA:b#FFC73BFF:"Swap":STACK \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s"
RRDTool Says:
ERROR: opening '/var/www/cacti/rra/localhost_mem_buffers_3.rrd': No such file or directory
Is not a permissions issues.. but /var/www/cacti/rra/ is empty..
This is all what my log say:
09/29/2008 11:36:55 AM - AUTH LOGIN: User 'admin' Authenticated
09/29/2008 11:37:53 AM - AUTH LOGIN: User 'admin' Authenticated
Thanks!!
I turn on the graph debug mode...
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="kilobytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
DEF:b="/var/www/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE \
AREA:a#FF4105FF:"Free" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
AREA:b#FFC73BFF:"Swap":STACK \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s"
RRDTool Says:
ERROR: opening '/var/www/cacti/rra/localhost_mem_buffers_3.rrd': No such file or directory
Is not a permissions issues.. but /var/www/cacti/rra/ is empty..
This is all what my log say:
09/29/2008 11:36:55 AM - AUTH LOGIN: User 'admin' Authenticated
09/29/2008 11:37:53 AM - AUTH LOGIN: User 'admin' Authenticated
How I do that?rtorti19 wrote:Have you verified that the poller runs properly from whichever crontab it's being run from?
I have installed the RRDTOOL twice..
Once I did it from:
$ sudo wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.2.18.tar.gz
After that and seeing the error, I have tried:
$ sudo apt-get install rrdtool
Thanks for the quickly answer..
Which installation guide did you follow?
Are you using cmd.php or spine for your poller?
During your cacti setup, you should have created a user to run cacti under. That users crontab should contain an entry like the following:
*/5 * * * * /usr/local/bin/php /usr/local/share/cacti/poller.php > /dev/null 2>&1
Of course you would need to change the paths to match your setup.
You can look in your cacti.log to see if its being run.
Are you using cmd.php or spine for your poller?
During your cacti setup, you should have created a user to run cacti under. That users crontab should contain an entry like the following:
*/5 * * * * /usr/local/bin/php /usr/local/share/cacti/poller.php > /dev/null 2>&1
Of course you would need to change the paths to match your setup.
You can look in your cacti.log to see if its being run.
I'm not sure how up to date this guide is, but it should at least point you in the right direction.
http://www.cacti.net/downloads/docs/html/index.html
http://www.cacti.net/downloads/docs/html/index.html
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You should manually run:
You should be looking for OK's. If the file is still not present, you should check for the name of the RRDfile in the poller cache. If it is not there, attempt to Repopulate the Poller cache. If it magically appears thereafter, I will need to know where you obtained your Cacti install from and how it was installed.
TheWitness
Code: Select all
php -q poller.php --force
TheWitness
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?
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?
Thanks! Solved!TheWitness wrote:You should manually run:
You should be looking for OK's. If the file is still not present, you should check for the name of the RRDfile in the poller cache. If it is not there, attempt to Repopulate the Poller cache. If it magically appears thereafter, I will need to know where you obtained your Cacti install from and how it was installed.Code: Select all
php -q poller.php --force
TheWitness
The secret (Just like the Asterisk) is on Installation !!
There is no secrets...
Who is online
Users browsing this forum: No registered users and 0 guests