1SNMP::Info::Layer3::CheUcskeProiCnotn(t3r)ibuted Perl DoScNuMmPe:n:tIantfioo:n:Layer3::CheckPoint(3)
2
3
4

NAME

6       SNMP::Info::Layer3::CheckPoint - SNMP Interface to CheckPoint Devices
7

AUTHORS

9       Ambroise Rosset
10

SYNOPSIS

12        # Let SNMP::Info determine the correct subclass for you.
13        my $ckp = new SNMP::Info(
14                                 AutoSpecify => 1,
15                                 Debug       => 1,
16                                 DestHost    => 'myrouter',
17                                 Community   => 'public',
18                                 Version     => 2
19                               )
20           or die "Can't connect to DestHost.\n";
21
22        my $class      = $ckp->class();
23        print "SNMP::Info determined this device to fall under subclass : $class\n";
24

DESCRIPTION

26       Subclass for CheckPoint Devices.
27
28   WARNING
29       To correctly and completely work on IPSO based devices, you should add
30       the following line in the file "/etc/snmp/snmpd.local.conf" on each of
31       your CheckPoint devices:
32
33        # Netdisco SNMP configuration
34        extend  ckpVersion /opt/CPsuite-R77/fw1/bin/fw ver
35        extend  ckpAsset /bin/clish -c 'show asset all'
36
37   Inherited Classes
38       SNMP::Info::Layer3
39
40   Required MIBs
41       CHECKPOINT-MIB
42       UCD-SNMP-MIB
43       NET-SNMP-EXTEND-MIB
44       NET-SNMP-TC
45       HOST-RESOURCES-MIB
46       Inherited Classes' MIBs
47           See SNMP::Info::Layer3 for its own MIB requirements.
48

GLOBALS

50       These are methods that return scalar value from SNMP
51
52       $ckp->vendor()
53           Returns "svnApplianceManufacturer" in lowercase, else 'checkpoint'.
54
55       $ckp->model()
56           Returns "svnApplianceProductName", else the model type based on the
57           sysObjectOID translation.
58
59       $ckp->os()
60           Returns the OS extracted from "sysDescr".
61
62       $ckp->os_ver()
63           Returns "svnVersion", else the software version is extracted from
64           "sysDescr", along with the Net-SNMP version.
65
66       $ckp->uptime()
67           Returns the system uptime instead of the agent uptime.  NOTE:
68           discontinuity timers and other Time Stamp based objects are based
69           on agent uptime, so use orig_uptime().
70
71       $ckp->serial()
72           Returns <svnApplianceSerialNumber>, else the serial number of the
73           device if the SNMP server is configured as indicated previously.
74           Returns '' in other case.
75
76       $ckp->layers()
77           Return '01001100'.
78
79   Globals imported from SNMP::Info::Layer3
80       See documentation in SNMP::Info::Layer3 for details.
81

TABLE ENTRIES

83       These are methods that return tables of information in the form of a
84       reference to a hash.
85
86   Overrides
87       $ckp->i_ignore()
88           Returns reference to hash.  Increments value of IID if port is to
89           be ignored.
90
91           Ignores loopback
92
93   Table Methods imported from SNMP::Info::Layer3
94       See documentation in SNMP::Info::Layer3 for details.
95

NOTES

97       If your device is not recognized by SNMP::Info as being in the class
98       SNMP::Info::Layer3::CheckPoint you might need additional snmp
99       configuration on the CheckPoint device.
100
101       In order to cause SNMP::Info to classify your device into this class,
102       it may be necessary to put a configuration line into your snmpd.conf
103       similar to
104
105         sysobjectid .1.3.6.1.4.1.8072.3.2.N
106
107       where N is the object ID for your OS from the "NET-SNMP-TC" MIB (or 255
108       if not listed).  Some Net-SNMP installations default to an incorrect
109       return value for "system.sysObjectId".
110
111       In order to recognize a Net-SNMP device as Layer3, it may be necessary
112       to put a configuration line similar to
113
114         sysservices 76
115
116       in your snmpd.conf.
117
118
119
120perl v5.34.0                      2022-01-21 SNMP::Info::Layer3::CheckPoint(3)
Impressum