After all above and tried lot of ways to find out what's wrong with installation and configuration, I decide to restart from scratch, rename cacti to another name, reinstall it, re-apply all patches, drop the database and recreate it.
change rrd extracted to cacti/rrd and cactid to cacti/cactid folder.
Add device, SNMP result information from router, but view ing graph in Graph Management with Graph Debug turned on show up some error with RRDTool command as attached image. data file generated in cacti/rra folder. cacti.log as below:
Code: Select all
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='logging_header'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='logging_header'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_destination'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_destination'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_snmp'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_snmp'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_graph'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_graph'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_export'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_export'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='poller_header'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='poller_header'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_verbosity'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_verbosity'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_pstats'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_pstats'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_pwarn'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_pwarn'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_perror'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_perror'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='versions_header'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='versions_header'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_version'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_version'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='rrdtool_version'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='rrdtool_version'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_header'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_header'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_ver'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_ver'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_community'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_community'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_username'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_username'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_password'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_password'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_timeout'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_timeout'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_port'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_port'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_retries'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_retries'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='other_header'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='other_header'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='remove_verification'"
05/29/2006 02:24:24 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='remove_verification'"
05/29/2006 02:24:29 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item"
05/29/2006 02:24:29 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id from host where disabled = '' order by id"
05/29/2006 02:24:29 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('path_webroot','d:/cacti-0.8.6h')"
05/29/2006 02:24:29 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_time"
05/29/2006 02:24:29 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: d:/php-5.1.4/php.exe, ARGS: -q d:/cacti-0.8.6h/cmd.php 0 2]
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from host where (disabled = '' and id >= 0 and id <= 2) ORDER by id"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT * from poller_item WHERE (host_id >= 0 and host_id <= 2) ORDER by host_id"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "SELECT count(*) from poller_item WHERE (action=2 AND (host_id >= 0 and host_id <= 2))"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '3', status_event_count = '0', status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = '', min_time = '4.84000', max_time = '5.23', cur_time = '5.23', avg_time = '5.0333333333333', total_polls = '6', failed_polls = '0', availability = '100' where hostname = '10.89.10.1'"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_reindex.data_query_id, poller_reindex.action, poller_reindex.op, poller_reindex.assert_value, poller_reindex.arg1 from poller_reindex where poller_reindex.host_id=2"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '10.89.10.1'.
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update poller_reindex set assert_value='389953901' where host_id='2' and data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0'"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v1: 10.89.10.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 4236980115
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (11,'traffic_out','2006-05-29 14:24:30','4236980115')"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v1: 10.89.10.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 1855578746
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (11,'traffic_in','2006-05-29 14:24:30','1855578746')"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v1: 10.89.10.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 0
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (12,'traffic_out','2006-05-29 14:24:30','0')"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v1: 10.89.10.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 0
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (12,'traffic_in','2006-05-29 14:24:30','0')"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v1: 10.89.10.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 160328792
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (10,'traffic_in','2006-05-29 14:24:30','160328792')"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v1: 10.89.10.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 491635945
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (10,'traffic_out','2006-05-29 14:24:30','491635945')"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v1: 10.89.10.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 2182523447
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (9,'traffic_out','2006-05-29 14:24:30','2182523447')"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v1: 10.89.10.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 3177173449
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (9,'traffic_in','2006-05-29 14:24:30','3177173449')"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v1: 10.89.10.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 3777126737
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (8,'traffic_out','2006-05-29 14:24:30','3777126737')"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v1: 10.89.10.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 2285385564
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (8,'traffic_in','2006-05-29 14:24:30','2285385564')"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] Time: 0.0792 s, Theads: N/A, Hosts: 1
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('date',NOW())"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='11' and rrd_name='traffic_out' and time='2006-05-29 14:24:30'"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='11' and rrd_name='traffic_in' and time='2006-05-29 14:24:30'"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='12' and rrd_name='traffic_out' and time='2006-05-29 14:24:30'"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='12' and rrd_name='traffic_in' and time='2006-05-29 14:24:30'"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='10' and rrd_name='traffic_in' and time='2006-05-29 14:24:30'"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='10' and rrd_name='traffic_out' and time='2006-05-29 14:24:30'"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='9' and rrd_name='traffic_out' and time='2006-05-29 14:24:30'"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='9' and rrd_name='traffic_in' and time='2006-05-29 14:24:30'"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='8' and rrd_name='traffic_out' and time='2006-05-29 14:24:30'"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='8' and rrd_name='traffic_in' and time='2006-05-29 14:24:30'"
05/29/2006 02:24:30 PM - POLLER: Poller[0] CACTI2RRD: d:/cacti-0.8.6h/rrd/rrdtool.exe update D:\cacti-0.8.6h\rra\cisco_router_hanoi_2620xm_traffic_in_11.rrd --template traffic_out:traffic_in 1148887470:4236980115:1855578746
05/29/2006 02:24:30 PM - POLLER: Poller[0] CACTI2RRD: d:/cacti-0.8.6h/rrd/rrdtool.exe update D:\cacti-0.8.6h\rra\cisco_router_hanoi_2620xm_traffic_in_12.rrd --template traffic_out:traffic_in 1148887470:0:0
05/29/2006 02:24:30 PM - POLLER: Poller[0] CACTI2RRD: d:/cacti-0.8.6h/rrd/rrdtool.exe update D:\cacti-0.8.6h\rra\cisco_router_hanoi_2620xm_traffic_in_10.rrd --template traffic_in:traffic_out 1148887470:160328792:491635945
05/29/2006 02:24:30 PM - POLLER: Poller[0] CACTI2RRD: d:/cacti-0.8.6h/rrd/rrdtool.exe update D:\cacti-0.8.6h\rra\cisco_router_hanoi_2620xm_traffic_in_9.rrd --template traffic_out:traffic_in 1148887470:2182523447:3177173449
05/29/2006 02:24:30 PM - POLLER: Poller[0] CACTI2RRD: d:/cacti-0.8.6h/rrd/rrdtool.exe update D:\cacti-0.8.6h\rra\cisco_router_hanoi_2620xm_traffic_in_8.rrd --template traffic_out:traffic_in 1148887470:3777126737:2285385564
05/29/2006 02:24:30 PM - SYSTEM STATS: Time:1.0651 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:10 RRDsProcessed:5
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:1.0651 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:10 RRDsProcessed:5')"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_output"
05/29/2006 02:24:30 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"