Initial HAProxy ALOHA support (#12889)

This commit is contained in:
Jellyfrog
2021-05-25 15:33:18 +02:00
committed by GitHub
parent 8da002f47c
commit 556c265934
7 changed files with 10450 additions and 0 deletions
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.6 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.5 KiB

+15
View 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
View 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 }
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff