feat(mon/synology): add Grafana dashboard + full-coverage snmp.yml
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -27,17 +27,21 @@ spec:
|
|||||||
- name: snmp-exporter
|
- name: snmp-exporter
|
||||||
image: quay.io/prometheus/snmp-exporter:v0.30.1
|
image: quay.io/prometheus/snmp-exporter:v0.30.1
|
||||||
args:
|
args:
|
||||||
# Stock config baked into the image — it already ships the `synology` module.
|
# Vendored snmp.yml (configmap) — `synology` module with full coverage
|
||||||
- "--config.file=/etc/snmp_exporter/snmp.yml"
|
# (Synology private trees + IF-MIB + HOST-RESOURCES + UCD), matched to the dashboard.
|
||||||
|
- "--config.file=/etc/snmp-config/snmp.yml"
|
||||||
# Our SNMPv3 credentials; snmp_exporter merges multiple --config.file flags.
|
# Our SNMPv3 credentials; snmp_exporter merges multiple --config.file flags.
|
||||||
- "--config.file=/etc/snmp/auth.yml"
|
- "--config.file=/etc/snmp-auth/auth.yml"
|
||||||
ports:
|
ports:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: 9116
|
containerPort: 9116
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /etc/snmp-config
|
||||||
|
readOnly: true
|
||||||
- name: auth
|
- name: auth
|
||||||
mountPath: /etc/snmp
|
mountPath: /etc/snmp-auth
|
||||||
readOnly: true
|
readOnly: true
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
@@ -64,6 +68,9 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: config
|
||||||
|
configMap:
|
||||||
|
name: snmp-exporter-config
|
||||||
- name: auth
|
- name: auth
|
||||||
secret:
|
secret:
|
||||||
secretName: snmp-exporter-auth
|
secretName: snmp-exporter-auth
|
||||||
|
|||||||
Reference in New Issue
Block a user