graphs stopped working after switching to cactid
Moderators: Developers, Moderators
graphs stopped working after switching to cactid
cacti was working beautifully....graphing everything nicely...however, due to some recommendation on poller speeds I decided to switch to cactid instead of cmd.php...now cactid is grabbing all the snmp data properly, (according to the cacti log) but the graphs has stopped showing data...are there any graph modifications I need to make upon switching to cactid...at this point i dont care about speed if cmc.php graphs properly
where should cactid be located on the system...i changed the crontab to call the paht of cactid, but I read in your debug page that the crontab should always be poller.php, and now I get an invalid path error in the cacti.log...however, when i switched back to cmd.php it still didnt update the graphs
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
cactid is not part of the standard cacti installation. Either you have installed it explicitely, or it is not there. You may install it wherever you like. Please provide the path at Settings->Paths to make sure the poller will find it.zkenton wrote:where should cactid be located on the system...i changed the crontab to call the paht of cactid, but I read in your debug page that the crontab should always be poller.php, and now I get an invalid path error in the cacti.log...however, when i switched back to cmd.php it still didnt update the graphs
Reinhard
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="exdb0 - Load Average" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="processes in the run queue" \
DEF:a="/var/www/html/cacti/rra/exdb0_load_1min_267.rrd":load_1min:MAX \
DEF:b="/var/www/html/cacti/rra/exdb0_load_1min_267.rrd":load_1min:AVERAGE \
DEF:c="/var/www/html/cacti/rra/exdb0_load_5min_269.rrd":load_5min:MAX \
DEF:d="/var/www/html/cacti/rra/exdb0_load_5min_269.rrd":load_5min:AVERAGE \
DEF:e="/var/www/html/cacti/rra/exdb0_load_15min_268.rrd":load_15min:MAX \
DEF:f="/var/www/html/cacti/rra/exdb0_load_15min_268.rrd":load_15min:AVERAGE \
AREA:a#000000:"1 Minute Max" \
GPRINTLAST:" Current\:%8.2lf %s\n" \
AREA:c#FF0000:"5 Minute Max" \
GPRINT:d:LAST:" Current\:%8.2lf %s\n" \
AREA:e#EA8F00:"15 Minute Max" \
GPRINT:f:LAST:"Current\:%8.2lf %s\n"
RRDTool Says:
OK
I believe it says this because it's reading the .rrd from yesterday at 1:45, which is when i attempted the cutover to cactid...it is not updating with any of the new data however, even though poller is gathering data
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="exdb0 - Load Average" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="processes in the run queue" \
DEF:a="/var/www/html/cacti/rra/exdb0_load_1min_267.rrd":load_1min:MAX \
DEF:b="/var/www/html/cacti/rra/exdb0_load_1min_267.rrd":load_1min:AVERAGE \
DEF:c="/var/www/html/cacti/rra/exdb0_load_5min_269.rrd":load_5min:MAX \
DEF:d="/var/www/html/cacti/rra/exdb0_load_5min_269.rrd":load_5min:AVERAGE \
DEF:e="/var/www/html/cacti/rra/exdb0_load_15min_268.rrd":load_15min:MAX \
DEF:f="/var/www/html/cacti/rra/exdb0_load_15min_268.rrd":load_15min:AVERAGE \
AREA:a#000000:"1 Minute Max" \
GPRINTLAST:" Current\:%8.2lf %s\n" \
AREA:c#FF0000:"5 Minute Max" \
GPRINT:d:LAST:" Current\:%8.2lf %s\n" \
AREA:e#EA8F00:"15 Minute Max" \
GPRINT:f:LAST:"Current\:%8.2lf %s\n"
RRDTool Says:
OK
I believe it says this because it's reading the .rrd from yesterday at 1:45, which is when i attempted the cutover to cactid...it is not updating with any of the new data however, even though poller is gathering data
So i've been reading of some problems with swithching poller tools (cmd.php and/or cactid) causing corrupt rrd directories and not being able to update them. The problem has been narrowed down to poller.php not updating my rrd directory. I am running CACTID 0.8.6i and whatever the newest version of cacti is at this point...how would i get these to start updating again
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Best try would be to login as cactiuser and runzkenton wrote:alright....crontab is still poller.php, and cactid is running nicely with the properly specified path...however, the .rrds are still not updating..they still have yesterday's time stamp...thanks for the help by the way...i'm not doing so hot losing all these graphs
Code: Select all
php -q poller.php
Reinhard
Who is online
Users browsing this forum: No registered users and 3 guests