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

25 lines
410 B
YAML
Raw Normal View History

2018-03-27 23:54:26 +02:00
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