mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-29 19:07:49 +01:00
25 lines
410 B
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
|