Problem with PIX graphs, all others work fine

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

stinn
Posts: 2
Joined: Thu Mar 30, 2006 5:25 pm

Problem with PIX graphs, all others work fine

Post by stinn »

First off info:

Code: Select all

Linux mackey 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 athlon i386 GNU/Linux

Cacti Variables
Operating System: unix
PHP SNMP Support: yes

Cacti Version: 0.8.6h
Poller: cmd.php

PHP 5.1.2 (cli) (built: Feb 28 2006 06:21:15)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

Server version: Apache/2.2.0
Mysql: 5.0.18
So i have a few graphs going, I'm new to cacti but it was recommended to me so I decided to give it a go. I've got only 2 hosts so far, a cisco 4506 and a cisco pix515(along with the default localhost graphs). The 4506 graphs show up perfectly however the pix515 only shows "nan" and blank graphs. As far as I can tell this has to do with rrdtool's info it's getting from the device(I'm also new to rrdtool).

Here's an RRDtool debug from concurrent connections graph:

Code: Select all

  	 RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="PIX515 -  Current Connections" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Conn" \
DEF:a="/usr/share/cacti/rra/pix515_pixconn_33.rrd":pixconn:AVERAGE \
AREA:a#CCBB00:""  \
GPRINT:a:AVERAGE:"Current Conn%8.2lf%s\n"  \
GPRINT:a:MAX:"Max Conns%8.2lf%s\n"  \
GPRINT:a:LAST:"Current Conns%8.2lf%s" 

RRDTool Says:

OK
Here's output from rrdtool info pix515_pixconn_33.rrd

Code: Select all

filename = "pix515_5min_cpu_32.rrd"
rrd_version = "0001"
step = 300
last_update = 1143758105
ds[5min_cpu].type = "GAUGE"
ds[5min_cpu].minimal_heartbeat = 600
ds[5min_cpu].min = 0.0000000000e+00
ds[5min_cpu].max = 1.0000000000e+02
ds[5min_cpu].last_ds = "UNKN"
ds[5min_cpu].value = 0.0000000000e+00
ds[5min_cpu].unknown_sec = 5
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 1
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 7
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 271
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 1
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 7
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 271
Here's output from snmpwalk -c PUBLIC_COMMUNITY -v 1 192.168.0.1

Code: Select all

SNMPv2-MIB::sysDescr.0 = STRING: Cisco Cisco PIX Security Appliance Version 7.0(1)
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.1.451
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (429496700) 49 days, 17:02:47.00
SNMPv2-MIB::sysContact.0 = STRING: IT Dept
SNMPv2-MIB::sysName.0 = STRING: firewall.mydomain.ca
SNMPv2-MIB::sysLocation.0 = STRING: Server Room
SNMPv2-MIB::sysServices.0 = INTEGER: 4
IF-MIB::ifNumber.0 = INTEGER: 2
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifDescr.1 = STRING: Cisco PIX Security Appliance 'outside' interface
IF-MIB::ifDescr.2 = STRING: Cisco PIX Security Appliance 'inside' interface
IF-MIB::ifDescr.3 = STRING: Cisco PIX Security Appliance 'FailoverInt' interface
IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.1 = INTEGER: 1500
IF-MIB::ifMtu.2 = INTEGER: 1500
IF-MIB::ifMtu.3 = INTEGER: 1500
IF-MIB::ifSpeed.1 = Gauge32: 100000000
IF-MIB::ifSpeed.2 = Gauge32: 100000000
IF-MIB::ifSpeed.3 = Gauge32: 100000000
IF-MIB::ifPhysAddress.1 = STRING: 0:11:21:2d:33:3d
IF-MIB::ifPhysAddress.2 = STRING: 0:11:21:2d:33:3e
IF-MIB::ifPhysAddress.3 = STRING: 0:2:b3:ef:4f:99
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
IF-MIB::ifAdminStatus.3 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.3 = INTEGER: up(1)
IF-MIB::ifLastChange.1 = Timeticks: (849700) 2:21:37.00
IF-MIB::ifLastChange.2 = Timeticks: (1032300) 2:52:03.00
IF-MIB::ifLastChange.3 = Timeticks: (715998100) 82 days, 20:53:01.00
IF-MIB::ifInOctets.1 = Counter32: 1754131692
IF-MIB::ifInOctets.2 = Counter32: 2377468951
IF-MIB::ifInOctets.3 = Counter32: 689409616
IF-MIB::ifInUcastPkts.1 = Counter32: 529872923
IF-MIB::ifInUcastPkts.2 = Counter32: 1636117877
IF-MIB::ifInUcastPkts.3 = Counter32: 4875131
IF-MIB::ifInNUcastPkts.1 = Counter32: 9495
IF-MIB::ifInNUcastPkts.2 = Counter32: 24044889
IF-MIB::ifInNUcastPkts.3 = Counter32: 471
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInDiscards.2 = Counter32: 0
IF-MIB::ifInDiscards.3 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 2255404
IF-MIB::ifInErrors.2 = Counter32: 4050191
IF-MIB::ifInErrors.3 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 1891105657
IF-MIB::ifOutOctets.2 = Counter32: 597517638
IF-MIB::ifOutOctets.3 = Counter32: 2264552074
IF-MIB::ifOutUcastPkts.1 = Counter32: 1242321923
IF-MIB::ifOutUcastPkts.2 = Counter32: 1511530563
IF-MIB::ifOutUcastPkts.3 = Counter32: 73806028
IF-MIB::ifOutNUcastPkts.1 = Counter32: 14258
IF-MIB::ifOutNUcastPkts.2 = Counter32: 188160
IF-MIB::ifOutNUcastPkts.3 = Counter32: 437
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.2 = Counter32: 0
IF-MIB::ifOutDiscards.3 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.2 = Counter32: 0
IF-MIB::ifOutErrors.3 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifOutQLen.2 = Gauge32: 0
IF-MIB::ifOutQLen.3 = Gauge32: 0
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.3 = OID: SNMPv2-SMI::zeroDotZero
IP-MIB::ipAdEntAddr.1.1.1.1 = IpAddress: 1.1.1.1
IP-MIB::ipAdEntAddr.192.168.0.1 = IpAddress: 192.168.0.1
IP-MIB::ipAdEntIfIndex.1.1.1.1 = INTEGER: 1
IP-MIB::ipAdEntIfIndex.192.168.0.1 = INTEGER: 2
IP-MIB::ipAdEntNetMask.1.1.1.1 = IpAddress: 255.255.255.224
IP-MIB::ipAdEntNetMask.192.168.0.1 = IpAddress: 255.255.248.0
IP-MIB::ipAdEntBcastAddr.1.1.1.1 = INTEGER: 0
IP-MIB::ipAdEntBcastAddr.192.168.0.1 = INTEGER: 0
IP-MIB::ipAdEntReasmMaxSize.1.1.1.1 = INTEGER: 65535
IP-MIB::ipAdEntReasmMaxSize.192.168.0.1 = INTEGER: 65535
SNMPv2-MIB::snmpInPkts.0 = Counter32: 22453
SNMPv2-MIB::snmpOutPkts.0 = Counter32: 22741
SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 24
SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0
SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0
SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0
SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0
SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0
SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0
SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0
SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0
SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 78419
SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0
SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 19204
SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 3189
SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0
SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0
SNMPv2-MIB::snmpInTraps.0 = Counter32: 0
SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0
SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 172
SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0
SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0
SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0
SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0
SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0
SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 22453
SNMPv2-MIB::snmpOutTraps.0 = Counter32: 312
SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1)
SNMPv2-MIB::snmpSilentDrops.0 = Counter32: 0
SNMPv2-MIB::snmpProxyDrops.0 = Counter32: 0
IF-MIB::ifName.1 = STRING: outside
IF-MIB::ifName.2 = STRING: inside
IF-MIB::ifName.3 = STRING: FailoverInt
IF-MIB::ifInMulticastPkts.1 = Counter32: 0
IF-MIB::ifInMulticastPkts.2 = Counter32: 0
IF-MIB::ifInMulticastPkts.3 = Counter32: 0
IF-MIB::ifInBroadcastPkts.1 = Counter32: 0
IF-MIB::ifInBroadcastPkts.2 = Counter32: 0
IF-MIB::ifInBroadcastPkts.3 = Counter32: 0
IF-MIB::ifOutMulticastPkts.1 = Counter32: 0
IF-MIB::ifOutMulticastPkts.2 = Counter32: 0
IF-MIB::ifOutMulticastPkts.3 = Counter32: 0
IF-MIB::ifOutBroadcastPkts.1 = Counter32: 0
IF-MIB::ifOutBroadcastPkts.2 = Counter32: 0
IF-MIB::ifOutBroadcastPkts.3 = Counter32: 0
IF-MIB::ifLinkUpDownTrapEnable.1 = INTEGER: enabled(1)
IF-MIB::ifLinkUpDownTrapEnable.2 = INTEGER: enabled(1)
IF-MIB::ifLinkUpDownTrapEnable.3 = INTEGER: enabled(1)
IF-MIB::ifHighSpeed.1 = Gauge32: 100
IF-MIB::ifHighSpeed.2 = Gauge32: 100
IF-MIB::ifHighSpeed.3 = Gauge32: 100
IF-MIB::ifPromiscuousMode.1 = INTEGER: false(2)
IF-MIB::ifPromiscuousMode.2 = INTEGER: false(2)
IF-MIB::ifPromiscuousMode.3 = INTEGER: false(2)
IF-MIB::ifConnectorPresent.1 = INTEGER: true(1)
IF-MIB::ifConnectorPresent.2 = INTEGER: true(1)
IF-MIB::ifConnectorPresent.3 = INTEGER: true(1)
IF-MIB::ifAlias.1 = STRING: 
IF-MIB::ifAlias.2 = STRING: 
IF-MIB::ifAlias.3 = STRING: 
IF-MIB::ifCounterDiscontinuityTime.1 = Timeticks: (0) 0:00:00.00
IF-MIB::ifCounterDiscontinuityTime.2 = Timeticks: (0) 0:00:00.00
IF-MIB::ifCounterDiscontinuityTime.3 = Timeticks: (0) 0:00:00.00
SNMPv2-SMI::mib-2.47.1.1.1.1.2.1 = STRING: "PIX 515E Firewall Appliance"
SNMPv2-SMI::mib-2.47.1.1.1.1.3.1 = OID: SNMPv2-SMI::enterprises.9.12.3.1.3.318
SNMPv2-SMI::mib-2.47.1.1.1.1.4.1 = INTEGER: 0
SNMPv2-SMI::mib-2.47.1.1.1.1.5.1 = INTEGER: 3
SNMPv2-SMI::mib-2.47.1.1.1.1.6.1 = INTEGER: 0
SNMPv2-SMI::mib-2.47.1.1.1.1.7.1 = ""
SNMPv2-SMI::mib-2.47.1.1.1.1.8.1 = ""
SNMPv2-SMI::mib-2.47.1.1.1.1.9.1 = ""
SNMPv2-SMI::mib-2.47.1.1.1.1.10.1 = STRING: "7.0(1)"
SNMPv2-SMI::mib-2.47.1.1.1.1.11.1 = ""
SNMPv2-SMI::mib-2.47.1.1.1.1.12.1 = STRING: "cisco Systems Inc."
SNMPv2-SMI::mib-2.47.1.1.1.1.13.1 = STRING: "PIX-515E"
SNMPv2-SMI::mib-2.47.1.1.1.1.14.1 = ""
SNMPv2-SMI::mib-2.47.1.1.1.1.15.1 = ""
SNMPv2-SMI::mib-2.47.1.1.1.1.16.1 = INTEGER: 2
SNMPv2-SMI::mib-2.47.1.2.1.1.2.1 = STRING: " (Functional Role: Router)"
SNMPv2-SMI::mib-2.47.1.2.1.1.2.2 = STRING: " (Functional Role: Intranet VPN Hub)"
SNMPv2-SMI::mib-2.47.1.2.1.1.2.3 = STRING: " (Functional Role: Remote Access Hub)"
SNMPv2-SMI::mib-2.47.1.2.1.1.2.4 = STRING: " (Functional Role: Layer2/3 Firewall)"
SNMPv2-SMI::mib-2.47.1.2.1.1.3.1 = OID: SNMPv2-SMI::mib-2
SNMPv2-SMI::mib-2.47.1.2.1.1.3.2 = OID: SNMPv2-SMI::experimental.171
SNMPv2-SMI::mib-2.47.1.2.1.1.3.3 = OID: SNMPv2-SMI::enterprises.9.9.392
SNMPv2-SMI::mib-2.47.1.2.1.1.3.4 = OID: SNMPv2-SMI::enterprises.9.9.147
SNMPv2-SMI::mib-2.47.1.2.1.1.4.1 = ""
SNMPv2-SMI::mib-2.47.1.2.1.1.4.2 = ""
SNMPv2-SMI::mib-2.47.1.2.1.1.4.3 = ""
SNMPv2-SMI::mib-2.47.1.2.1.1.4.4 = ""
SNMPv2-SMI::mib-2.47.1.2.1.1.5.1 = Hex-STRING: AC 10 AF FD 00 A1 
SNMPv2-SMI::mib-2.47.1.2.1.1.5.2 = Hex-STRING: AC 10 AF FD 00 A1 
SNMPv2-SMI::mib-2.47.1.2.1.1.5.3 = Hex-STRING: AC 10 AF FD 00 A1 
SNMPv2-SMI::mib-2.47.1.2.1.1.5.4 = Hex-STRING: AC 10 AF FD 00 A1 
SNMPv2-SMI::mib-2.47.1.2.1.1.6.1 = OID: SNMPv2-TM::snmpUDPDomain
SNMPv2-SMI::mib-2.47.1.2.1.1.6.2 = OID: SNMPv2-TM::snmpUDPDomain
SNMPv2-SMI::mib-2.47.1.2.1.1.6.3 = OID: SNMPv2-TM::snmpUDPDomain
SNMPv2-SMI::mib-2.47.1.2.1.1.6.4 = OID: SNMPv2-TM::snmpUDPDomain
SNMPv2-SMI::mib-2.47.1.2.1.1.7.1 = ""
SNMPv2-SMI::mib-2.47.1.2.1.1.7.2 = ""
SNMPv2-SMI::mib-2.47.1.2.1.1.7.3 = ""
SNMPv2-SMI::mib-2.47.1.2.1.1.7.4 = ""
SNMPv2-SMI::mib-2.47.1.2.1.1.8.1 = ""
SNMPv2-SMI::mib-2.47.1.2.1.1.8.2 = ""
SNMPv2-SMI::mib-2.47.1.2.1.1.8.3 = ""
SNMPv2-SMI::mib-2.47.1.2.1.1.8.4 = ""
SNMPv2-SMI::mib-2.47.1.3.1.1.1.1.1 = INTEGER: 1
SNMPv2-SMI::mib-2.47.1.3.1.1.1.2.1 = INTEGER: 1
SNMPv2-SMI::mib-2.47.1.3.1.1.1.3.1 = INTEGER: 1
SNMPv2-SMI::mib-2.47.1.3.1.1.1.4.1 = INTEGER: 1
SNMPv2-SMI::mib-2.47.1.4.1.0 = Timeticks: (0) 0:00:00.00
I'm not sure what other info to give...any help would be greatly appreciated.
stinn
Posts: 2
Joined: Thu Mar 30, 2006 5:25 pm

