mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -0,0 +1,11 @@
|
||||
mib: ENTITY-MIB
|
||||
modules:
|
||||
os:
|
||||
hardware:
|
||||
- ENTITY-MIB::entPhysicalModelName.1
|
||||
- ENTITY-MIB::entPhysicalHardwareRev.1
|
||||
hardware_template: '{{ ENTITY-MIB::entPhysicalModelName.1 }} rev {{ ENTITY-MIB::entPhysicalHardwareRev.1 }}'
|
||||
serial:
|
||||
- ENTITY-MIB::entPhysicalSerialNum.1
|
||||
version:
|
||||
- ENTITY-MIB::entPhysicalSoftwareRev.1
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
if ($device['sysObjectID'] == '.1.3.6.1.4.1.9.1.2139') {
|
||||
$hardware = 'SNS-3945';
|
||||
} elseif ($device['sysObjectID'] == '.1.3.6.1.4.1.9.1.1426') {
|
||||
$hardware = 'Virtual Machine';
|
||||
} else {
|
||||
$hardware = 'Unknown';
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user