歡迎您光臨本站 註冊首頁

cacti 圖不更新問題

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

cacti 圖不更新問題

我利用腳本在被控端取到兩個數字,然後在snmpd.conf中自定義一個OID,讓cacti取到值。然後利用cacti 將兩個數字畫在一張圖上,但 cacti 運行一段時間后,只看到一個數字的圖了,另一個數字的圖在下面變為nan了!不知道為什麼!詳細的debug信息:http://forums.cacti.net/viewtopic.php?p=121658#121658

使用snmpwalk是可以手工取到值的!
請教高手幫忙分析一下是什麼原因啦!

http://forums.cacti.net/files/callmonitor_948.jpg
《解決方案》

# snmpwalk -v 2c 10.167.0.1 -c 1public .1.3.6.1.2.1.1.3000.66
SNMPv2-MIB::system.3000.66.1.1 = INTEGER: 1
SNMPv2-MIB::system.3000.66.2.1 = STRING: "beam"
SNMPv2-MIB::system.3000.66.3.1 = STRING: "/var/Mon/usemon/beam.cpu_mem_use.sh"
SNMPv2-MIB::system.3000.66.100.1 = INTEGER: 0
SNMPv2-MIB::system.3000.66.101.1 = STRING: "10"
SNMPv2-MIB::system.3000.66.101.2 = STRING: "91093"
SNMPv2-MIB::system.3000.66.102.1 = INTEGER: 0
SNMPv2-MIB::system.3000.66.103.1 = ""
#
#
#
#
# /usr/local/rrdtool/bin/rrdtool fetch 1_gw_call_monitor_connected_1797.rrd AVERAGE
                      Connected

