mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-03-22 03:39:53 +00:00
feat(snmp-exporter): add custom Fortinet config
This commit is contained in:
@@ -19,12 +19,20 @@ spec:
|
||||
customLabels:
|
||||
prom.home.arpa/kps: allow
|
||||
egress.home.arpa/router: allow
|
||||
extraArgs: ["--config.file=/config/snmp.yml"]
|
||||
extraConfigmapMounts:
|
||||
- name: config
|
||||
configMap: snmp-exporter-config # currently custom generated and private as Fortinet MIBs are not exactly "publicly available" for redistribution (either get from subscriber portal or FortiGate directly)
|
||||
subPath: snmp.yml
|
||||
mountPath: /config/snmp.yml
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
params:
|
||||
- name: fortigate
|
||||
module: ["if_mib"]
|
||||
module: ["if_mib", "ip_mib", "fortinet", "fnFortiGateMib"]
|
||||
target: "${IP_ROUTER_VLAN_K8S}"
|
||||
auth: ["public_v2"]
|
||||
relabelings:
|
||||
- { sourceLabels: ["__param_target"], targetLabel: instance }
|
||||
selfMonitor:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user