Problem with Graph generation
Moderators: Developers, Moderators
Problem with Graph generation
Hi,
I am kinda new to cacti. Jus got to install it on RHEL 4 and added couple of devices.
The problem that I face is that when i go to the tree view and select any device, I am not getting any graphs.
I jus get a X.
But when I click on these i get the graphs that pertain to the device and the monitored parameter.
Again on these graphs when I click on the magnifying glass, I get that X again.
I am not sure where I am goin wrong !!
HELP APPRECIATED !!
I am kinda new to cacti. Jus got to install it on RHEL 4 and added couple of devices.
The problem that I face is that when i go to the tree view and select any device, I am not getting any graphs.
I jus get a X.
But when I click on these i get the graphs that pertain to the device and the monitored parameter.
Again on these graphs when I click on the magnifying glass, I get that X again.
I am not sure where I am goin wrong !!
HELP APPRECIATED !!
Hi Reinhard,
Is this what u asked for ?
Also I am attaching a screeshot document of what problem I am facing.
/usr/local/rrdtool/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" \
DEF:a="/usr/local/apache/htdocs/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
DEF:b="/usr/local/apache/htdocs/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE \
AREA:a#FF4105:"Free" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
STACK:b#FFC73B:"Swap" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s"
Is this what u asked for ?
Also I am attaching a screeshot document of what problem I am facing.
/usr/local/rrdtool/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" \
DEF:a="/usr/local/apache/htdocs/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
DEF:b="/usr/local/apache/htdocs/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE \
AREA:a#FF4105:"Free" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
STACK:b#FFC73B:"Swap" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s"
- Attachments
-
- cacti.doc
- (488 KiB) Downloaded 128 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please copy the rrdtool graph command of a FAILING graph to some arbitrary file. Change rrdtool graph - \ to rrdtool graph /tmp/foo.png \ and run the whole command line as a shell command. Any errors?
And, please, do not post non-standardized formats. The forums allow for attaching graphs directly. That reduces my effort by far!
Reinhard
And, please, do not post non-standardized formats. The forums allow for attaching graphs directly. That reduces my effort by far!
Reinhard
Hi Reinhard,
I ran the same command after changing /usr/local/rrdtool/bin/rrdtool graph - \ to /usr/local/rrdtool/bin/rrdtool graph /tmp/foo.png \
I did not encounter any error.
The output of the command was :-
597x213
and the file foo.png was created.
Sorry about the attachment last time, am kinda new and was not aware.
I ran the same command after changing /usr/local/rrdtool/bin/rrdtool graph - \ to /usr/local/rrdtool/bin/rrdtool graph /tmp/foo.png \
I did not encounter any error.
The output of the command was :-
597x213
and the file foo.png was created.
Sorry about the attachment last time, am kinda new and was not aware.
Who is online
Users browsing this forum: No registered users and 7 guests