Archive for the ‘fw tab’ Category

  • viewing the number of active connections : fw tab -s -t connections
  • viewing the limit of the connections table : fw tab -t connections
  • clear the host table (licensing) : fw tab -t host_table -x

As you know we can get the list of vpn users connected to the gateway via the Smartview Monitor but there is no SNMP OID for this, meaning you cant graph the connection trend.

Here is the CLI command you can use in a script to export the value to your monitoring system :

[Expert@firewall-module]# fw tab -t userc_users -s               
HOST                  NAME                               ID #VALS #PEAK #SLINKS
localhost             userc_users                       103    69    93       0
[Expert@firewall-module]#

also you can ask the fw tab command to resolve fields with #fw tab -t userc_users -f

It looks like the userc_users table contains entries for SNX and SecureRemote/Client users !

If you want to graph the count of active vpn tunnel on your gateway you can use the following CLI command :

[Expert@firewall-module]# fw tab -t peers_count -s
HOST                  NAME                               ID #VALS #PEAK #SLINKS
localhost             peers_count                       315    77    80       0

Categories
Subscribe2