1SNMP::Info::Layer3::CheUcskeProiCnotn(t3r)ibuted Perl DoScNuMmPe:n:tIantfioo:n:Layer3::CheckPoint(3)
2
3
4
6 SNMP::Info::Layer3::CheckPoint - SNMP Interface to CheckPoint Devices
7
9 Ambroise Rosset
10
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
26 Subclass for Generic Net-SNMP devices
27
28 WARNING
29 To correctly and completelly work, you should add the following line in
30 the file "/etc/snmp/snmpd.local.conf" on each of your CheckPoint
31 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 UCD-SNMP-MIB
42 NET-SNMP-TC
43 HOST-RESOURCES-MIB
44 Inherited Classes' MIBs
45 See SNMP::Info::Layer3 for its own MIB requirements.
46
47 See SNMP::Info::LLDP for its own MIB requirements.
48
50 These are methods that return scalar value from SNMP
51
52 $ckp->vendor()
53 Returns 'checkpoint'.
54
55 $ckp->model()
56 Return the model type of the CheckPoint device (Based on the
57 sysObjectOID translation).
58
59 $ckp->os()
60 Returns the OS extracted from "sysDescr".
61
62 $ckp->os_ver()
63 Returns the software version extracted from "sysDescr", along with
64 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 Return the serial number of the device if the SNMP server is
73 configured as indicated previously. Return '' in other case.
74
75 $ckp->layers()
76 Return '01001100'.
77
78 Globals imported from SNMP::Info::Layer3
79 See documentation in SNMP::Info::Layer3 for details.
80
81 Globals imported from SNMP::Info::LLDP
82 See documentation in SNMP::Info::LLDP for details.
83
85 These are methods that return tables of information in the form of a
86 reference to a hash.
87
88 Overrides
89 $ckp->i_ignore()
90 Returns reference to hash. Increments value of IID if port is to
91 be ignored.
92
93 Ignores loopback
94
95 Table Methods imported from SNMP::Info::Layer3
96 See documentation in SNMP::Info::Layer3 for details.
97
98 Table Methods imported from SNMP::Info::LLDP
99 See documentation in SNMP::Info::LLDP for details.
100
102 In order to cause SNMP::Info to classify your device into this class,
103 it may be necessary to put a configuration line into your snmpd.conf
104 similar to
105
106 sysobjectid .1.3.6.1.4.1.8072.3.2.N
107
108 where N is the object ID for your OS from the "NET-SNMP-TC" MIB (or 255
109 if not listed). Some Net-SNMP installations default to an incorrect
110 return value for "system.sysObjectId".
111
112 In order to recognize a Net-SNMP device as Layer3, it may be necessary
113 to put a configuration line similar to
114
115 sysservices 76
116
117 in your snmpd.conf.
118
119
120
121perl v5.28.0 2018-11-29 SNMP::Info::Layer3::CheckPoint(3)