Interfaces of a Cisco PIX Firewall

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

Moderators: Developers, Moderators

Post Reply
lorax
Posts: 15
Joined: Tue May 31, 2005 3:33 pm

Interfaces of a Cisco PIX Firewall

Post by lorax »

I have imported a host template for a Cisco PIX Firewall. This allowed me to successfully graph the current connections. Im having trouble creating graphs with the interface data. Some of my other graphs are displaying only 'nan'. hmm. Does anyone know of a way to graph the interfaces bits in and out? Does anyone have a template that I could use for that? Would I need any data templates, etc for this task? It would be nice to also graph the errors on those interfaces. Thanks a ton for any help in advance.
-Lorax
lorax
Posts: 15
Joined: Tue May 31, 2005 3:33 pm

Post by lorax »

..oh yeah. the rrd files are not being created for some reason.
for example:
ERROR: opening '/usr/local/apache/htdocs/cacti/rra/healthworks_pix_traffic_in_162.rrd': No such file or directory
lorax
Posts: 15
Joined: Tue May 31, 2005 3:33 pm

Post by lorax »

here is the poller for this device on debug. mostly i am just interested in the interface data. why do you suppose the rrd is not created?

Content-type: text/html
X-Powered-By: PHP/4.3.10

08/02/2005 01:31:16 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/bin/php, ARGS: -q /usr/local/apache/htdocs/cacti/cmd.php 0 21]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
08/02/2005 01:31:20 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_5min_cpu_163.rrd --template 5min_cpu 1123003877:U
OK u:0.00 s:0.00 r:2.77
08/02/2005 01:31:20 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_cpu_user_146.rrd --template cpu_user 1123003877:U
OK u:0.00 s:0.00 r:2.77
08/02/2005 01:31:20 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_cpu_nice_144.rrd --template cpu_nice 1123003877:U
OK u:0.00 s:0.01 r:2.77
08/02/2005 01:31:20 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_cpu_system_145.rrd --template cpu_system 1123003877:U
OK u:0.00 s:0.01 r:2.77
Waiting on 1/1 pollers.
08/02/2005 01:31:21 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool create /usr/local/apache/htdocs/cacti/rra/healthworks_pix_traffic_in_162.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 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 RRA:LAST:0.5:1:600 RRA:LAST:0.5:6:700 RRA:LAST:0.5:24:775 RRA:LAST:0.5:288:797
ERROR: Duplicate DS name: traffic_in
OK u:0.00 s:0.01 r:3.80
08/02/2005 01:31:21 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_traffic_in_162.rrd --template traffic_out:traffic_in N:2423774970:487224260
ERROR: opening '/usr/local/apache/htdocs/cacti/rra/healthworks_pix_traffic_in_162.rrd': No such file or directory
OK u:0.00 s:0.01 r:3.80
08/02/2005 01:31:21 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_mem_free_152.rrd --template mem_free 1123003877:U
OK u:0.00 s:0.01 r:3.81
08/02/2005 01:31:21 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_mem_cache_151.rrd --template mem_cache 1123003877:U
OK u:0.00 s:0.01 r:3.81
08/02/2005 01:31:21 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_mem_buffers_150.rrd --template mem_buffers 1123003877:U
OK u:0.00 s:0.01 r:3.81
08/02/2005 01:31:22 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_pixconn_164.rrd --template pixconn 1123003877:24
OK u:0.00 s:0.01 r:4.82
08/02/2005 01:31:22 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_snmp_oid_166.rrd --template snmp_oid 1123003877:0
OK u:0.00 s:0.01 r:4.83
08/02/2005 01:31:22 PM - SYSTEM STATS: Time: 5.1646 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
Last edited by lorax on Tue Aug 02, 2005 2:46 pm, edited 2 times in total.
lorax
Posts: 15
Joined: Tue May 31, 2005 3:33 pm

Post by lorax »

i saw the post about removing duplicate data sources. that was actually one of the problems while attempting to graph traffic. i removed all sources except 54 and 55.
Last edited by lorax on Tue Aug 02, 2005 2:45 pm, edited 1 time in total.
lorax
Posts: 15
Joined: Tue May 31, 2005 3:33 pm

Post by lorax »

...sooo much better this time. now that the duplicate DS have been eliminated, the rrd files are being created. the graph for the inside interface is graphed with values that i can read as ggod data. the outside interface is displaying 'nan' for the values and nothing on the graph.

Content-type: text/html
X-Powered-By: PHP/4.3.10

08/02/2005 03:16:32 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/bin/php, ARGS: -q /usr/local/apache/htdocs/cacti/cmd.php 0 21]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
08/02/2005 03:16:35 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_5min_cpu_163.rrd --template 5min_cpu 1123010192:U
OK u:0.00 s:0.00 r:3.04
08/02/2005 03:16:35 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_pixconn_164.rrd --template pixconn 1123010192:22
08/02/2005 03:16:35 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_cpu_user_146.rrd --template cpu_user 1123010192:U
OK u:0.00 s:0.00 r:3.05
OK u:0.00 s:0.00 r:3.05
Waiting on 1/1 pollers.
08/02/2005 03:16:36 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_cpu_nice_144.rrd --template cpu_nice 1123010192:U
OK u:0.00 s:0.00 r:4.07
08/02/2005 03:16:36 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_traffic_in_171.rrd --template traffic_in:traffic_out 1123010192:3491496376:313862082
OK u:0.00 s:0.00 r:4.07
08/02/2005 03:16:36 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_cpu_system_145.rrd --template cpu_system 1123010192:U
OK u:0.00 s:0.00 r:4.07
Waiting on 1/1 pollers.
08/02/2005 03:16:37 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_mem_cache_151.rrd --template mem_cache 1123010192:U
OK u:0.00 s:0.00 r:5.08
08/02/2005 03:16:37 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_mem_buffers_150.rrd --template mem_buffers 1123010192:U
OK u:0.00 s:0.00 r:5.09
Waiting on 1/1 pollers.
08/02/2005 03:16:38 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_traffic_in_172.rrd --template traffic_out:traffic_in 1123010192:2496179722:500996204
OK u:0.00 s:0.00 r:6.10
08/02/2005 03:16:38 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_mem_free_152.rrd --template mem_free 1123010192:U
OK u:0.00 s:0.00 r:6.10
08/02/2005 03:16:38 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_snmp_oid_166.rrd --template snmp_oid 1123010192:0
OK u:0.00 s:0.00 r:6.10
08/02/2005 03:16:39 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/healthworks_pix_referral_170.rrd --template recursion:failure:nxrrset:referral:nxdomain:success 1123010192:U:U:U:U:U:U
OK u:0.00 s:0.00 r:7.12
08/02/2005 03:16:39 PM - SYSTEM STATS: Time: 7.2028 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
lorax
Posts: 15
Joined: Tue May 31, 2005 3:33 pm

Post by lorax »

well. yeah. uh. guess it just takes some time to poll and mull it over for a while. everythings graphing great now. i guess i had to start by importing the host template and then just remove the duplicate DSs. heh, im the only one on this thread talking to myself.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I do it quite frequently myself. Thanks for closing the loop. Do you suspect that the issue of the duplicate data source was introduced when you imported a template? If so, e-mail me the template.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest