mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Initial HAProxy ALOHA support (#12889)
This commit is contained in:
parent
8da002f47c
commit
556c265934
1
html/images/logos/haproxy.svg
Normal file
1
html/images/logos/haproxy.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 7.6 KiB |
1
html/images/os/haproxy.svg
Normal file
1
html/images/os/haproxy.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 6.5 KiB |
15
includes/definitions/aloha.yaml
Normal file
15
includes/definitions/aloha.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
os: aloha
|
||||
text: HAProxy ALOHA
|
||||
over:
|
||||
- { graph: device_bits, text: Traffic }
|
||||
type: loadbalancer
|
||||
group: linux
|
||||
mib_dir: haproxy
|
||||
icon: haproxy
|
||||
discovery:
|
||||
-
|
||||
sysObjectID: .1.3.6.1.4.1.8072.3.2.10
|
||||
snmpget:
|
||||
oid: EXCELIANCE-MIB::alProductName
|
||||
op: '='
|
||||
value: 'aloha'
|
48
includes/definitions/discovery/aloha.yaml
Normal file
48
includes/definitions/discovery/aloha.yaml
Normal file
@ -0,0 +1,48 @@
|
||||
mib: EXCELIANCE-MIB
|
||||
modules:
|
||||
os:
|
||||
hardware: EXCELIANCE-MIB::alHardwareModel
|
||||
serial: EXCELIANCE-MIB::alHardwareETHID
|
||||
version: EXCELIANCE-MIB::alProductSubVersion
|
||||
|
||||
sensors:
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: alFrontendTable
|
||||
value: alFrontendStatus
|
||||
num_oid: '.1.3.6.1.4.1.23263.4.2.1.3.2.1.13.{{ $index }}'
|
||||
index: 'alFrontendStatus.{{ $index }}'
|
||||
descr: alFrontendName
|
||||
state_name: alFrontendStatus
|
||||
group: "Frontend status"
|
||||
states:
|
||||
- { value: 0, generic: 0, graph: 1, descr: no }
|
||||
- { value: 1, generic: 0, graph: 1, descr: OPEN }
|
||||
|
||||
-
|
||||
oid: alBackendTable
|
||||
value: alBackendStatus
|
||||
num_oid: '.1.3.6.1.4.1.23263.4.2.1.3.3.1.20.{{ $index }}'
|
||||
index: 'alBackendStatus.{{ $index }}'
|
||||
descr: alBackendName
|
||||
group: "Backend status"
|
||||
state_name: alBackendStatus
|
||||
states:
|
||||
- { value: 2, generic: 1, graph: 1, descr: DOWN }
|
||||
- { value: 1, generic: 0, graph: 1, descr: UP }
|
||||
|
||||
-
|
||||
oid: alServerTable
|
||||
value: alServerStatus
|
||||
num_oid: '.1.3.6.1.4.1.23263.4.2.1.3.4.1.19.{{ $index }}'
|
||||
index: 'alServerStatus.{{ $index }}'
|
||||
descr: alServerName
|
||||
#group: "{{ $alBackendTable }}.{{ $alServerBackendID }}"
|
||||
group: 'Server status'
|
||||
state_name: alServerStatus
|
||||
states:
|
||||
- { value: 0, generic: 1, graph: 1, descr: MAINT }
|
||||
- { value: 1, generic: 0, graph: 1, descr: UP }
|
||||
- { value: 2, generic: 2, graph: 1, descr: DOWN }
|
||||
|
4094
mibs/haproxy/EXCELIANCE-MIB
Normal file
4094
mibs/haproxy/EXCELIANCE-MIB
Normal file
File diff suppressed because it is too large
Load Diff
4265
tests/data/aloha_alb5100.json
Normal file
4265
tests/data/aloha_alb5100.json
Normal file
File diff suppressed because it is too large
Load Diff
2026
tests/snmpsim/aloha_alb5100.snmprec
Normal file
2026
tests/snmpsim/aloha_alb5100.snmprec
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user