1SNMP::Info::Layer3::ForUtsienretC(o3n)tributed Perl DocuSmNeMnPt:a:tIinofno::Layer3::Fortinet(3)
2
3
4
6 SNMP::Info::Layer3::Fortinet - SNMP Interface to Fortinet network
7 devices.
8
10 Eric Miller
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $fortinet = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'myswitch',
18 Community => 'public',
19 Version => 2
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $fortinet->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Abstraction subclass for Fortinet network devices.
28
29 For speed or debugging purposes you can call the subclass directly, but
30 not after determining a more specific class using the method above.
31
32 my $fortinet = new SNMP::Info::Layer3::Fortinet(...);
33
34 Inherited Classes
35 SNMP::Info::Layer3
36
37 Required MIBs
38 FORTINET-CORE-MIB
39 FORTINET-FORTIGATE-MIB
40 Inherited Classes' MIBs
41 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
42 requirements.
43
45 These are methods that return scalar value from SNMP
46
47 $fortinet->vendor()
48 Returns 'fortinet'
49
50 $fortinet->model()
51 Returns the chassis model.
52
53 $fortinet->os()
54 Returns 'fortios'
55
56 $fortinet->os_ver()
57 Returns the software version extracted from ("systemVersion").
58
59 $fortinet->serial()
60 Returns the chassis serial number.
61
62 ("fnSysSerial")
63
64 Globals imported from SNMP::Info::Layer3
65 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
66
68 These are methods that return tables of information in the form of a
69 reference to a hash.
70
71 Table Methods imported from SNMP::Info::Layer3
72 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
73
74
75
76perl v5.28.0 2018-11-29 SNMP::Info::Layer3::Fortinet(3)