Changed some rule in the openstack exporter for better visibility
This commit is contained in:
1
custom-exporter/openstack-exporter
Submodule
1
custom-exporter/openstack-exporter
Submodule
Submodule custom-exporter/openstack-exporter added at 38c8acfd06
1
helm-charts
Submodule
1
helm-charts
Submodule
Submodule helm-charts added at fe6942189c
@@ -14,8 +14,8 @@ prometheus:
|
||||
retention: 30d
|
||||
retentionSize: "45GB"
|
||||
resources:
|
||||
requests: { cpu: 500m, memory: 1Gi }
|
||||
limits: { cpu: "2", memory: 4Gi }
|
||||
requests: { cpu: "4", memory: 4Gi }
|
||||
limits: { cpu: "8", memory: 8Gi }
|
||||
storageSpec:
|
||||
volumeClaimTemplate:
|
||||
spec:
|
||||
@@ -62,11 +62,151 @@ prometheus:
|
||||
scrape_interval: 15s
|
||||
scrape_timeout: 10s
|
||||
static_configs:
|
||||
- targets:
|
||||
- '192.168.20.53:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute3.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.54:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute4.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.55:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute5.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.56:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute6.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.59:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute9.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.60:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute10.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.101:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute11.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.102:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute12.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.103:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute13.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.104:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute14.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.105:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute15.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.106:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute16.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.107:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute17.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.108:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute18.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.109:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute19.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.113:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute20.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.120:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute21.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.121:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute22.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.122:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute23.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.123:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute24.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.124:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute25.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.125:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute26.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.127:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute27.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.128:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute28.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.130:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute29.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.131:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute30.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.132:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute31.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.133:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute32.brilliant.com.bd'
|
||||
- targets:
|
||||
- '192.168.20.134:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute33.brilliant.com.bd'
|
||||
alertmanager:
|
||||
alertmanagerSpec:
|
||||
storage:
|
||||
@@ -82,4 +222,3 @@ alertmanager:
|
||||
repeat_interval: 4h
|
||||
receivers:
|
||||
- name: default
|
||||
|
||||
|
||||
85
values-kube-prometheus-stack.yaml.202602
Normal file
85
values-kube-prometheus-stack.yaml.202602
Normal file
@@ -0,0 +1,85 @@
|
||||
grafana:
|
||||
enabled: true
|
||||
adminPassword: "Enp129s0f0-0bS#rb!L!tyN#vv"
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 10Gi
|
||||
service:
|
||||
type: ClusterIP
|
||||
|
||||
|
||||
|
||||
prometheus:
|
||||
prometheusSpec:
|
||||
retention: 30d
|
||||
retentionSize: "45GB"
|
||||
resources:
|
||||
requests: { cpu: 500m, memory: 1Gi }
|
||||
limits: { cpu: "2", memory: 4Gi }
|
||||
storageSpec:
|
||||
volumeClaimTemplate:
|
||||
spec:
|
||||
accessModes: ["ReadWriteOnce"]
|
||||
resources: { requests: { storage: 50Gi } }
|
||||
|
||||
configMaps:
|
||||
- blackbox-targets
|
||||
|
||||
additionalScrapeConfigs:
|
||||
- job_name: 'cpanel-node'
|
||||
static_configs:
|
||||
- targets: ['bwebhosting.brilliant.com.bd:9100']
|
||||
labels: { role: 'cpanel-host' }
|
||||
- job_name: 'cpanel-apache'
|
||||
static_configs:
|
||||
- targets: ['bwebhosting.brilliant.com.bd:9117']
|
||||
- job_name: 'cpanel-mariadb'
|
||||
static_configs:
|
||||
- targets: ['bwebhosting.brilliant.com.bd:9104']
|
||||
- job_name: 'cpanel-process'
|
||||
static_configs:
|
||||
- targets: ['bwebhosting.brilliant.com.bd:9256']
|
||||
- job_name: 'cpanel-whm'
|
||||
static_configs:
|
||||
- targets: ['bwebhosting.brilliant.com.bd:9124']
|
||||
- job_name: 'bind-dns'
|
||||
static_configs:
|
||||
- targets: ['dns1.intercloud-bd.net:9119','dns2.intercloud-bd.net:9119','dns3.intercloud-bd.net:9119']
|
||||
- job_name: 'blackbox-http'
|
||||
metrics_path: /probe
|
||||
params: { module: [http_2xx] }
|
||||
file_sd_configs:
|
||||
- files:
|
||||
- /etc/prometheus/configmaps/blackbox-targets/targets.json
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: blackbox-exporter-prometheus-blackbox-exporter.monitoring.svc.cluster.local:9115
|
||||
- job_name: 'openstack_libvirt'
|
||||
scrape_interval: 15s
|
||||
scrape_timeout: 10s
|
||||
static_configs:
|
||||
- targets:
|
||||
- '192.168.20.103:9177'
|
||||
labels:
|
||||
role: 'openstack-compute-libvirt'
|
||||
compute_host: 'compute13.brilliant.com.bd'
|
||||
alertmanager:
|
||||
alertmanagerSpec:
|
||||
storage:
|
||||
volumeClaimTemplate:
|
||||
spec:
|
||||
accessModes: ["ReadWriteOnce"]
|
||||
resources: { requests: { storage: 5Gi } }
|
||||
config:
|
||||
route:
|
||||
receiver: 'default'
|
||||
group_by: ['alertname', 'role']
|
||||
group_wait: 30s
|
||||
repeat_interval: 4h
|
||||
receivers:
|
||||
- name: default
|
||||
|
||||
Reference in New Issue
Block a user