Post by stinn »

One more, the log output of a poll

Code: Select all

03/30/2006 04:50:01 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
03/30/2006 04:50:03 PM - CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from SNMP not valid.  Partial Result: 
03/30/2006 04:50:04 PM - CMDPHP: Poller[0] ASSERT: '429496700<429496700' failed. Recaching host '192.168.0.1', data query #1
03/30/2006 04:50:04 PM - CMDPHP: Poller[0] Host[4] DS[33] WARNING: Result from SNMP not valid.  Partial Result: 
03/30/2006 04:50:04 PM - CMDPHP: Poller[0] Host[4] DS[30] WARNING: Result from SNMP not valid.  Partial Result: 
03/30/2006 04:50:05 PM - SYSTEM STATS: Time:4.0421 Method:cmd.php Processes:5 Threads:N/A Hosts:4 HostsPerProcess:1 DataSources:46 RRDsProcessed:28
03/30/2006 04:50:05 PM - PCOMMAND: Poller[0] Host[4] WARNING: Recache Event Detected for Host
03/30/2006 04:50:05 PM - RECACHE STATS: RecacheTime:0.0768 HostsRecached:1
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Some hints for debugging:
1. Hosts must respond to SNMP
As you are querying both hosts for SNMP OIDs, please check that SNMP configuration for both devices is ok. Select each om them from the Devices list and verify, that SNMP system information is given on the upper left corner of the page (no "SNMP not in use" or "snmp error").
If this is successful, you are able to query that target device from within cacti (e.g. not firewall blocking requests, correct setup of snmp agent on target device, correct setup of cacti running snmp queries).
Please verify, that the Disable Host checkbox is not selected.
2, Host must be up
Please verify from the Devices overview list, that the status is up. Explanation: to suppress querying unresponsive devices, cacti prepends all target queries by some Downed Host Detection. This may involve
  • SNMP test
  • ping test where ping may be performed using ICMP, TCP or UDP
