Hi there,
Hopefully someone has an easy answer for this.
cacti version: 0.86h *
rrdtool-1.2.11-3
php4-4.4.0-6
When outbound traffic on a link exceeds ~800mbit, cacti fails to update it
on the graph.
I added some extra debugging and it is actually getting the correct data,
but its not making it into the graph.
debugging info below.
I have encountered this problems (on the same interface with both
bits/sec and bytes/sec graphs.
* This data was tested with an unpatched 0.86h. I later updated to include all the patches.
The Problem persisted.
I cleared poller cache in both scenarios.
---------
MEDIUM logging
03/18/2006 02:40:02 PM - CMDPHP: Poller[0] Host[8] DS[799] SNMP: v2:
myrouter, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.4, output:
35538454550062
03/18/2006 02:45:01 PM - CMDPHP: Poller[0] Host[8] DS[799] SNMP: v2:
myrouter, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.4, output:
35571249926437
------
with more debug on:
03/18/2006 03:10:01 PM - CMDPHP: Poller[0] Host[8] DS[799] SNMP: v2:
myrouter, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.4,
output: 35729420136022
03/18/2006 03:10:01 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into
poller_output (local_data_id,rrd_name,time,output) values
(799,'traffic_out','2006-03-18 15:10:01','35729420136022')"
--------------
debug logging
(2 polling cycles) (pertinent interface only)
netmon1:/tmp # cat cacti3.log
03/18/2006 03:10:01 PM - CMDPHP: Poller[0] Host[8] DS[799] SNMP: v2:
myrouter, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.4, output:
35729420136022
03/18/2006 03:10:01 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into
poller_output (local_data_id,rrd_name,time,output) values
(799,'traffic_out','2006-03-18 15:10:01','35729420136022')"
03/18/2006 03:10:02 PM - CMDPHP: Poller[0] Host[8] DS[799] SNMP: v2:
myrouter, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.4, output:
213950518027
03/18/2006 03:10:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into
poller_output (local_data_id,rrd_name,time,output) values
(799,'traffic_in','2006-03-18 15:10:01','213950518027')"
03/18/2006 03:10:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from
poller_output where local_data_id='799' and rrd_name='traffic_out' and
time='2006-03-18 15:10:01'"
03/18/2006 03:10:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from
poller_output where local_data_id='799' and rrd_name='traffic_in' and
time='2006-03-18 15:10:01'"
03/18/2006 03:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool
update /srv/www/htdocs/cacti/rra/myrouter1_traffic_in_799.rrd --template
traffic_out:traffic_in 1142723401:35729420136022:213950518027
---------------------------
---------------------------
03/18/2006 03:15:01 PM - CMDPHP: Poller[0] Host[8] DS[799] SNMP: v2:
myrouter, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.4, output:
35759477084991
03/18/2006 03:15:01 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into
poller_output (local_data_id,rrd_name,time,output) values
(799,'traffic_out','2006-03-18 15:15:01','35759477084991')"
03/18/2006 03:15:01 PM - CMDPHP: Poller[0] Host[8] DS[799] SNMP: v2:
myrouter, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.4, output:
214139940425
03/18/2006 03:15:01 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into
poller_output (local_data_id,rrd_name,time,output) values
(799,'traffic_in','2006-03-18 15:15:01','214139940425')"
03/18/2006 03:15:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from
poller_output where local_data_id='799' and rrd_name='traffic_out' and
time='2006-03-18 15:15:01'"
03/18/2006 03:15:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from
poller_output where local_data_id='799' and rrd_name='traffic_in' and
time='2006-03-18 15:15:01'"
03/18/2006 03:15:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool
update /srv/www/htdocs/cacti/rra/myrouter1_traffic_in_799.rrd --template
traffic_out:traffic_in 1142723701:35759477084991:214139940425
cacti not updating outbound >800mbps
Moderators: Developers, Moderators
figured it out:
I changed the data template (interface - traffic) for "maximum value" (traffic_in and traffic_out) to be: 1000000000 it was previously 100000000.
I had to delete the grapha and data source for it but then it worked just fine. (I gather this is not the correct way)
(if anyone has suggestions about not having to do this for my other interfaces I'll take them).
--C
I changed the data template (interface - traffic) for "maximum value" (traffic_in and traffic_out) to be: 1000000000 it was previously 100000000.
I had to delete the grapha and data source for it but then it worked just fine. (I gather this is not the correct way)
(if anyone has suggestions about not having to do this for my other interfaces I'll take them).
--C
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
You can delete the rrd files, which when they get recreated they will have the correct max. Otherwise, you can use the tune function of rrdtool to change the max value in all your rrd files.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 4 guests