Hi,
I have installed 0.8.7 in debian etch my poller is not working when i run from command line i am getting the following error
POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval!
How to fix this problem?.What i need to check for this
poller is not working in 0.8.7
Moderators: Moderators, Developers
- TheWitness
- Developer
- Posts: 14834
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Edit poller.php and change
$cron_interval = ceil(($poller_start - $poller_lastrun)/60)*60
to
$cron_interval =XXX;
Where XXX is your cron_interval in seconds.
TheWitness
$cron_interval = ceil(($poller_start - $poller_lastrun)/60)*60
to
$cron_interval =XXX;
Where XXX is your cron_interval in seconds.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository
I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.
Life is an adventure, let yours begin with Cacti!
Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository
I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.
i tried that but no luck i am getting the same problem my rrd ouput
RRDTool Command:
/usr/local/rrdtool-1.2.23/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" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE \
DEF:b="/var/www/cacti/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE \
DEF:c="/var/www/cacti/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE \
CDEF:cdefg=TIME,1194870730,GT,a,a,UN,0,a,IF,IF,TIME,1194870730,GT,b,b,UN,0,b,IF,IF,TIME,1194870730,GT,c,c,UN,0,c,IF,IF,+,+ \
AREA:a#EACC00:"1 Minute Average" \
GPRINT
LAST:" Current\:%8.2lf\n" \
AREA:b#EA8F00:"5 Minute Average":STACK \
GPRINT
LAST:" Current\:%8.2lf\n" \
AREA:c#FF0000:"15 Minute Average":STACK \
GPRINT:c:LAST:"Current\:%8.2lf\n" \
LINE1:cdefg#000000:""
RRDTool Says:
OK
i am running on debian etch with php 5.2.0 and my graphs shows NAN value
RRDTool Command:
/usr/local/rrdtool-1.2.23/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" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE \
DEF:b="/var/www/cacti/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE \
DEF:c="/var/www/cacti/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE \
CDEF:cdefg=TIME,1194870730,GT,a,a,UN,0,a,IF,IF,TIME,1194870730,GT,b,b,UN,0,b,IF,IF,TIME,1194870730,GT,c,c,UN,0,c,IF,IF,+,+ \
AREA:a#EACC00:"1 Minute Average" \
GPRINT
AREA:b#EA8F00:"5 Minute Average":STACK \
GPRINT
AREA:c#FF0000:"15 Minute Average":STACK \
GPRINT:c:LAST:"Current\:%8.2lf\n" \
LINE1:cdefg#000000:""
RRDTool Says:
OK
i am running on debian etch with php 5.2.0 and my graphs shows NAN value