Skip to content

Commit d4dff6b

Browse files
committed
fix: Update Tiesse networking device support
1 parent e761496 commit d4dff6b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

lib/GLPI/Agent/SNMP/MibSupport/Tiesse.pm

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,22 @@ use constant tiesse => ".1.3.6.1.4.1.4799" ;
1616

1717
use 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+
1922
our $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+
2635
sub 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+
4156
sub getType {
4257
return 'NETWORKING';
4358
}

0 commit comments

Comments
 (0)