mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-28 02:18:24 +00:00
fix(snmp-exporter): back to serviceMonitor per module
Apparently helm chart renders the list as a single string, e.g. `module: ["if_mib fortinet fortigate"]`
This commit is contained in:
@@ -30,26 +30,26 @@ spec:
|
||||
interval: 1m
|
||||
scrapeTimeout: 50s
|
||||
params:
|
||||
- name: fortigate
|
||||
module: ["if_mib", "ip_mib", "fortinet", "fnFortiGateMib"]
|
||||
#- name: fortigate
|
||||
# module: ["if_mib", "ip_mib", "fortinet", "fnFortiGateMib"]
|
||||
# target: "${IP_ROUTER_VLAN_K8S}"
|
||||
# auth: ["public_v2"]
|
||||
- name: fortigate-if-mib
|
||||
module: ["if_mib"]
|
||||
target: "${IP_ROUTER_VLAN_K8S}"
|
||||
auth: ["public_v2"]
|
||||
- name: fortigate-ip-mib
|
||||
module: ["ip_mib"]
|
||||
target: "${IP_ROUTER_VLAN_K8S}"
|
||||
auth: ["public_v2"]
|
||||
- name: fortigate-fortinet
|
||||
module: ["fortinet"]
|
||||
target: "${IP_ROUTER_VLAN_K8S}"
|
||||
auth: ["public_v2"]
|
||||
- name: fortigate-fnfortigatemib
|
||||
module: ["fnFortiGateMib"]
|
||||
target: "${IP_ROUTER_VLAN_K8S}"
|
||||
auth: ["public_v2"]
|
||||
#- name: fortigate-if-mib
|
||||
# module: ["if_mib"]
|
||||
# target: "${IP_ROUTER_VLAN_K8S}"
|
||||
# auth: ["public_v2"]
|
||||
#- name: fortigate-ip-mib
|
||||
# module: ["ip_mib"]
|
||||
# target: "${IP_ROUTER_VLAN_K8S}"
|
||||
# auth: ["public_v2"]
|
||||
#- name: fortigate-fortinet
|
||||
# module: ["fortinet"]
|
||||
# target: "${IP_ROUTER_VLAN_K8S}"
|
||||
# auth: ["public_v2"]
|
||||
#- name: fortigate-fnFortiGateMib
|
||||
# module: ["fnFortiGateMib"]
|
||||
# target: "${IP_ROUTER_VLAN_K8S}"
|
||||
# auth: ["public_v2"]
|
||||
relabelings:
|
||||
- { sourceLabels: ["__param_target"], targetLabel: instance }
|
||||
selfMonitor:
|
||||
|
||||
Reference in New Issue
Block a user