File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
lib/GLPI/Agent/SNMP/MibSupport Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,22 @@ use constant tiesse => ".1.3.6.1.4.1.4799" ;
1616
1717use constant privatePhysicalDescr => tiesse . " .3.2.6023.0" ;
1818
19+ use constant privateFirmware => tiesse . " .200.1.0" ;
20+ use constant privateSerialNumber => tiesse . " .200.2.0" ;
21+
1922our $mibSupport = [
2023 {
2124 name => " tiesse" ,
2225 sysobjectid => getRegexpOidMatch(tiesse)
2326 }
2427];
2528
29+ sub getFirmware {
30+ my ($self ) = @_ ;
31+
32+ return getCanonicalString($self -> get(privateFirmware));
33+ }
34+
2635sub getModel {
2736 my ($self ) = @_ ;
2837
@@ -38,6 +47,12 @@ sub getManufacturer {
3847 return " Tiesse" ;
3948}
4049
50+ sub getSerial {
51+ my ($self ) = @_ ;
52+
53+ return getCanonicalString($self -> get(privateSerialNumber));
54+ }
55+
4156sub getType {
4257 return ' NETWORKING' ;
4358}
You can’t perform that action at this time.
0 commit comments