mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added support for Siteboss360 appliances (#16422)
This commit is contained in:
127
includes/definitions/discovery/siteboss360.yaml
Normal file
127
includes/definitions/discovery/siteboss360.yaml
Normal file
@@ -0,0 +1,127 @@
|
||||
mib: SITEBOSS-360-STD-MIB
|
||||
modules:
|
||||
os:
|
||||
sysDescr_regex: '/(?<hardware>SiteBoss \S+) (?<version>.*)/'
|
||||
sensors:
|
||||
temperature:
|
||||
data:
|
||||
-
|
||||
oid: esPointTable
|
||||
value: esPointValueStr
|
||||
num_oid: '.1.3.6.1.4.1.3052.23.1.1.1.1.7.{{ $index }}'
|
||||
descr: esPointName
|
||||
skip_values:
|
||||
-
|
||||
oid: esIndexPC
|
||||
op: '!='
|
||||
value: 1
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: esPointTable
|
||||
value: esPointInEventState
|
||||
num_oid: '.1.3.6.1.4.1.3052.23.1.1.1.1.5.{{ $index }}'
|
||||
descr: esPointName
|
||||
group: Contact Closures
|
||||
state_name: contactClosure
|
||||
states:
|
||||
- { value: 1, generic: 2, graph: 1, descr: event }
|
||||
- { value: 2, generic: 0, graph: 1, descr: normal }
|
||||
skip_values:
|
||||
-
|
||||
oid: esIndexPC
|
||||
op: '!='
|
||||
value: 2
|
||||
-
|
||||
oid: esPointName
|
||||
op: '='
|
||||
value: unnamed
|
||||
-
|
||||
oid: esPointTable
|
||||
value: esPointValueInt
|
||||
num_oid: '.1.3.6.1.4.1.3052.23.1.1.1.1.6.{{ $index }}'
|
||||
descr: esPointName
|
||||
group: Relay Outputs
|
||||
state_name: relayOutput
|
||||
states:
|
||||
- { value: 0, generic: 0, graph: 1, descr: de-energized }
|
||||
- { value: 1, generic: 2, graph: 1, descr: energized }
|
||||
skip_values:
|
||||
-
|
||||
oid: esIndexPC
|
||||
op: '!='
|
||||
value: 6
|
||||
-
|
||||
oid: esPointValueStr
|
||||
op: 'not_in_array'
|
||||
value: ['Active/Energized', 'Inactive/Energized', 'Active/De-energized', 'Inactive/De-energized']
|
||||
-
|
||||
oid: esPointName
|
||||
op: '='
|
||||
value: unnamed
|
||||
-
|
||||
oid: esPointTable
|
||||
value: esPointValueStr
|
||||
num_oid: '.1.3.6.1.4.1.3052.23.1.1.1.1.6.{{ $index }}'
|
||||
descr: esPointName
|
||||
group: Power Outputs
|
||||
state_name: powerOutput
|
||||
states:
|
||||
- { value: 0, generic: 0, graph: 1, descr: de-energized }
|
||||
- { value: 1, generic: 2, graph: 1, descr: energized }
|
||||
skip_values:
|
||||
-
|
||||
oid: esIndexPC
|
||||
op: '!='
|
||||
value: 6
|
||||
-
|
||||
oid: esPointValueStr
|
||||
op: 'not_in_array'
|
||||
value: ['On/Energized', 'Off/De-energized']
|
||||
-
|
||||
oid: esPointName
|
||||
op: '='
|
||||
value: unnamed
|
||||
humidity:
|
||||
data:
|
||||
-
|
||||
oid: esPointTable
|
||||
value: esPointValueInt
|
||||
num_oid: '.1.3.6.1.4.1.3052.23.1.1.1.1.6.{{ $index }}'
|
||||
descr: esPointName
|
||||
skip_values:
|
||||
-
|
||||
oid: esIndexPC
|
||||
op: '!='
|
||||
value: 3
|
||||
count:
|
||||
data:
|
||||
-
|
||||
oid: esPointTable
|
||||
value: esPointValueStr
|
||||
num_oid: '.1.3.6.1.4.1.3052.23.1.1.1.1.7.{{ $index }}'
|
||||
descr: esPointName
|
||||
skip_values:
|
||||
-
|
||||
oid: esIndexPC
|
||||
op: '!='
|
||||
value: 5
|
||||
-
|
||||
oid: esPointName
|
||||
op: '='
|
||||
value: unnamed
|
||||
percent:
|
||||
data:
|
||||
-
|
||||
oid: fsStatusTable
|
||||
value: fsStatusVolumePercentLevel
|
||||
num_oid: '.1.3.6.1.4.1.3052.23.1.6.1.1.7.{{ $index }}'
|
||||
descr: fsStatusName
|
||||
divisor: 100
|
||||
low_warn_limit: 20
|
||||
low_limit: 10
|
||||
skip_values:
|
||||
-
|
||||
oid: fsStatusVolumeValueString
|
||||
op: '='
|
||||
value: -999
|
14
includes/definitions/siteboss360.yaml
Normal file
14
includes/definitions/siteboss360.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
os: siteboss360
|
||||
text: 'Asentria SiteBoss'
|
||||
type: server
|
||||
icon: siteboss
|
||||
group: asentria
|
||||
mib_dir: asentria
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
- { graph: device_processor, text: 'CPU Usage' }
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
||||
discovery:
|
||||
-
|
||||
sysObjectID:
|
||||
- .1.3.6.1.4.1.3052.23.3.2
|
25624
mibs/asentria/SITEBOSS-360-STD-MIB
Normal file
25624
mibs/asentria/SITEBOSS-360-STD-MIB
Normal file
File diff suppressed because it is too large
Load Diff
1196
tests/data/siteboss360_siteboss360.json
Normal file
1196
tests/data/siteboss360_siteboss360.json
Normal file
File diff suppressed because it is too large
Load Diff
1128
tests/snmpsim/siteboss360_siteboss360.snmprec
Normal file
1128
tests/snmpsim/siteboss360_siteboss360.snmprec
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user