1199309760: nan
1199347440: nan
1199358240: nan
1199358480: nan
1199358720: nan
1199358960: nan
1199359200: nan
1199359440: nan
1199363520: nan
1199363760: nan
1199364000: nan
1199364240: nan
1199364480: nan
......................省略
1199370000: nan
1199370240: nan
1199370480: nan
1199370720: nan
# /usr/local/rrdtool/bin/rrdtool info 1_gw_call_monitor_connected_1797.rrd
filename = "1_gw_call_monitor_connected_1797.rrd"
rrd_version = "0003"
step = 10
last_update = 1199368506
ds.type = "GAUGE"
ds.minimal_heartbeat = 20
ds.min = 0.0000000000e+00
ds.max = NaN
ds.last_ds = "196"
ds.value = NaN
ds.unknown_sec = 6
rra.cf = "AVERAGE"
rra.rows = 500
rra.pdp_per_row = 1
rra.xff = 5.0000000000e-01
rra.cdp_prep.value = NaN
rra.cdp_prep.unknown_datapoints = 0
rra.cf = "AVERAGE"
rra.rows = 600
rra.pdp_per_row = 1
rra.xff = 5.0000000000e-01
rra.cdp_prep.value = NaN
rra.cdp_prep.unknown_datapoints = 0
rra.cf = "AVERAGE"
rra.rows = 700
rra.pdp_per_row = 6
rra.xff = 5.0000000000e-01
rra.cdp_prep.value = NaN
rra.cdp_prep.unknown_datapoints = 0
rra.cf = "AVERAGE"
rra.rows = 775
rra.pdp_per_row = 24
rra.xff = 5.0000000000e-01
rra.cdp_prep.value = NaN
rra.cdp_prep.unknown_datapoints = 18
rra.cf = "AVERAGE"
rra.rows = 797
rra.pdp_per_row = 288
rra.xff = 5.0000000000e-01
rra.cdp_prep.value = NaN
rra.cdp_prep.unknown_datapoints = 114
rra.cf = "MAX"
rra.rows = 500
rra.pdp_per_row = 1
rra.xff = 5.0000000000e-01
rra.cdp_prep.value = NaN
rra.cdp_prep.unknown_datapoints = 0
rra.cf = "MAX"
rra.rows = 600
rra.pdp_per_row = 1
rra.xff = 5.0000000000e-01
rra.cdp_prep.value = NaN
rra.cdp_prep.unknown_datapoints = 0
rra.cf = "MAX"
rra.rows = 700
rra.pdp_per_row = 6
rra.xff = 5.0000000000e-01
rra.cdp_prep.value = NaN
rra.cdp_prep.unknown_datapoints = 0
rra.cf = "MAX"
rra.rows = 775
rra.pdp_per_row = 24
rra.xff = 5.0000000000e-01
rra.cdp_prep.value = NaN
rra.cdp_prep.unknown_datapoints = 18
rra.cf = "MAX"
rra.rows = 797
rra.pdp_per_row = 288
rra.xff = 5.0000000000e-01
rra.cdp_prep.value = NaN
rra.cdp_prep.unknown_datapoints = 114
# cd /usr/local/spine/bin
# ./spine --verbosity=5 87 87
SPINE: Using spine config file [../etc/spine.conf]
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'path_webroot''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'path_cactilog''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The path_php_server variable is /var/Mon/cacti/script_server.php
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The path_cactilog variable is /usr/local/apache/htdocs/cacti/log/cacti.log
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_destination''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The log_destination variable is 2 (BOTH)
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'path_php_binary''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The path_php variable is /usr/bin/php
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'availability_method''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The availability_method variable is 2
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_recovery_count''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The ping_recovery_count variable is 3
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_failure_count''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The ping_failure_count variable is 2
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_method''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The ping_method variable is 1
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_retries''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The ping_retries variable is 1
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_timeout''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The ping_timeout variable is 500
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_perror''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The log_perror variable is 1
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_pwarn''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The log_pwarn variable is 1
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_pstats''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The log_pstats variable is 1
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'max_threads''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The threads variable is 1
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'poller_interval''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The polling interval is 300 seconds
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'concurrent_processes''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The number of concurrent processes is 2
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'script_timeout''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The script timeout is 25
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'php_servers''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The number of php script servers to run is 1
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT action FROM poller_item WHERE action=2 AND host_id BETWEEN 87 AND 87 LIMIT 1'
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: StartHost='87', EndHost='87', TotalPHPScripts='0'
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The PHP Script Server is Not Required
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT value FROM settings WHERE name = 'max_get_size''
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The Maximum SNMP OID Get Size is 10
01/03/2008 09:29:05 AM - SPINE: Poller Version 0.8.7b starting
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: MySQL is Thread Safe!
01/03/2008 09:29:05 AM - SPINE: Poller SPINE: Initializing Net-SNMP API
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SNMP Header Version is 5.1.2
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SNMP Library Version is 5.1.2
01/03/2008 09:29:05 AM - SPINE: Poller SPINE: Initializing PHP Script Server(s)
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT id FROM host WHERE disabled='' AND id BETWEEN 87 AND 87 ORDER BY id'
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: Initial Value of Active Threads is 0
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: Valid Thread to be Created
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The Value of Active Threads is 1
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: In Poller, About to Start Polling of Host
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT snmp_port, count(snmp_port) FROM poller_item WHERE host_id=0 AND rrd_next_step < 0 GROUP BY snmp_port'
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT action, hostname, snmp_community, snmp_version, snmp_username, snmp_password, rrd_name, rrd_path, arg1, arg2, arg3, local_data_id, rrd_num, snmp_port, snmp_timeout, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context  FROM poller_item WHERE host_id=0 and rrd_next_step <=0 ORDER by snmp_port'
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'UPDATE poller_item SET rrd_next_step=rrd_next_step-300 WHERE host_id=0'
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'UPDATE poller_item SET rrd_next_step=rrd_step-300 WHERE rrd_next_step < 0 and host_id=0'
01/03/2008 09:29:05 AM - SPINE: Poller Host DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The Value of Active Threads is 0
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: Valid Thread to be Created
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: The Value of Active Threads is 1
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: In Poller, About to Start Polling of Host
01/03/2008 09:29:05 AM - SPINE: Poller DEBUG: SQL:'SELECT id, hostname, snmp_community, snmp_version, snmp_username, snmp_password, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context, snmp_port, snmp_timeout, max_oids, availability_method, ping_method, ping_port, ping_timeout, ping_retries, status, status_event_count, status_fail_date, status_rec_date, status_last_error, min_time, max_time, cur_time, avg_time, total_polls, failed_polls, availability  FROM host WHERE id=87'
01/03/2008 09:29:06 AM - SPINE: Poller Host PING Result: ICMP: Host is Alive
01/03/2008 09:29:06 AM - SPINE: Poller Host SNMP Result: SNMP not performed due to setting or ping result
01/03/2008 09:29:06 AM - SPINE: Poller DEBUG: SQL:'UPDATE host SET status='3', status_event_count='0', status_fail_date='2007-12-28 23:45:00', status_rec_date='2007-12-29 00:25:00', status_last_error='Host did not respond to SNMP, ICMP: Ping timed out', min_time='0.286510', max_time='324.828980', cur_time='33.107495', avg_time='34.115684', total_polls='11736', failed_polls='8', availability='99.9318' WHERE id='87''
01/03/2008 09:29:06 AM - SPINE: Poller DEBUG: SQL:'SELECT data_query_id, action, op, assert_value, arg1 FROM poller_reindex WHERE host_id=87'
01/03/2008 09:29:06 AM - SPINE: Poller Host Host has no information for recache.
01/03/2008 09:29:06 AM - SPINE: Poller DEBUG: SQL:'SELECT snmp_port, count(snmp_port) FROM poller_item WHERE host_id=87 AND rrd_next_step < 0 GROUP BY snmp_port'
01/03/2008 09:29:06 AM - SPINE: Poller DEBUG: SQL:'SELECT action, hostname, snmp_community, snmp_version, snmp_username, snmp_password, rrd_name, rrd_path, arg1, arg2, arg3, local_data_id, rrd_num, snmp_port, snmp_timeout, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context  FROM poller_item WHERE host_id=87 and rrd_next_step <=0 ORDER by snmp_port'
01/03/2008 09:29:06 AM - SPINE: Poller DEBUG: SQL:'UPDATE poller_item SET rrd_next_step=rrd_next_step-300 WHERE host_id=87'
01/03/2008 09:29:06 AM - SPINE: Poller DEBUG: SQL:'UPDATE poller_item SET rrd_next_step=rrd_step-300 WHERE rrd_next_step < 0 and host_id=87'
01/03/2008 09:29:08 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Total_Currentcalls, oid: .1.3.6.1.2.1.1.3000.75.101.1, value: 276
01/03/2008 09:29:08 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: OnlineuserNAT, oid: .1.3.6.1.2.1.1.3000.76.101.2, value: 8831
01/03/2008 09:29:08 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: OnlineuserTotal, oid: .1.3.6.1.2.1.1.3000.76.101.1, value: 14223
01/03/2008 09:29:08 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: satcom, oid: .1.3.6.1.2.1.1.3000.94.101.2, value: 0
01/03/2008 09:29:08 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: satcom, oid: .1.3.6.1.2.1.1.3000.94.101.1, value: 0
01/03/2008 09:29:08 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: ShandongGW, oid: .1.3.6.1.2.1.1.3000.77.101.2, value: 0
01/03/2008 09:29:08 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: ShandongGWTotalca, oid: .1.3.6.1.2.1.1.3000.77.101.1, value: 0
01/03/2008 09:29:08 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: shenzhenweitong, oid: .1.3.6.1.2.1.1.3000.88.101.2, value: 12
01/03/2008 09:29:08 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: shenzhenweitong, oid: .1.3.6.1.2.1.1.3000.88.101.1, value: 12
01/03/2008 09:29:08 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: shenzhenweitong2, oid: .1.3.6.1.2.1.1.3000.89.101.2, value: 7
01/03/2008 09:29:10 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: shenzhenweitong2, oid: .1.3.6.1.2.1.1.3000.89.101.1, value: 8
01/03/2008 09:29:10 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Xian_PRI, oid: .1.3.6.1.2.1.1.3000.90.101.2, value: 28
01/03/2008 09:29:10 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Xian_PRI, oid: .1.3.6.1.2.1.1.3000.90.101.1, value: 32
01/03/2008 09:29:10 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Xian_PRI_EN, oid: .1.3.6.1.2.1.1.3000.93.101.2, value: 0
01/03/2008 09:29:10 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Xian_PRI_EN, oid: .1.3.6.1.2.1.1.3000.93.101.1, value: 0
01/03/2008 09:29:10 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Xian_SS7, oid: .1.3.6.1.2.1.1.3000.91.101.2, value: 27
01/03/2008 09:29:10 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Xian_SS7, oid: .1.3.6.1.2.1.1.3000.91.101.1, value: 28
01/03/2008 09:29:10 AM - SPINE: Poller Host DS WARNING: Result from SNMP not valid. Partial Result: ...
01/03/2008 09:29:10 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Xian_SS7_EN, oid: .1.3.6.1.2.1.1.3000.92.101.2, value: U
01/03/2008 09:29:10 AM - SPINE: Poller Host DS WARNING: Result from SNMP not valid. Partial Result: /usr/local/mrtg/Xian...
01/03/2008 09:29:10 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Xian_SS7_EN, oid: .1.3.6.1.2.1.1.3000.92.101.1, value: U
01/03/2008 09:29:10 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou18, oid: .1.3.6.1.2.1.1.3000.78.101.2, value: 12
01/03/2008 09:29:12 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou18, oid: .1.3.6.1.2.1.1.3000.78.101.1, value: 12
01/03/2008 09:29:12 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou21, oid: .1.3.6.1.2.1.1.3000.79.101.2, value: 14
01/03/2008 09:29:12 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou21, oid: .1.3.6.1.2.1.1.3000.79.101.1, value: 14
01/03/2008 09:29:12 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou22, oid: .1.3.6.1.2.1.1.3000.80.101.2, value: 9
01/03/2008 09:29:12 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou22, oid: .1.3.6.1.2.1.1.3000.80.101.1, value: 9
01/03/2008 09:29:12 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou23, oid: .1.3.6.1.2.1.1.3000.81.101.2, value: 8
01/03/2008 09:29:12 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou23, oid: .1.3.6.1.2.1.1.3000.81.101.1, value: 8
01/03/2008 09:29:12 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou24, oid: .1.3.6.1.2.1.1.3000.82.101.2, value: 16
01/03/2008 09:29:12 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou24, oid: .1.3.6.1.2.1.1.3000.82.101.1, value: 16
01/03/2008 09:29:12 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou25, oid: .1.3.6.1.2.1.1.3000.83.101.2, value: 17
01/03/2008 09:29:14 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou25, oid: .1.3.6.1.2.1.1.3000.83.101.1, value: 17
01/03/2008 09:29:14 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou26, oid: .1.3.6.1.2.1.1.3000.84.101.2, value: 17
01/03/2008 09:29:14 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou26, oid: .1.3.6.1.2.1.1.3000.84.101.1, value: 17
01/03/2008 09:29:14 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou27, oid: .1.3.6.1.2.1.1.3000.85.101.2, value: 16
01/03/2008 09:29:14 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou27, oid: .1.3.6.1.2.1.1.3000.85.101.1, value: 16
01/03/2008 09:29:14 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou28, oid: .1.3.6.1.2.1.1.3000.86.101.2, value: 9
01/03/2008 09:29:14 AM - SPINE: Poller Host DS SNMP: v2: 10.167.0.1, dsname: Zhengzhou28, oid: .1.3.6.1.2.1.1.3000.86.101.1, value: 9
01/03/2008 09:29:14 AM - SPINE: Poller DEBUG: SQL:'INSERT INTO poller_output (local_data_id, rrd_name, time, output) VALUES (1798,'Total_Currentcalls','2008-01-03 09:29:05','276'),(1799,'OnlineuserNAT','2008-01-03 09:29:05','8831'),(1800,'OnlineuserTotal','2008-01-03 09:29:05','14223'),(1801,'satcom','2008-01-03 09:29:05','0'),(1802,'satcom','2008-01-03 09:29:05','0'),(1803,'ShandongGW','2008-01-03 09:29:05','0'),(1804,'ShandongGWTotalca','2008-01-03 09:29:05','0'),(1805,'shenzhenweitong','2008-01-03 09:29:05','12'),(1806,'shenzhenweitong','2008-01-03 09:29:05','12'),(1807,'shenzhenweitong2','2008-01-03 09:29:05','7'),(1808,'shenzhenweitong2','2008-01-03 09:29:05','8'),(1809,'Xian_PRI','2008-01-03 09:29:05','28'),(1810,'Xian_PRI','2008-01-03 09:29:05','32'),(1811,'Xian_PRI_EN','2008-01-03 09:29:05','0'),(1812,'Xian_PRI_EN','2008-01-03 09:29:05','0'),(1813,'Xian_SS7','2008-01-03 09:29:05','27'),(1814,'Xian_SS7','2008-01-03 09:29:05','28'),(1815,'Xian_SS7_EN','2008-01-03 09:29:05','U'),(1816,'Xian_SS7_EN','2008-01-03 09:29:05','U'),(1817,'Zhengzhou18','2008-01'
01/03/2008 09:29:14 AM - SPINE: Poller Host DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
01/03/2008 09:29:14 AM - SPINE: Poller DEBUG: The Value of Active Threads is 0
01/03/2008 09:29:14 AM - SPINE: Poller DEBUG: SQL:'replace into settings (name,value) values ('date',NOW())'
01/03/2008 09:29:14 AM - SPINE: Poller DEBUG: SQL:'insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())'
01/03/2008 09:29:14 AM - SPINE: Poller DEBUG: Thread Cleanup Complete
01/03/2008 09:29:14 AM - SPINE: Poller DEBUG: PHP Script Server Pipes Closed
01/03/2008 09:29:14 AM - SPINE: Poller DEBUG: Allocated Variable Memory Freed
01/03/2008 09:29:14 AM - SPINE: Poller SPINE: Net-SNMP API Shutdown Completed
01/03/2008 09:29:14 AM - SPINE: Poller DEBUG: MYSQL Free & Close Completed
01/03/2008 09:29:14 AM - SPINE: Poller Time: 9.3310 s, Threads: 1, Hosts: 2
《解決方案》

