Cisco Pix - Authenticated VPN Users

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Author
Message
cbrmig
Posts: 14
Joined: Mon Sep 24, 2007 5:02 am

#16 Post by cbrmig » Thu Nov 08, 2007 9:09 am

That command "sh unauth", doesn´t work in my PIX 515-E...

ecoutinho
Posts: 3
Joined: Fri Jun 29, 2007 5:17 am

#17 Post by ecoutinho » Tue Dec 04, 2007 9:33 am

Just for the record: on version 7, you can use CISCO-IPSEC-FLOW-MONITOR-MIB, to get the currently active IPsec Phase-2 Tunnels, using OID

1.3.6.1.4.1.9.9.171.1.3.1.1.0

hajas
Posts: 1
Joined: Mon Mar 03, 2008 2:10 pm

#18 Post by hajas » Mon Mar 03, 2008 2:35 pm

Hi!

I've downloaded the original script and template but I couldn't use with my PIX 535 OS: 7.2.1
I've modified the script and I've made a new templates for it.
I can use successfully now!
Thanks for the basics!

Try it!
Attachments
pix-vpn-users.pl
The script
(2.12 KiB) Downloaded 622 times
cacti_graph_template_cisco_vpn_active_s2s_vpns.xml
For site-to-site vpns
(10.26 KiB) Downloaded 553 times
cacti_graph_template_cisco_vpn_active_vpn_users.xml
For user vpns
(10.27 KiB) Downloaded 626 times

st3rling
Posts: 20
Joined: Thu Mar 16, 2006 12:17 pm

Help with perl script

#19 Post by st3rling » Fri Apr 25, 2008 10:41 am

I get Access Denied message. I have @ character in my password, so use \@ but it still doesn't work. Any ideas? I can telnet to the device just fine using windows telnet and port 23.
Thank you in advance for any pointers!

Noosymer
Posts: 3
Joined: Tue Feb 05, 2008 4:21 am

#20 Post by Noosymer » Tue May 25, 2010 4:21 pm

Hi,

It works but I can't get the graph in Centreon.

Any idea?

Thanks.

FiNKu
Posts: 2
Joined: Wed Jun 11, 2008 6:02 am
Location: Malta

#21 Post by FiNKu » Sun Jun 06, 2010 3:01 pm

Used this graph to graph crypto sessions, just need to do the following changes within pix-vpn-users.pl;

Cisco query in main section needs to change to -> print $handle "sh crypto session\n";

Also, calculate section, I'm counting Peers as follows;

#calculate the connected users
$i=0;
{ foreach (@strings)
{$i++ if /Peer/;
}
print $i;
}


Hope it helps :)

Post Reply