mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
device: Updated Gamatronic ups use sysObjectID for os discovery (#6940)
This commit is contained in:
committed by
Neil Lathwood
parent
701fbbc29b
commit
eb1014a657
@ -2,4 +2,7 @@ os: gamatronicups
|
||||
text: 'Gamatronic UPS Stack'
|
||||
type: power
|
||||
mib_dir:
|
||||
- gamtronic
|
||||
- gamatronic
|
||||
discovery:
|
||||
- sysObjectId:
|
||||
- .1.3.6.1.4.1.6050.5
|
||||
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (empty($sysDescr)) {
|
||||
if (snmp_get($device, 'psUnitManufacture.0', '-Oqv', 'GAMATRONIC-MIB', 'gamtronic') == 'Gamatronic') {
|
||||
$os = 'gamatronicups';
|
||||
}
|
||||
}
|
@ -1 +1,3 @@
|
||||
1.3.6.1.2.1.1.1.0|4|
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.6050.5
|
||||
1.3.6.1.4.1.6050.1.1.2.0|4|Gamatronic
|
||||
|
Reference in New Issue
Block a user