fix: ServerTech discovery (#7668)

This should be using sysObjectID
snmprec updated from stats and ticket.

fixes: #7654
This commit is contained in:
Tony Murray
2017-11-07 14:25:24 -06:00
committed by Neil Lathwood
parent e5f6742cc3
commit 1e7ed0784e
6 changed files with 12 additions and 25 deletions

View File

@@ -7,13 +7,5 @@ icon: servertech
mib_dir: mib_dir:
- sentry - sentry
discovery: discovery:
- - sysObjectId:
sysDescr: - .1.3.6.1.4.1.1718.3
- Switched
- Smart
snmpget:
oid: serverTech.4.1.1.1.3.0
mib: Sentry3-MIB
mibdir: sentry
op: regex
value: '/[^\s]* [0-7]/'

View File

@@ -7,13 +7,7 @@ icon: servertech
mib_dir: mib_dir:
- sentry - sentry
discovery: discovery:
- discovery:
sysDescr: - sysObjectId:
- Switched - .1.3.6.1.4.1.1718.4
- Smart
snmpget:
oid: serverTech.4.1.1.1.3.0
mib: Sentry3-MIB
mibdir: sentry
op: regex
value: '/[^\s]* [^0-7]/'

View File

@@ -1,2 +1,2 @@
1.3.6.1.2.1.1.1.0|4|Sentry Smart Something 1.3.6.1.2.1.1.1.0|4|Sentry Smart CDU
1.3.6.1.4.1.1718.4.1.1.1.3.0|4|0 7 1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.1718.3

View File

@@ -1,3 +1,2 @@
1.3.6.1.2.1.1.1.0|4|Sentry Switched CDU 1.3.6.1.2.1.1.1.0|4|Sentry Switched CDU
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.1718.3 1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.1718.3
1.3.6.1.4.1.1718.4.1.1.1.3.0|4|0 7

View File

@@ -1,2 +1,3 @@
1.3.6.1.2.1.1.1.0|4|Sentry Smart Something 1.3.6.1.2.1.1.1.0|4|Sentry Smart PDU
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.1718.4
1.3.6.1.4.1.1718.4.1.1.1.3.0|4|0 8 1.3.6.1.4.1.1718.4.1.1.1.3.0|4|0 8

View File

@@ -1,2 +1,3 @@
1.3.6.1.2.1.1.1.0|4|Sentry Switched Something 1.3.6.1.2.1.1.1.0|4|Sentry Switched CDU
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.1718.4
1.3.6.1.4.1.1718.4.1.1.1.3.0|4|0 8 1.3.6.1.4.1.1718.4.1.1.1.3.0|4|0 8