rpi.carlosedp.cluster-monit.../manifests-old/snmp-exporter/snmp-exporter-servicemonitor-router.yaml

25 lines
410 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
k8s-app: snmp-exporter
name: snmp-exporter
spec:
jobLabel: k8s-app
selector:
app: snmp-exporter
namespaceSelector:
matchNames:
- monitoring
endpoints:
- interval: 60s
port: http-metrics
params:
module:
- ddwrt
target:
- 192.168.1.1
path: "/snmp"
targetPort: 9116