一般不是目錄沒寫許可權就是cron的問題
《解決方案》

感謝回復,但我想肯定不是你說的兩種情況啦!

許可權不對,那其它文件圖就不會更新了,因為我是對整個cacti目錄給的許可權

crontab 也應該沒有問題
《解決方案》

我發現在資料庫的表poller_item 的欄位rrd_next_step  值大於0的監控項目的圖都不更新了,不清楚是什麼原因!

不知道有沒有對cacti數據結構比較清楚的朋友?幫忙分析一下原因!
《解決方案》

有沒有高手呀,緊急的問題啊,我好多監控的圖,都不出來的,只是我自定義的OID就不行,但大部分的自定義的OID工作沒有問題!
《解決方案》

幫你頂一下.

SORRY,我是剛剛學LINUX不久.

幫不到你.
《解決方案》

是啊,我的也一樣啊,圖表不能更新,

mysql中:
rrd_step                 | mediumint(8) unsigned | NO   |     | 300     |       |
rrd_next_step        | mediumint(8)          | NO   | MUL | 0      


運行
$ /usr/local/php/bin/php /usr/local/http/htdocs/cacti/poller.php
02/29/2008 10:33:46 PM - POLLER: Poller WARNING: Cron is out of sync with the Poller Interval!  The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 511 seconds have passed since the last poll!

要怎麼改啊?是改資料庫呢還是改其他的,樓主解決這個問題了沒?

[火星人 ] cacti 圖不更新問題已經有905次圍觀

http://coctec.com/docs/service/show-post-32184.html