[solved] novice problem- no graph

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
sles
Posts: 6
Joined: Tue Oct 06, 2009 12:45 am

[solved] novice problem- no graph

Post by sles »

Hello!

I want to monitor raid controller on server over snmp, so I created script, which return number of failed drives :-)
It works OK, returns 0 (or any number I want), I see these values in rrd, but there is no graph:

Here are graph properties:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1254721415 \
--end=1254807815 \
--title="localhost-raidfail" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2009/10/05 10\:43\:35 To 2009/10/06 10\:43\:35\c" \
COMMENT:" \n" \
--vertical-label="" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/localhost_raidfail_33.rrd":raidfail:AVERAGE \


Could you tell me what can be wrong?
sles
Posts: 6
Joined: Tue Oct 06, 2009 12:45 am

Post by sles »

btw, thold works OK on this graph...
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

sles wrote:btw, thold works OK on this graph...
THOLD will use the values from poller_output, and not the graph itself. Check the permissions on your RRA directory.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
sles
Posts: 6
Joined: Tue Oct 06, 2009 12:45 am

Post by sles »

permissions are OK, all files are owned by www-data (i.e. apache)
sles
Posts: 6
Joined: Tue Oct 06, 2009 12:45 am

Post by sles »

problem is (was) very easy :-) - default value for graph item type in graph template is comment, not area :-)
Post Reply

Who is online

Users browsing this forum: anwaraahmad1 and 1 guest