Cacti seems to be a powerfull software but i'm facing some problems and i am not able to really test it... Maybe you guys have the answer to my issues, i resolved some i had with your very active forum So thanks for that.
Here is my configuration:
Centos 4x
net-snmp 5.1.2
cacti Version 0.8.6d
Code: Select all
Cacti Variables
Operating System: unix
PHP SNMP Support: yes
Edit: Only the unicast graph has values, the non unicast graph are appearing but there are no values inside...
Here is the verbose for the SNMP - Interface Statistics:
Code: Select all
Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ 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]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='1'] index: 1 [from value]
+ Found item [ifOperStatus='1'] index: 2 [from value]
+ Found item [ifOperStatus='1'] index: 3 [from value]
+ Found item [ifOperStatus='2'] index: 4 [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='eth0'] index: 2 [from value]
+ Found item [ifDescr='eth1'] index: 3 [from value]
+ Found item [ifDescr='sit0'] index: 4 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ 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='131'] index: 4 [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='1000000000'] index: 2 [from value]
+ Found item [ifSpeed='1000000000'] index: 3 [from value]
+ Found item [ifSpeed='0'] index: 4 [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=''] index: 2 [from value]
+ Found item [ifHwAddr=''] index: 3 [from value]
+ Found item [ifHwAddr=''] index: 4 [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='127.0.0.1'] index: 1 [from regexp oid parse]
+ Found item [ifIP='138.102.22.4'] index: 2 [from regexp oid parse]
+ Found item [ifIP='192.168.1.4'] index: 3 [from regexp oid parse]
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1168960706 \
--end=1169047106 \
--title="ac1 - Traffic - 138.102.22.31 (eth0)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2007/01/16 16\:18\:26 To 2007/01/17 16\:18\:26\c" \
COMMENT:" \n" \
--vertical-label="bytes per second" \
DEF:a="/var/www/html/cacti/rra/ac1_traffic_in_33.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/cacti/rra/ac1_traffic_in_33.rrd":traffic_out:AVERAGE \
AREA:a#00CF00:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:b#002A97:"Outbound" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s"
V
Code: Select all
iew Cacti Log File [438 Items]
01/17/2007 04:30:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:30:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:30:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:30:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:30:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:30:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:30:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:30:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:30:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:30:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:30:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:30:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:29:58 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
01/17/2007 04:29:58 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
01/17/2007 04:25:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:25:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:25:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:25:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:25:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:25:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:25:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:25:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:25:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:25:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:25:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:25:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:25:02 PM - CMDPHP: Poller[0] ASSERT: '444250<444250' failed. Recaching host 'ac1', data query #6.
01/17/2007 04:24:59 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
01/17/2007 04:24:58 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
01/17/2007 04:20:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:20:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:20:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:20:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:20:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:20:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:20:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:20:02 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid. Partial Result:
01/17/2007 04:20:02 PM - CMDPHP: Poller[0] ASSERT: '30346252<30346252' failed. Recaching host 'adm3', data query #2.
Everything seem to be allright i don't get it this time and i am not able to find anything on the board. Is it the version of snmp from the centos distribution ?
ps: sorry for the size of the post...
Thank you in advance for helping