Difference between revisions of "snmp"

From cpwiki.net
Jump to: navigation, search
Check Point Profressional Services
 
Line 18: Line 18:
 
firewall connections
 
firewall connections
 
  $ '''snmptranslate -Tz -m CHECKPOINT-MIB | grep -i fwnumconn'''
 
  $ '''snmptranslate -Tz -m CHECKPOINT-MIB | grep -i fwnumconn'''
"fwNumConn"                    "1.3.6.1.4.1.2620.1.1.25.3"
+
"fwNumConn"                    "1.3.6.1.4.1.2620.1.1.25.3"
  
 
  $ '''snmpget -v 2c -c public 10.0.0.254 1.3.6.1.4.1.2620.1.1.25.3.0'''
 
  $ '''snmpget -v 2c -c public 10.0.0.254 1.3.6.1.4.1.2620.1.1.25.3.0'''

Latest revision as of 20:56, 8 July 2024

mib files location on check point device

$CPDIR/lib/snmp/

mib descriptions and OID of interest

appliance model

"svnApplianceProductName"                       "1.3.6.1.4.1.2620.1.6.16.7"

get check point version "svnVersion" "1.3.6.1.4.1.2620.1.6.4.1"

example:

[Expert@chkpfw1:0]# snmpget -v2c -c public localhost 1.3.6.1.4.1.2620.1.6.4.1.0
SNMPv2-SMI::enterprises.2620.1.6.4.1.0 = STRING: "R80.20"

firewall connections

$ snmptranslate -Tz -m CHECKPOINT-MIB | grep -i fwnumconn
"fwNumConn"                     "1.3.6.1.4.1.2620.1.1.25.3"
$ snmpget -v 2c -c public 10.0.0.254 1.3.6.1.4.1.2620.1.1.25.3.0
SNMPv2-SMI::enterprises.2620.1.1.25.3.0 = Gauge32: 3310