[solved] Cacti not generating graphs
Moderators: Developers, Moderators
[solved] Cacti not generating graphs
Hi everyone,
Let me start by saying im a complete noob with cacti. Ive used it quite a few times to diagnose problems and think its great, but ive never had the plesure of installing it before, so im sorry if my issue is something obvious.
I dont seem to be getting graphs generated in cacti. If you go to the page you just get the little red cross.
I looked at the config of one of the graphs in debug mode and i get this
RRDTool Command:
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Leeds-Vapp01 - Processes" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="processes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/leeds-vapp01_proc_9.rrd":proc:AVERAGE \
AREA:a#942D0CFF:"Running Processes" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf\n"
RRDTool Says:
ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/leeds-vapp01_proc_9.rrd': No such file or directory
Does anyone have any ideas as to what i can do?
Thanks
Noshybabs
Let me start by saying im a complete noob with cacti. Ive used it quite a few times to diagnose problems and think its great, but ive never had the plesure of installing it before, so im sorry if my issue is something obvious.
I dont seem to be getting graphs generated in cacti. If you go to the page you just get the little red cross.
I looked at the config of one of the graphs in debug mode and i get this
RRDTool Command:
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Leeds-Vapp01 - Processes" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="processes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/leeds-vapp01_proc_9.rrd":proc:AVERAGE \
AREA:a#942D0CFF:"Running Processes" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf\n"
RRDTool Says:
ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/leeds-vapp01_proc_9.rrd': No such file or directory
Does anyone have any ideas as to what i can do?
Thanks
Noshybabs
Im so confused, it looks like the graphs are being generated, but there is nothing in the RRA folder?
COuld it be that the data isnt present?
09/02/2009 03:22:45 PM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1251814965 --end=1251901365 --title="localhost - Processes" --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2009/09/01 15\:22\:45 To 2009/09/02 15\:22\:45\c" COMMENT:" \n" --vertical-label="processes" --slope-mode --font TITLE:8.4: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="C\:/Inetpub/wwwroot/cacti/rra/localhost_proc_8.rrd":proc:AVERAGE AREA:a#F51D30FF:""
09/02/2009 03:22:45 PM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1251814965 --end=1251901365 --title="Leeds-Vapp01 - Used Space - Physical Memory" --rigid --base=1024 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2009/09/01 15\:22\:45 To 2009/09/02 15\:22\:45\c" COMMENT:" \n" --vertical-label="bytes" --slope-mode --font TITLE:8.4: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="C\:/Inetpub/wwwroot/cacti/rra/3/10.rrd":hdd_total:AVERAGE DEF:b="C\:/Inetpub/wwwroot/cacti/rra/3/10.rrd":hdd_used:AVERAGE AREA:a#002A97FF:"" AREA:b#F51D30FF:""
COuld it be that the data isnt present?
09/02/2009 03:22:45 PM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1251814965 --end=1251901365 --title="localhost - Processes" --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2009/09/01 15\:22\:45 To 2009/09/02 15\:22\:45\c" COMMENT:" \n" --vertical-label="processes" --slope-mode --font TITLE:8.4: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="C\:/Inetpub/wwwroot/cacti/rra/localhost_proc_8.rrd":proc:AVERAGE AREA:a#F51D30FF:""
09/02/2009 03:22:45 PM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1251814965 --end=1251901365 --title="Leeds-Vapp01 - Used Space - Physical Memory" --rigid --base=1024 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2009/09/01 15\:22\:45 To 2009/09/02 15\:22\:45\c" COMMENT:" \n" --vertical-label="bytes" --slope-mode --font TITLE:8.4: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="C\:/Inetpub/wwwroot/cacti/rra/3/10.rrd":hdd_total:AVERAGE DEF:b="C\:/Inetpub/wwwroot/cacti/rra/3/10.rrd":hdd_used:AVERAGE AREA:a#002A97FF:"" AREA:b#F51D30FF:""
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Likely by editing the scheduled task. If you turn log to MEDIUM, you should see log messages rolling into the Cacti log. If not, then your scheduled task is not running. In addition, if it's running and you are not getting your RRDfiles either created/updated, then it's a file permissions problem.
TheWitness
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?
OK, turned it to medium, have checked cacti log files and have noticed the only actions logged are the ones I tried running manually so it is not running the scheduled tasks, however I can't seem to find the place to set the scheduled tasks.
Sorry about this, but where can I start or adjust the scheduled tasks??
Thanks
Sorry about this, but where can I start or adjust the scheduled tasks??
Thanks
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Use Google. There are millions of examples as to how to do such a thing. True Understand Begins... If you don't conquer your lack of understanding by first learning, you will never be happy with Cacti or anything else in life. Life and/or Cacti is not spoon fed. For Cacti, we give you the spoon, you have to eat.
TheWitness
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?
Found the problem, it was that the slashes were the wrong way round under the paths tab in the settings.
They were forward slashes instead of backslashes. This was the problem, but I didn't think it was because it was saying "path found" under each field so I didn't think it mattered.
Ran the poller.php and php.exe files manually and it has now created the graphs in the rra directory. Thanks for all the help
They were forward slashes instead of backslashes. This was the problem, but I didn't think it was because it was saying "path found" under each field so I didn't think it mattered.
Ran the poller.php and php.exe files manually and it has now created the graphs in the rra directory. Thanks for all the help
Who is online
Users browsing this forum: No registered users and 1 guest