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:
Tony Murray
2017-11-22 02:18:55 -06:00
committed by Neil Lathwood
parent ea684c3543
commit 67e83cc2ea
5 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -17,7 +17,7 @@ discovery:
oid: systemStatus.0
mib: SYNOLOGY-SYSTEM-MIB
mib_dir: synology
op: '!=='
op: '!='
value: false
-
sysDescr_regex: '/^Linux /'

View File

@@ -16,5 +16,5 @@ discovery:
oid: extrahopInfoVersionString
mib: EXTRAHOP-MIB
mib_dir: extrahop
op: '!=='
op: '!='
value: false

View File

@@ -17,5 +17,5 @@ discovery:
oid: roomTemp.0
mib: CAREL-ug40cdz-MIB
mib_dir: carel
op: '!=='
op: '!='
value: false

View File

@@ -13,5 +13,5 @@ discovery:
sysDescr_regex: '/^Linux/'
snmpget:
oid: GANDI-MIB::rxCounter.0
op: '!=='
op: '!='
value: false