|
|
| Author |
Message |
autys
Joined: 02 Nov 2006 Posts: 14
|
Posted: Thu Nov 02, 2006 11:43 am Post subject: NO graphs showing |
|
|
Yes.. I'm another with no graphs showing.
Poller is running fine, data is being stores in the rra/ directory with no problem.
Running graphs in debug mode gives:
| Quote: |
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Load Average" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--units-exponent=0 \
--vertical-label="processes in the run queue" \
DEF:a="/var/www/html/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE \
DEF:b="/var/www/html/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE \
DEF:c="/var/www/html/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE \
CDEF:cdefg=TIME,1162503955,GT,a,a,UN,0,a,IF,IF,TIME,1162503955,GT,b,b,UN,0,b,IF,IF,TIME,1162503955,GT,c,c,UN,0,c,IF,IF,+,+ \
AREA:a#EACC00:"1 Minute Average" \
GPRINT:a:LAST:" Current\:%8.2lf\n" \
STACK:b#EA8F00:"5 Minute Average" \
GPRINT:b:LAST:" Current\:%8.2lf\n" \
STACK:c#FF0000:"15 Minute Average" \
GPRINT:c:LAST:"Current\:%8.2lf\n" \
LINE1:cdefg#000000:""
RRDTool Says:
|
Can anyone help? Everything seems fine just no graphs. |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Thu Nov 02, 2006 2:11 pm Post subject: |
|
|
Oopy, the most important line at the end seems to be missing. If not, copy the whole (leaving the last line off) to command line and execute. Please post the error given
Reinhard |
|
| Back to top |
|
 |
autys
Joined: 02 Nov 2006 Posts: 14
|
Posted: Thu Nov 02, 2006 4:45 pm Post subject: |
|
|
| That's exactly what it says, there is nothing after the "RRDTool Says:" |
|
| Back to top |
|
 |
autys
Joined: 02 Nov 2006 Posts: 14
|
Posted: Fri Nov 03, 2006 2:07 am Post subject: |
|
|
HI,
I've ran the graph command as requested and I get back the graph as expected.. so all of that's working OK.. so still not sure why I don't get them in the web interface.. |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Fri Nov 03, 2006 7:55 am Post subject: |
|
|
| autys wrote: | HI,
I've ran the graph command as requested and I get back the graph as expected.. so all of that's working OK.. so still not sure why I don't get them in the web interface.. | What userid was logged in when you did so? Root? cactiuser?
Reinhard |
|
| Back to top |
|
 |
autys
Joined: 02 Nov 2006 Posts: 14
|
Posted: Fri Nov 03, 2006 8:01 am Post subject: |
|
|
It was root, but I'm running cacti as root as well (it's just a test linux box)
I've got it instaleld on a 2nd box and it seems to be working (although I can't get it to graph a windows box.. and can't find the snmpwalk command) |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Fri Nov 03, 2006 8:47 am Post subject: |
|
|
Please search the sticky posts in the Windows Forum. BSOD2600 is a very versed cacti/windows user
Reinhard |
|
| Back to top |
|
 |
Hiney Cacti User
Joined: 16 Oct 2006 Posts: 55
|
Posted: Mon Nov 06, 2006 7:45 pm Post subject: invalid y-grid format |
|
|
OK, i'm getting this (see below) when debugging a graph output and the graph template is "AIX File System Statistics". v0.8.6i.
Anyone able to tell me what's wrong with Y ? The AIX template was taken from page three of "AIX Host template" http://forums.cacti.net/viewtopic.php?p=82570
H
| Quote: | RRDTool Command:
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="hostname - File System Statistics - /dev/fslv00" \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--y-grid=INodes \
--vertical-label="INodes" \
--slope-mode \
DEF:a="/opt/nagios/cacti/rra/hostname_aixfsusedinodes_486.rrd":aixFsNumINodes:AVERAGE \
DEF:b="/opt/nagios/cacti/rra/hostname_aixfsusedinodes_486.rrd":aixFsUsedInodes:AVERAGE \
AREA:a#00004D:"Total" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:MIN:"Minimum\:%8.0lf" \
GPRINT:a:MAX:"Maximum\:%8.0lf\n" \
AREA:b#CAF100:"Used" \
GPRINT:b:LAST:" Current\:%8.0lf" \
GPRINT:b:MIN:"Minimum\:%8.0lf" \
GPRINT:b:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Mount Point\: /tsmstg\n"
RRDTool Says:
ERROR: invalid y-grid format
|
and yes, the rrd files have been created.
thanks
H |
|
| Back to top |
|
 |
Hiney Cacti User
Joined: 16 Oct 2006 Posts: 55
|
Posted: Mon Nov 06, 2006 9:45 pm Post subject: [-y|--y-grid grid step:label factor] |
|
|
"[-y|--y-grid grid step:label factor]"
I notice that many if not all the working graphs have no --y-grid option.
Where did it come from ? So how do i remove or correct the y-grid entry. where is it stored in cacti ?
ta
H |
|
| Back to top |
|
 |
Hiney Cacti User
Joined: 16 Oct 2006 Posts: 55
|
Posted: Mon Nov 06, 2006 9:51 pm Post subject: got it. |
|
|
OK, it's in the graph template. I have removed it and there are graphs now !!!!
yeah. It would appear that the "Unit Grid Value" in a graph template is broken somehow. the format being placed on the rrdgraph line is not suitable (using rrdtool 1.2.x)
H |
|
| Back to top |
|
 |
tljohnsn
Joined: 17 Nov 2006 Posts: 1
|
Posted: Fri Nov 17, 2006 4:37 pm Post subject: |
|
|
| I had the same problem with some netapp graphs. The solution was to update graph_templates_graph set unit_value=NULL where id=823; Replace id=823 with the correct value according to your broken graphs. |
|
| Back to top |
|
 |
VaSh1
Joined: 20 Feb 2008 Posts: 29
|
Posted: Tue Nov 18, 2008 5:03 pm Post subject: |
|
|
| tljohnsn wrote: | | The solution was to update graph_templates_graph set unit_value=NULL |
=0 |
|
| Back to top |
|
 |
|