I created some traffic graphs using the Interface - traffic template. They're
not updating, i.e. no updates to rrd files and thus NaNs in my graph.
However, all my other datasources, including others for this host, *are* updating. I tried
using lvm's directions to troubleshoot, and got to step 3, but there's no
updates in cacti.log. What's causing this?
1. Data sources -> filter by host -> add data source for remotehost, pick
Interface - traffic template, click save. I get this debug statement, which I
also have to run manually, as cactiuser (don't know why, but if I don't no
rrdfile shows up in the rra directory):
Code: Select all
/usr/bin/rrdtool create \
/var/www/html/cacti/rra/remotehost_traffic_in_61.rrd \
--step 300 \
DS:traffic_out:DERIVE:600:0:100000000 \
DS:traffic_in:DERIVE:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797
Code: Select all
[cactiuser@burvil ~]$ ls -l rra/*traffic*
-rw-rw-r-- 1 cactiuser cactiuser 141700 Sep 10 12:03 rra/appserver_traffic_in_62.rrd
-rw-rw-r-- 1 cactiuser cactiuser 141700 Sep 10 11:35 rra/remotehost_traffic_in_61.rrd
[cactiuser@burvil ~]$ date
Sun Sep 10 12:11:55 BST 2006
cacti.log, there's nothing for this datasource. I run the following command,
and it keeps getting nothing:
Code: Select all
[cactiuser@burvil ~]$ tail -f log/cacti.log | grep 'rrdtool update' |grep remotehost_traffic
another host, and ran this:
Code: Select all
[cactiuser@burvil ~]$ tail -f log/cacti.log | grep 'rrdtool' |grep traffic
unchanged.
I've tried this multiple times, i.e. deleted the datasource and started anew,
each time with no updates to the rrdfile. This is even after waiting for an
hour or two.
3. These are my settings:
Code: Select all
[cactiuser@burvil ~]$ crontab -l
*/5 * * * * php /var/www/html/cacti/poller.php > /dev/null 2>&1
Cacti 0.8.6h
RRDtool 1.0.50
RHEL AS4 Upd 3