Wednesday, November 14, 2012

How to Enable SNMP on Checkpoint

# snmp service disable
# snmp service enable
# snmp user show
You should delete the community named public
# snmp user del public
# snmp user add noauthuser CommunityName

# snmp service stat
You should see
SNMP service enabled and listening on port 161.
enable snmp extensions
# cp_conf snmp get
Currently SNMP Extension is active
# cp_conf snmp activate
Check the ports, both 260 and 161 should be listening..

Lets do some SNMP Walk
Total RAM on System
# snmpwalk -v1 -c CommunityName firewallipaddress .
do a fw tab -t connections -s and count connections
# snmpwalk -v1 -c testcom .

Snmp version should be
checkout with the command #rpm –qa | grep net-snmp
Some Checkpoint SNMP OIDS
CPU Usage .
CPU System .
CPU User .
Number of Connections .
Peak Number of Connections .
Memory Total .
Memory Used .
Memory Free
Memory Buffered .
Memory cached .
Swap error .
Chassis FAN Speed
Core Voltage
1.8 Voltage
5V Power Supply In
5V Standby Voltage
Battery Voltage
CPU temperature
M/B Temperature