ICMP will commonly require root permissions (personally, I do not recommend this). You may change this at Settings -> Downed Host Detection. Latest cacti requires only one of this test to be successful
3. Polling must be enabled
Find this at Settings -> Poller -> Enabled. This must be checked
4. crontab must be configured to run cacti's poller.php
*/5 * * * * cactiuser php /var/www/html/cacti/poller.php > /dev/null 2>&1
You may need to provide the /full/path/to/php
5. Increase verbosity
Settings -> Logging Level set to DEBUG allows for maximum verbosity. Please clear you ./log/cacti.log, then set DEBUG level and wait for ONE polling cycle to complete. Save this log file to some other name and reset Logging Level. Then, please examine the saved log for failing queries. Find the failing host/OID one line above the error. Try to snmpwalk this OID from command line to verify, that the target host responds to this very OID

If in doubt, please post
Reinhard
adam-trd
Posts: 15
Joined: Tue Jan 17, 2006 11:24 pm

Post by adam-trd »

i have the exact same problem, it happened 1 week ago early on a sunday morning, it just stoped graphing.

very wierd...
User avatar
AntiSpoofing
Posts: 26
Joined: Mon May 15, 2006 11:21 am

Problem with PIX graphs, all others work fine << Me 2!

Post by AntiSpoofing »

Have an issue - I create PIX machines with no problem - they start to send data back. I then go back and perform the standard "SNMP Interface query", I then setup my interface specific graphs -- then ALL my information stops. Yet I perform the SNMPGET from the machine and I get results. But this odd sequence of events only happens with PIX's as before.

This last PIX was actually SENDING information for a while - then appears to stop - no changes were made though. Seems specific to the 515's - the heavier PIX's Log every time... Given that the oid's are sending back good stuff - where should I look?
Attachments
cacti.JPG
cacti.JPG (22.94 KiB) Viewed 8834 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

adam-trd wrote:i have the exact same problem, it happened 1 week ago early on a sunday morning, it just stoped graphing.

very wierd...
So please follow the instructions above step-by-step to give me more information. WIthout -> no help possible
Reinhard
User avatar
AntiSpoofing
Posts: 26
Joined: Mon May 15, 2006 11:21 am

PIX + debug

Post by AntiSpoofing »

Reinhard,

I have followed your steps. Odd thing #2 was that once I put cacti into debug - the PIX that was working (I was not quering interface statistics) stopped.

I have verified that the host reports that it is UP, it returns information in the SNMP section. Be doggoned why it's acting this way. Oh yes, SNMPGET for the variables works from command-line.

The only item that came up in the (extensive) debug was duplicate items. (ERROR: Problem with MySQL: 'Duplicate entry '416-traffic_in-2006-05-17 08:40:02' for key 1')

...After debug - yes - the PIX that is only being queried about # connections, Memory, and CPU; came back.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Duplicate entries MAY occur when running two pollers in parallel. This often happens when using rpm based install, which put the poller statement into /etc/cron.d/cacti. If you decide to follow the installation instructions (always a good idea), you perhaps put the same statement into /etc/crontab or into crontab of user root/cactiuser. In this case, please delete one
Reinhard
User avatar
AntiSpoofing
Posts: 26
Joined: Mon May 15, 2006 11:21 am

BAMM

Post by AntiSpoofing »

Reinhard,

Dead on concerning the duplicate entries. Now I wait... :o

AntiSpoof
User avatar
AntiSpoofing
Posts: 26
Joined: Mon May 15, 2006 11:21 am

Unfortunately...

Post by AntiSpoofing »

Same issue occurs. You create the Pix usually a 515, it spews data fine for memory, CPU and # of connections - and if you stop right there, your fine. but add the interfaces and everything stops. I've even had 515 stuff log for a while - then quit! No reason !
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Sorry, no PIX here. This seems to be a device dependant issue, eh?
Reinhard
User avatar
AntiSpoofing
Posts: 26
Joined: Mon May 15, 2006 11:21 am

Arghh! Cisco will be the death of me yet...

Post by AntiSpoofing »

