Problems graphing Cisco PIX on new Cacti win2003 install

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

Moderators: Developers, Moderators

Post Reply
neallewis
Posts: 3
Joined: Fri Nov 18, 2005 5:14 pm

Problems graphing Cisco PIX on new Cacti win2003 install

Post by neallewis »

I'm trying to graph a Cisco PIX515, but the status in "devices" shows as down, when its not, and also no graphs are being created?

Going into the Device:

Cisco PIX515 (pixie) (192.168.1.1)
SNMP Information
System: Cisco Cisco PIX Security Appliance Version 7.0(4)
Uptime: 47252000
Hostname: pixie.xxx.xxx


SNMP - Interface Statistics (Verbose Query) Uptime Goes Backwards Success [18 Items, 2 Rows]

Data Query Debug Information:

+ 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'
+ 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]
+ 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]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='Cisco PIX Security Appliance outside interface'] index: 1 [from value]
+ Found item [ifDescr='Cisco PIX Security Appliance inside interface'] index: 2 [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='outside'] index: 1 [from value]
+ Found item [ifName='inside'] index: 2 [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]
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='6'] index: 1 [from value]
+ Found item [ifType='6'] index: 2 [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='100000000'] index: 1 [from value]
+ Found item [ifSpeed='100000000'] index: 2 [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]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='192.168.1.1'] index: 2 [from regexp oid parse]
+ Found item [ifIP='213.249.177.2'] index: 1 [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'
+ 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'
+ 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'


I'm new to Cacti, and my system is Windows 2003 Server/IIS based.
I've followed BSOD2600's Windows install guide and can successfully graph a Cisco 2924XL switch and several host machines.

I've installed using:

cacti-cactid-0.8.6f-1.zip
cacti-0.8.6g.zip + patches
mysql-noinstall-4.0.26-win32.zip
php-4.4.1-win32.exe
rrdtool-cygwin-1.2.11.zip

My PIX has the following snmp config:

snmp-server host inside 192.168.1.7 poll community public
snmp-server location here
snmp-server contact Neal
snmp-server community public

Where 192.168.1.7 is my cacti server.

There are no firewall rules applied to the inside interface that could block the incoming SNMP traffic.

Please can anyone give me some help or pointers to solve this?

Many thanks and best regards,

Neal.
neallewis
Posts: 3
Joined: Fri Nov 18, 2005 5:14 pm

Post by neallewis »

C:\Inetpub\wwwroot\cacti>php poller.php
OK u:0.00 s:0.01 r:0.70
OK u:0.00 s:0.01 r:0.70
OK u:0.00 s:0.01 r:0.70
OK u:0.00 s:0.01 r:0.70
OK u:0.00 s:0.01 r:0.71
OK u:0.00 s:0.01 r:0.71
OK u:0.00 s:0.01 r:0.71
OK u:0.00 s:0.01 r:0.71
OK u:0.00 s:0.01 r:0.71
OK u:0.00 s:0.01 r:0.71
OK u:0.00 s:0.01 r:0.71
OK u:0.01 s:0.01 r:0.72
OK u:0.01 s:0.01 r:1.74
OK u:0.01 s:0.01 r:1.75
OK u:0.01 s:0.02 r:1.75
OK u:0.01 s:0.02 r:1.75
OK u:0.01 s:0.02 r:1.75
OK u:0.01 s:0.02 r:1.75
OK u:0.01 s:0.02 r:1.75
OK u:0.01 s:0.02 r:1.76
OK u:0.01 s:0.02 r:1.76
OK u:0.01 s:0.02 r:1.76
OK u:0.01 s:0.02 r:2.85
OK u:0.01 s:0.02 r:2.85
OK u:0.01 s:0.02 r:2.85
OK u:0.01 s:0.02 r:2.85
OK u:0.01 s:0.02 r:2.86
OK u:0.01 s:0.02 r:2.86
OK u:0.01 s:0.02 r:2.86
OK u:0.01 s:0.02 r:2.86
OK u:0.01 s:0.02 r:2.86
OK u:0.01 s:0.02 r:2.86
OK u:0.01 s:0.02 r:2.87
OK u:0.01 s:0.02 r:2.87
OK u:0.01 s:0.02 r:2.87
OK u:0.01 s:0.02 r:2.87
OK u:0.01 s:0.02 r:2.87
OK u:0.01 s:0.02 r:2.87
OK u:0.01 s:0.02 r:2.87
OK u:0.01 s:0.02 r:2.87
OK u:0.01 s:0.02 r:2.88
OK u:0.01 s:0.02 r:2.88
OK u:0.01 s:0.02 r:2.88
OK u:0.01 s:0.02 r:2.88
OK u:0.01 s:0.02 r:2.88
OK u:0.01 s:0.02 r:2.88
OK u:0.01 s:0.02 r:2.88
OK u:0.01 s:0.02 r:2.88
OK u:0.01 s:0.02 r:2.88
OK u:0.01 s:0.02 r:2.89
OK u:0.01 s:0.02 r:2.89
OK u:0.01 s:0.02 r:2.89
OK u:0.01 s:0.02 r:2.89
OK u:0.01 s:0.02 r:2.89
OK u:0.01 s:0.02 r:2.89
OK u:0.01 s:0.02 r:2.90
OK u:0.01 s:0.02 r:2.90
OK u:0.01 s:0.02 r:2.90
OK u:0.02 s:0.02 r:2.90
OK u:0.02 s:0.02 r:2.90
OK u:0.02 s:0.02 r:2.90
OK u:0.02 s:0.02 r:2.90
OK u:0.02 s:0.02 r:2.90
OK u:0.02 s:0.02 r:2.91
OK u:0.02 s:0.02 r:2.91
OK u:0.02 s:0.03 r:2.91
OK u:0.02 s:0.03 r:2.91
OK u:0.02 s:0.03 r:2.91
OK u:0.02 s:0.03 r:2.91
OK u:0.02 s:0.03 r:2.91
OK u:0.02 s:0.03 r:2.92
OK u:0.02 s:0.03 r:2.92
OK u:0.02 s:0.03 r:2.92
OK u:0.02 s:0.04 r:2.92
OK u:0.02 s:0.04 r:2.92
OK u:0.02 s:0.04 r:2.92
OK u:0.02 s:0.04 r:2.92
OK u:0.02 s:0.04 r:2.92
OK u:0.02 s:0.04 r:2.92
OK u:0.02 s:0.04 r:3.96
OK u:0.02 s:0.04 r:3.96
OK u:0.02 s:0.04 r:3.96
OK u:0.02 s:0.04 r:3.96
OK u:0.02 s:0.04 r:3.97
OK u:0.02 s:0.04 r:3.97
OK u:0.02 s:0.04 r:3.97
OK u:0.02 s:0.04 r:3.97
OK u:0.02 s:0.04 r:3.97
OK u:0.02 s:0.04 r:3.97
OK u:0.02 s:0.04 r:3.97
OK u:0.02 s:0.04 r:3.98
OK u:0.02 s:0.04 r:3.98
OK u:0.02 s:0.04 r:3.98
OK u:0.02 s:0.04 r:3.98
OK u:0.03 s:0.04 r:3.98
OK u:0.03 s:0.04 r:3.98
OK u:0.03 s:0.04 r:3.98
OK u:0.03 s:0.04 r:3.98
OK u:0.03 s:0.04 r:3.99
OK u:0.03 s:0.04 r:3.99
OK u:0.03 s:0.04 r:3.99
OK u:0.03 s:0.04 r:3.99
OK u:0.03 s:0.04 r:3.99
OK u:0.03 s:0.04 r:3.99
OK u:0.03 s:0.04 r:3.99
OK u:0.03 s:0.04 r:4.00
OK u:0.03 s:0.04 r:4.00
OK u:0.03 s:0.04 r:4.00
OK u:0.03 s:0.04 r:4.00
OK u:0.03 s:0.04 r:4.00
OK u:0.03 s:0.04 r:4.00
X-Powered-By: PHP/4.4.1
Content-type: text/html

11/24/2005 03:31:18 AM - SYSTEM STATS: Time:5.3359 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:302 RRDsProcessed:111

Neal.
neallewis
Posts: 3
Joined: Fri Nov 18, 2005 5:14 pm

Sorted!

Post by neallewis »

I've sorted this myself...

in Console -> Cacti Settings -> Poller:

Ping Type
The type of ping packet to sent. NOTE: ICMP requires that the Cacti Service ID have root privilages in Unix.

This was set to UDP ping (whatever that is?) Obviosuly a PIX isn't going to respond to a UDP ping...

I've set it to ICMP ping and now in Devices the PIX status is "Recovering", and its started to graph stuff.

Cheers,

Neal.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests