rpi.carlosedp.cluster-monit.../manifests/snmp-exporter/snmp-exporter-servicemonitor-router.yaml
2018-03-27 16:54:26 -05:00

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