cant generate rrd files

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
BZ
Posts: 9
Joined: Wed Aug 23, 2006 2:17 pm

cant generate rrd files

Post by BZ »

Hi guys, maybe anyone can help me

Frist time, i instaled the cacti 086H, whith no troubles, and dstart to parse and generate graphs of mem and disk space of my linux machiens , for example.

So, i discovery the plugins to cacti, and get intersting to use discovery, monitor and weathermap plugins.

I start a new instalation of cacti.

So, i learn that need install de cacti plugin arch. DONE.

I intalled the plugins, like controll and discovery, everthing ok, put my userr access, i can see the tabs, i cam discovery new devices on network, colect all the info about this thevices. DONE

But i cant generate the rrd file anymore =(


i alread make a chown -R apache:root in all cacti folder, and a chmod 777, but , i cant more generate teh graphs ..

Anyone havenay hint? =(

evertyme, when i turn on debug, returns me:


/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="MTG01 - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
DEF:a="/usr/local/oreon/www/cacti/rra/mtg01_traffic_in_18.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/oreon/www/cacti/rra/mtg01_traffic_in_18.rrd":traffic_out:AVERAGE \
AREA:a#00CF00:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:b#002A97:"Outbound" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"

RRDTool Says:

ERROR: opening '/usr/local/oreon/www/cacti/rra/mtg01_traffic_in_18.rrd': No such file or directory


any hint? PS: all the folders alread have 777 permitions and apache:root
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please "su" to the userid that runs the cacti poller (check your crontabs, cacti or cactiuser are most often used) and run poller.php from cacti's directory. Watch out for errors
Reinhard
BZ
Posts: 9
Joined: Wed Aug 23, 2006 2:17 pm

Post by BZ »

No problems =(

Code: Select all

[root@inglaterra cacti]# su cactiuser
[cactiuser@inglaterra cacti]$ php /usr/local/oreon/www/cacti/poller.php > /dev/null 2>&1
[cactiuser@inglaterra cacti]$

PS: i am generato some times manually the command line, and the rrd file isnt generate.


[]
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests