mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Reduce chance of incorrect os detection (#7776)
I think using the strict check was causing some of our odd incorrect os detection. The previous php code was not using a strict check, so revert to that.
This commit is contained in:
committed by
Neil Lathwood
parent
ea684c3543
commit
67e83cc2ea
@@ -11,5 +11,5 @@ discovery:
|
||||
sysObjectId: .1.3.6.1.4.1.8072.3.2.10
|
||||
snmpget:
|
||||
oid: SFA-INFO::systemName.0
|
||||
op: '!=='
|
||||
op: '!='
|
||||
value: false
|
||||
|
@@ -17,7 +17,7 @@ discovery:
|
||||
oid: systemStatus.0
|
||||
mib: SYNOLOGY-SYSTEM-MIB
|
||||
mib_dir: synology
|
||||
op: '!=='
|
||||
op: '!='
|
||||
value: false
|
||||
-
|
||||
sysDescr_regex: '/^Linux /'
|
||||
|
@@ -16,5 +16,5 @@ discovery:
|
||||
oid: extrahopInfoVersionString
|
||||
mib: EXTRAHOP-MIB
|
||||
mib_dir: extrahop
|
||||
op: '!=='
|
||||
op: '!='
|
||||
value: false
|
||||
|
@@ -17,5 +17,5 @@ discovery:
|
||||
oid: roomTemp.0
|
||||
mib: CAREL-ug40cdz-MIB
|
||||
mib_dir: carel
|
||||
op: '!=='
|
||||
op: '!='
|
||||
value: false
|
||||
|
@@ -13,5 +13,5 @@ discovery:
|
||||
sysDescr_regex: '/^Linux/'
|
||||
snmpget:
|
||||
oid: GANDI-MIB::rxCounter.0
|
||||
op: '!=='
|
||||
op: '!='
|
||||
value: false
|
||||
|
Reference in New Issue
Block a user