Well - after a rebuild of Cacti - I thought all was well - I was getting all of the Cicso related stuff - then all of them stopped - no changes - just stopped. I then presumed to perform a direct snmpget from command-line : I get

SNMPv2-SMI::enterprises.9.9.147.1.2.2.2.1.5.40.6 = Gauge32: 53

So I know...;
1) The host is up
2) Clean (relatively) install via Yum + all patches (we don't need no stinkin patches)...
3) The host responds to snmp queries directly.
4) No errors show in the poller.

I also know the odd thing is the "intermittant nature" has disappeared - now it simply will not get any information. Has anyone been able to get Cisco to behave with Cacti? I may try to "Nuke" and rebuild the Pix template...
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please get the uotime of the device via snmpget -c ... -v 1 <target> system and see, if this changes. Some time ago, there were rumours about a bug. And cacti refers to the uptime ...
Reinhard
User avatar
AntiSpoofing
Posts: 26
Joined: Mon May 15, 2006 11:21 am

Umk

Post by AntiSpoofing »

Understand that I may be doing something silly but...

'snmpget -c community -v version IP_ADDRESS system'

gives me
"Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-MIB::system"

Further, I have researched this board and I found something odd. SNMP interface retrieval works - the moment I use it - everything stops. Remove it from the PIX - and Boom, PIX related info restarts coming back. Have you heard of the "Single quote fix"? I think this might be what I'm running into...

TIA!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Umk

Post by gandalf »

AntiSpoofing wrote:... Have you heard of the "Single quote fix"? I think this might be what I'm running into...
No. You even tried using SNMP version 1? It's important, as cacti re-indexes based on uptime, derived from "system" information
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests