[solved] Graphs not working for Cisco devices
Moderators: Developers, Moderators
Umm, besides comparing the patched files, line by line... not really.
You downloaded and overwrote the files from http://www.cacti.net/downloads/patches/ ... tched/lib/ ? I'm on cacti 0.8.7d + PIA 2.4 and have no issues creating graphs (been doing a shitload of that lately -- 1100 data sources so far ). New server/cacti install too (using my 1.91 installer).
You downloaded and overwrote the files from http://www.cacti.net/downloads/patches/ ... tched/lib/ ? I'm on cacti 0.8.7d + PIA 2.4 and have no issues creating graphs (been doing a shitload of that lately -- 1100 data sources so far ). New server/cacti install too (using my 1.91 installer).
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I just downloaded it again today and its 16.6 KB (17,053 bytes) (same with the one on my server).
Please re-download them all again.
Please re-download them all again.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
i see something else that is strange - I will try my best to describe. I had previously set very large values in the min/max area of the traffic data template. I have since checked the option to use per-Data source however when I look at the Cacti log file it still appears to be using the values I previously set. Could this be related or cause of problem?
Here is a screen shots to help explain:
You see in the screen shot I have those values ignored but then I see them referenced when the rrdtool runs:
03/26/2009 11:46:23 AM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool.exe create C:/Inetpub/wwwroot/cacti/rra/fbpix_traffic_in_226.rrd --step 300 DS:traffic_in:COUNTER:600:0:9000000000000000 DS:traffic_out:COUNTER:600:0: 100000000 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:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
Here is a screen shots to help explain:
You see in the screen shot I have those values ignored but then I see them referenced when the rrdtool runs:
03/26/2009 11:46:23 AM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool.exe create C:/Inetpub/wwwroot/cacti/rra/fbpix_traffic_in_226.rrd --step 300 DS:traffic_in:COUNTER:600:0:9000000000000000 DS:traffic_out:COUNTER:600:0: 100000000 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:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
Why did you set those crazy large values? By default, cacti automatically sets the correct max for each data source, based on the interface linespeed (look at the interface data query).
The default is:
Min = 0 (unchecked)
Max = 100000000 (checked)
Anyways, no that large value isn't the real problem, the space is... which a patch has been released to fix for cacti 0.8.7d.
The default is:
Min = 0 (unchecked)
Max = 100000000 (checked)
Anyways, no that large value isn't the real problem, the space is... which a patch has been released to fix for cacti 0.8.7d.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
You re-downloaded ALL of those pre-patched files this time?
Clear your poller cache. Refresh an interface query for a device (click the green circle) and do a verbose query. Now look in the snmp cache for the snmp interface queries. No spaces in the data?
Once again, change the cacti logging level to debug for a cycle and look at the rrdtool create command. Space present?
Clear your poller cache. Refresh an interface query for a device (click the green circle) and do a verbose query. Now look in the snmp cache for the snmp interface queries. No spaces in the data?
Once again, change the cacti logging level to debug for a cycle and look at the rrdtool create command. Space present?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Yes downloaded all patches. Cleared SNMP cache. Did a verbose query:
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:/Inetpub/wwwroot/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'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.1' value: '1'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.2' value: '2'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.3' value: '3'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.4' value: '4'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.5' value: '5'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.6' value: '6'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.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='Up'] index: 2 [from value]
+ Found item [ifOperStatus='Up'] index: 3 [from value]
+ Found item [ifOperStatus='Down'] index: 4 [from value]
+ Found item [ifOperStatus='Down'] index: 5 [from value]
+ Found item [ifOperStatus='Down'] index: 6 [from value]
+ Found item [ifOperStatus='Up'] 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='Adaptive Security Appliance Null0 interface'] index: 1 [from value]
+ Found item [ifDescr='Adaptive Security Appliance outside interface'] index: 2 [from value]
+ Found item [ifDescr='Adaptive Security Appliance inside1 interface'] index: 3 [from value]
+ Found item [ifDescr='Adaptive Security Appliance Ethernet0/2 interface'] index: 4 [from value]
+ Found item [ifDescr='Adaptive Security Appliance Ethernet0/3 interface'] index: 5 [from value]
+ Found item [ifDescr='Adaptive Security Appliance management interface'] index: 6 [from value]
+ Found item [ifDescr='Adaptive Security Appliance Virtual254 interface'] 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='Null0'] index: 1 [from value]
+ Found item [ifName='outside'] index: 2 [from value]
+ Found item [ifName='inside1'] index: 3 [from value]
+ Found item [ifName='Ethernet0/2'] index: 4 [from value]
+ Found item [ifName='Ethernet0/3'] index: 5 [from value]
+ Found item [ifName='management'] index: 6 [from value]
+ Found item [ifName='Virtual254'] 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='other(1)'] index: 1 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 2 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 3 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 4 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 5 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 6 [from value]
+ Found item [ifType='other(1)'] 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='0'] index: 1 [from value]
+ Found item [ifSpeed='1000000000'] index: 2 [from value]
+ Found item [ifSpeed='100000000'] index: 3 [from value]
+ Found item [ifSpeed='100000000'] index: 4 [from value]
+ Found item [ifSpeed='100000000'] index: 5 [from value]
+ Found item [ifSpeed='100000000'] index: 6 [from value]
+ Found item [ifSpeed='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='00:00:00:00:00:00'] index: 1 [from value]
+ Found item [ifHwAddr='00:22:90:C1:FC:C4'] index: 2 [from value]
+ Found item [ifHwAddr='00:22:90:C1:FC:C5'] index: 3 [from value]
+ Found item [ifHwAddr='00:22:90:C1:FC:C6'] index: 4 [from value]
+ Found item [ifHwAddr='00:22:90:C1:FC:C7'] index: 5 [from value]
+ Found item [ifHwAddr='00:22:90:C1:FC:C8'] index: 6 [from value]
+ Found item [ifHwAddr='00:00:00:00:00:00'] 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='10.10.10.1'] index: 3 [from regexp oid parse]
+ Found item [ifIP='x.x.x.9'] index: 2 [from regexp oid parse]
+ Found item [ifIP='192.168.1.1'] index: 6 [from regexp oid parse]
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
and still seeing a gap from the cacti log file:
03/26/2009 04:51:23 PM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool.exe create C:/Inetpub/wwwroot/cacti/rra/fbpix_traffic_in_226.rrd --step 300 DS:traffic_in:COUNTER:600:0:9000000000000000 DS:traffic_out:COUNTER:600:0: 100000000 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:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:/Inetpub/wwwroot/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'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.1' value: '1'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.2' value: '2'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.3' value: '3'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.4' value: '4'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.5' value: '5'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.6' value: '6'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.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='Up'] index: 2 [from value]
+ Found item [ifOperStatus='Up'] index: 3 [from value]
+ Found item [ifOperStatus='Down'] index: 4 [from value]
+ Found item [ifOperStatus='Down'] index: 5 [from value]
+ Found item [ifOperStatus='Down'] index: 6 [from value]
+ Found item [ifOperStatus='Up'] 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='Adaptive Security Appliance Null0 interface'] index: 1 [from value]
+ Found item [ifDescr='Adaptive Security Appliance outside interface'] index: 2 [from value]
+ Found item [ifDescr='Adaptive Security Appliance inside1 interface'] index: 3 [from value]
+ Found item [ifDescr='Adaptive Security Appliance Ethernet0/2 interface'] index: 4 [from value]
+ Found item [ifDescr='Adaptive Security Appliance Ethernet0/3 interface'] index: 5 [from value]
+ Found item [ifDescr='Adaptive Security Appliance management interface'] index: 6 [from value]
+ Found item [ifDescr='Adaptive Security Appliance Virtual254 interface'] 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='Null0'] index: 1 [from value]
+ Found item [ifName='outside'] index: 2 [from value]
+ Found item [ifName='inside1'] index: 3 [from value]
+ Found item [ifName='Ethernet0/2'] index: 4 [from value]
+ Found item [ifName='Ethernet0/3'] index: 5 [from value]
+ Found item [ifName='management'] index: 6 [from value]
+ Found item [ifName='Virtual254'] 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='other(1)'] index: 1 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 2 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 3 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 4 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 5 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 6 [from value]
+ Found item [ifType='other(1)'] 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='0'] index: 1 [from value]
+ Found item [ifSpeed='1000000000'] index: 2 [from value]
+ Found item [ifSpeed='100000000'] index: 3 [from value]
+ Found item [ifSpeed='100000000'] index: 4 [from value]
+ Found item [ifSpeed='100000000'] index: 5 [from value]
+ Found item [ifSpeed='100000000'] index: 6 [from value]
+ Found item [ifSpeed='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='00:00:00:00:00:00'] index: 1 [from value]
+ Found item [ifHwAddr='00:22:90:C1:FC:C4'] index: 2 [from value]
+ Found item [ifHwAddr='00:22:90:C1:FC:C5'] index: 3 [from value]
+ Found item [ifHwAddr='00:22:90:C1:FC:C6'] index: 4 [from value]
+ Found item [ifHwAddr='00:22:90:C1:FC:C7'] index: 5 [from value]
+ Found item [ifHwAddr='00:22:90:C1:FC:C8'] index: 6 [from value]
+ Found item [ifHwAddr='00:00:00:00:00:00'] 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='10.10.10.1'] index: 3 [from regexp oid parse]
+ Found item [ifIP='x.x.x.9'] index: 2 [from regexp oid parse]
+ Found item [ifIP='192.168.1.1'] index: 6 [from regexp oid parse]
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
and still seeing a gap from the cacti log file:
03/26/2009 04:51:23 PM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool.exe create C:/Inetpub/wwwroot/cacti/rra/fbpix_traffic_in_226.rrd --step 300 DS:traffic_in:COUNTER:600:0:9000000000000000 DS:traffic_out:COUNTER:600:0: 100000000 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:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
I'm just about out of ideas...'bout time to get one of those lazy developers on this
The data source for fbpix_traffic_in_226, do the Data Source Item Fields have spaces in them after the numbers?
The data source for fbpix_traffic_in_226, do the Data Source Item Fields have spaces in them after the numbers?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 0 guests