[solved] Graphs not working for Cisco devices

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

Yep on 0.8.7d. I downloaded them again but no improvements. Is there a way to test if patches are installed correctly??
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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 :P). New server/cacti install too (using my 1.91 installer).
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

Yes I downloaded them from that link. You can even see the exact file size in the picture - 17,535 bytes, is that correct?
Image
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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.
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

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:
Image

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
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

Also, could that be why even though I applied patches it is using old data/settings?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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.
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

I will redownload the patches and see how it works.
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

I'm not sure how I messed up something so simple as downloading a file! But I re-downloaded them and copied them to my lib folder and when I did that I did see they are a different size so I assume that is good! Now I will wait a few poller cycles and see if everything is working.
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

well, unfortunately after applying patches and rebooting the server I am still having the same problem. :cry: :cry: :cry:
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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?
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

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
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I'm just about out of ideas...'bout time to get one of those lazy developers on this :P

The data source for fbpix_traffic_in_226, do the Data Source Item Fields have spaces in them after the numbers?
tianys
Posts: 6
Joined: Fri Mar 27, 2009 12:05 am

Post by tianys »

As the Item you have created, you should remove the space manually. Console -> Data Sources -> (Edit) "Maximum Value"
rsutton
Cacti User
Posts: 65
Joined: Fri Mar 06, 2009 12:46 pm

Post by rsutton »

I will try both of these things and report back if successful or not!
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests