Code: Select all
snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.2.2.1.2
iso.3.6.1.2.1.2.2.1.2.1 = STRING: "lo"
iso.3.6.1.2.1.2.2.1.2.2 = STRING: "bond0"
iso.3.6.1.2.1.2.2.1.2.3 = STRING: "dummy0"
iso.3.6.1.2.1.2.2.1.2.4 = STRING: "eth0"
iso.3.6.1.2.1.2.2.1.2.5 = STRING: "tunl0"
iso.3.6.1.2.1.2.2.1.2.6 = STRING: "sit0"
iso.3.6.1.2.1.2.2.1.2.7 = STRING: "ip6tnl0"
Code: Select all
+ Running data query [1].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP get for num of indexes @ '.1.3.6.1.2.1.2.1.0' Index Count: 7
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 7
+ Index found at OID: 'iso.3.6.1.2.1.2.2.1.1.1' value: '1'
+ Index found at OID: 'iso.3.6.1.2.1.2.2.1.1.2' value: '2'
+ Index found at OID: 'iso.3.6.1.2.1.2.2.1.1.3' value: '3'
+ Index found at OID: 'iso.3.6.1.2.1.2.2.1.1.4' value: '4'
+ Index found at OID: 'iso.3.6.1.2.1.2.2.1.1.5' value: '5'
+ Index found at OID: 'iso.3.6.1.2.1.2.2.1.1.6' value: '6'
+ Index found at OID: 'iso.3.6.1.2.1.2.2.1.1.7' value: '7'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Found item [ifIndex='5'] index: 5 [from value]
+ Found item [ifIndex='6'] index: 6 [from value]
+ Found item [ifIndex='7'] index: 7 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Down'] index: 2 [from value]
+ Found item [ifOperStatus='Down'] index: 3 [from value]
+ Found item [ifOperStatus='Up'] index: 4 [from value]
+ Found item [ifOperStatus='Down'] index: 5 [from value]
+ Found item [ifOperStatus='Down'] index: 6 [from value]
+ Found item [ifOperStatus='Down'] index: 7 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='lo'] index: 1 [from value]
+ Found item [ifDescr='bond0'] index: 2 [from value]
+ Found item [ifDescr='dummy0'] index: 3 [from value]
+ Found item [ifDescr='eth0'] index: 4 [from value]
+ Found item [ifDescr='tunl0'] index: 5 [from value]
+ Found item [ifDescr='sit0'] index: 6 [from value]
+ Found item [ifDescr='ip6tnl0'] index: 7 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Found item [ifName='lo'] index: 1 [from value]
+ Found item [ifName='bond0'] index: 2 [from value]
+ Found item [ifName='dummy0'] index: 3 [from value]
+ Found item [ifName='eth0'] index: 4 [from value]
+ Found item [ifName='tunl0'] index: 5 [from value]
+ Found item [ifName='sit0'] index: 6 [from value]
+ Found item [ifName='ip6tnl0'] index: 7 [from value]
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Found item [ifAlias=''] index: 1 [from value]
+ Found item [ifAlias=''] index: 2 [from value]
+ Found item [ifAlias=''] index: 3 [from value]
+ Found item [ifAlias=''] index: 4 [from value]
+ Found item [ifAlias=''] index: 5 [from value]
+ Found item [ifAlias=''] index: 6 [from value]
+ Found item [ifAlias=''] index: 7 [from value]
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='24'] index: 1 [from value]
+ Found item [ifType='6'] index: 2 [from value]
+ Found item [ifType='6'] index: 3 [from value]
+ Found item [ifType='6'] index: 4 [from value]
+ Found item [ifType='131'] index: 5 [from value]
+ Found item [ifType='131'] index: 6 [from value]
+ Found item [ifType='131'] index: 7 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='10000000'] index: 1 [from value]
+ Found item [ifSpeed='0'] index: 2 [from value]
+ Found item [ifSpeed='0'] index: 3 [from value]
+ Found item [ifSpeed='100000000'] index: 4 [from value]
+ Found item [ifSpeed='0'] index: 5 [from value]
+ Found item [ifSpeed='0'] index: 6 [from value]
+ Found item [ifSpeed='0'] index: 7 [from value]
+ Located input field 'ifHighSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.15'
+ Found item [ifHighSpeed='10'] index: 1 [from value]
+ Found item [ifHighSpeed='0'] index: 2 [from value]
+ Found item [ifHighSpeed='0'] index: 3 [from value]
+ Found item [ifHighSpeed='100'] index: 4 [from value]
+ Found item [ifHighSpeed='0'] index: 5 [from value]
+ Found item [ifHighSpeed='0'] index: 6 [from value]
+ Found item [ifHighSpeed='0'] index: 7 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr=''] index: 1 [from value]
+ Found item [ifHwAddr='2E:42:E0:E3:4D:E5'] index: 2 [from value]
+ Found item [ifHwAddr='4A:69:A5:F1:95:5A'] index: 3 [from value]
+ Found item [ifHwAddr='00:22:4D:99:14:F1'] index: 4 [from value]
+ Found item [ifHwAddr=''] index: 5 [from value]
+ Found item [ifHwAddr=''] index: 6 [from value]
+ Found item [ifHwAddr=''] index: 7 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='5.135.152.119'] index: 4 [from regexp oid parse]
+ Found item [ifIP='127.0.0.1'] index: 1 [from regexp oid parse]
Code: Select all
/usr/bin/rrdtool create \
/var/lib/cacti/rra/kimi6_traffic_in_16.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:U \
DS:traffic_out:COUNTER:600:0:U \
RRA:AVERAGE:0.5:1:500 \
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:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Code: Select all
/var/lib/cacti$ sudo ls -al rra/
total 692
drwxrwx--- 2 root www-data 4096 Oct 19 23:55 .
drwxr-xr-x 3 root root 4096 Oct 19 19:45 ..
-rw-r--r-- 1 www-data www-data 111392 Oct 20 00:20 kimi6_traffic_in_16.rrd
-rw-r--r-- 1 www-data www-data 141640 Oct 20 00:20 localhost_load_1min_5.rrd
-rw-r--r-- 1 www-data www-data 47992 Oct 20 00:20 localhost_mem_buffers_3.rrd
-rw-r--r-- 1 www-data www-data 47992 Oct 20 00:20 localhost_mem_swap_4.rrd
-rw-r--r-- 1 www-data www-data 47992 Oct 20 00:20 localhost_proc_7.rrd
-rw-r--r-- 1 www-data www-data 111392 Oct 19 23:25 localhost_traffic_in_14.rrd
-rw-r--r-- 1 www-data www-data 111392 Oct 20 00:20 localhost_traffic_in_15.rrd
-rw-r--r-- 1 www-data www-data 47992 Oct 20 00:20 localhost_users_6.rrd
Code: Select all
10/20/2013 12:50:02 AM - SYSTEM STATS: Time:0.4965 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:13 RRDsProcessed:9
10/20/2013 12:55:02 AM - SYSTEM STATS: Time:0.4281 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:13 RRDsProcessed:9
10/20/2013 01:00:01 AM - SYSTEM STATS: Time:0.4051 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:13 RRDsProcessed:9
Any ideas what to do next?
I waited 1hour+ but no data...