May 1, 2025 update
This commit is contained in:
@ -18,21 +18,21 @@ groups:
|
||||
summary: "Node {{ $labels.instance }} is down"
|
||||
description: "Failed to scrape {{ $labels.job }} on {{ $labels.instance }} for more than 1 minute. Node seems down."
|
||||
- alert: High_cpu_util
|
||||
expr: node_load5{job="node_exporter"} > 6
|
||||
for: 2m
|
||||
expr: node_load1{job="node_exporter"} > 10
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "CPU {{ $labels.instance }} is high"
|
||||
description: "{{ $labels.job }} on {{ $labels.instance }} loaded more than 6 for more than 2 minute."
|
||||
description: "{{ $labels.job }} on {{ $labels.instance }} loaded more than 10 for more than 5 minutes."
|
||||
- alert: High_disk_util
|
||||
expr: gstat_percent_busy{job="gstat"} > 90
|
||||
for: 3m
|
||||
for: 9m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Disk {{ $labels.instance }} is loaded"
|
||||
description: "{{ $labels.job }} on {{ $labels.instance }} loaded more than 90% for more than 3 minute."
|
||||
description: "{{ $labels.job }} on {{ $labels.instance }} loaded more than 90% for more than 9 minutes."
|
||||
- name: Probe alerts
|
||||
rules:
|
||||
- alert: Site_down
|
||||
|
@ -551,6 +551,14 @@ SSLRandomSeed connect builtin
|
||||
|
||||
Include etc/apache24/Includes/*.conf
|
||||
|
||||
# https://ssl-config.mozilla.org/#server=apache&version=2.4.60&config=intermediate&openssl=3.1.0&guideline=5.7
|
||||
|
||||
<VirtualHost *:80>
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/
|
||||
RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,QSA,L]
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:443>
|
||||
ServerName monitor.ahlawat.com
|
||||
ServerAlias *.ahlawat.com
|
||||
@ -559,16 +567,20 @@ Include etc/apache24/Includes/*.conf
|
||||
|
||||
DocumentRoot "/usr/local/www/apache24/data/"
|
||||
|
||||
# HTTP Strict Transport Security (mod_headers is required) (63072000 seconds)
|
||||
Header always set Strict-Transport-Security "max-age=63072000"
|
||||
|
||||
SSLEngine on
|
||||
SSLCertificateFile "/mnt/certs/fullchain.pem"
|
||||
SSLCertificateKeyFile "/mnt/certs/privkey.pem"
|
||||
#SSLCertificateChainFile "/mnt/certs/fullchain.pem"
|
||||
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
|
||||
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
|
||||
SSLHonorCipherOrder off
|
||||
SSLSessionTickets off
|
||||
SSLOptions +StrictRequire
|
||||
# SSLCompression off
|
||||
# SSLCertificateChainFile "/mnt/certs/fullchain.pem"
|
||||
SSLCACertificateFile "/mnt/certs/cacert.pem"
|
||||
|
||||
SSLProtocol -all +TLSv1.2 +TLSv1.3
|
||||
SSLOpenSSLConfCmd Curves X25519:prime256v1:secp384r1
|
||||
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305
|
||||
SSLHonorCipherOrder off
|
||||
SSLSessionTickets off
|
||||
|
||||
RewriteEngine On
|
||||
RewriteCond %{HTTP:Authorization} ^(.*)
|
||||
|
@ -1,41 +1,43 @@
|
||||
pkgp-freebsd-pkg____alertmanager-0.23.0_7
|
||||
pkgp-freebsd-pkg____apache24-2.4.54
|
||||
pkgp-freebsd-pkg____bash-5.2.9
|
||||
pkgp-freebsd-pkg____bash-completion-2.11_1,2
|
||||
pkgp-freebsd-pkg____grafana9-9.2.4
|
||||
pkgp-freebsd-pkg____influxdb-1.8.10_7
|
||||
pkgp-freebsd-pkg____iperf3-3.12
|
||||
pkgp-freebsd-pkg____nano-6.4
|
||||
pkgp-freebsd-pkg____php81-8.1.12
|
||||
pkgp-freebsd-pkg____php81-bcmath-8.1.12
|
||||
pkgp-freebsd-pkg____php81-bz2-8.1.12
|
||||
pkgp-freebsd-pkg____php81-ctype-8.1.12
|
||||
pkgp-freebsd-pkg____php81-curl-8.1.12
|
||||
pkgp-freebsd-pkg____php81-dom-8.1.12
|
||||
pkgp-freebsd-pkg____php81-fileinfo-8.1.12
|
||||
pkgp-freebsd-pkg____php81-filter-8.1.12
|
||||
pkgp-freebsd-pkg____php81-gd-8.1.12
|
||||
pkgp-freebsd-pkg____php81-iconv-8.1.12
|
||||
pkgp-freebsd-pkg____php81-intl-8.1.12_1
|
||||
pkgp-freebsd-pkg____php81-mbstring-8.1.12
|
||||
pkgp-freebsd-pkg____php81-mysqli-8.1.12
|
||||
pkgp-freebsd-pkg____php81-opcache-8.1.12
|
||||
pkgp-freebsd-pkg____php81-pdo-8.1.12
|
||||
pkgp-freebsd-pkg____php81-pdo_mysql-8.1.12
|
||||
pkgp-freebsd-pkg____php81-pecl-mcrypt-1.0.5
|
||||
pkgp-freebsd-pkg____php81-pecl-memcache-8.0
|
||||
pkgp-freebsd-pkg____php81-posix-8.1.12
|
||||
pkgp-freebsd-pkg____php81-readline-8.1.12
|
||||
pkgp-freebsd-pkg____php81-session-8.1.12
|
||||
pkgp-freebsd-pkg____php81-simplexml-8.1.12
|
||||
pkgp-freebsd-pkg____php81-soap-8.1.12
|
||||
pkgp-freebsd-pkg____php81-sockets-8.1.12
|
||||
pkgp-freebsd-pkg____php81-sqlite3-8.1.12
|
||||
pkgp-freebsd-pkg____php81-tidy-8.1.12
|
||||
pkgp-freebsd-pkg____php81-tokenizer-8.1.12
|
||||
pkgp-freebsd-pkg____php81-xml-8.1.12
|
||||
pkgp-freebsd-pkg____php81-zip-8.1.12
|
||||
pkgp-freebsd-pkg____php81-zlib-8.1.12
|
||||
pkgp-freebsd-pkg____pkg-1.18.4
|
||||
pkgp-freebsd-pkg____prometheus-2.39.1
|
||||
pkgp-freebsd-pkg____telegraf-1.24.3
|
||||
pkgp-freebsd-pkg____alertmanager-0.26.0_9
|
||||
pkgp-freebsd-pkg____apache24-2.4.63
|
||||
pkgp-freebsd-pkg____bash-5.2.37
|
||||
pkgp-freebsd-pkg____bash-completion-2.14.0,2
|
||||
pkgp-freebsd-pkg____elasticsearch8-8.11.3
|
||||
pkgp-freebsd-pkg____grafana-11.6.0_1
|
||||
pkgp-freebsd-pkg____grafana-loki-2.9.2_11
|
||||
pkgp-freebsd-pkg____influxdb-1.8.10_27
|
||||
pkgp-freebsd-pkg____iperf3-3.18
|
||||
pkgp-freebsd-pkg____nano-8.4
|
||||
pkgp-freebsd-pkg____php84-8.4.6
|
||||
pkgp-freebsd-pkg____php84-bcmath-8.4.6
|
||||
pkgp-freebsd-pkg____php84-bz2-8.4.6
|
||||
pkgp-freebsd-pkg____php84-ctype-8.4.6
|
||||
pkgp-freebsd-pkg____php84-curl-8.4.6
|
||||
pkgp-freebsd-pkg____php84-dom-8.4.6
|
||||
pkgp-freebsd-pkg____php84-fileinfo-8.4.6
|
||||
pkgp-freebsd-pkg____php84-filter-8.4.6
|
||||
pkgp-freebsd-pkg____php84-gd-8.4.6
|
||||
pkgp-freebsd-pkg____php84-iconv-8.4.6
|
||||
pkgp-freebsd-pkg____php84-intl-8.4.6
|
||||
pkgp-freebsd-pkg____php84-mbstring-8.4.6
|
||||
pkgp-freebsd-pkg____php84-mysqli-8.4.6
|
||||
pkgp-freebsd-pkg____php84-opcache-8.4.6
|
||||
pkgp-freebsd-pkg____php84-pdo-8.4.6
|
||||
pkgp-freebsd-pkg____php84-pdo_mysql-8.4.6
|
||||
pkgp-freebsd-pkg____php84-pecl-mcrypt-1.0.7
|
||||
pkgp-freebsd-pkg____php84-pecl-memcache-8.2
|
||||
pkgp-freebsd-pkg____php84-posix-8.4.6
|
||||
pkgp-freebsd-pkg____php84-readline-8.4.6
|
||||
pkgp-freebsd-pkg____php84-session-8.4.6
|
||||
pkgp-freebsd-pkg____php84-simplexml-8.4.6
|
||||
pkgp-freebsd-pkg____php84-soap-8.4.6
|
||||
pkgp-freebsd-pkg____php84-sockets-8.4.6
|
||||
pkgp-freebsd-pkg____php84-sqlite3-8.4.6
|
||||
pkgp-freebsd-pkg____php84-tidy-8.4.6
|
||||
pkgp-freebsd-pkg____php84-tokenizer-8.4.6
|
||||
pkgp-freebsd-pkg____php84-xml-8.4.6
|
||||
pkgp-freebsd-pkg____php84-zip-8.4.6
|
||||
pkgp-freebsd-pkg____php84-zlib-8.4.6
|
||||
pkgp-freebsd-pkg____pkg-2.1.2
|
||||
pkgp-freebsd-pkg____prometheus-2.55.1_4
|
||||
pkgp-freebsd-pkg____telegraf-1.34.2
|
||||
|
@ -1,41 +1,43 @@
|
||||
pkgp-freebsd-pkg____alertmanager-0.23.0_7
|
||||
pkgp-freebsd-pkg____apache24-2.4.54
|
||||
pkgp-freebsd-pkg____bash-5.2.12
|
||||
pkgp-freebsd-pkg____bash-completion-2.11_2,2
|
||||
pkgp-freebsd-pkg____grafana9-9.2.4
|
||||
pkgp-freebsd-pkg____influxdb-1.8.10_7
|
||||
pkgp-freebsd-pkg____iperf3-3.12
|
||||
pkgp-freebsd-pkg____nano-7.0
|
||||
pkgp-freebsd-pkg____php81-8.1.13
|
||||
pkgp-freebsd-pkg____php81-bcmath-8.1.13
|
||||
pkgp-freebsd-pkg____php81-bz2-8.1.13
|
||||
pkgp-freebsd-pkg____php81-ctype-8.1.13
|
||||
pkgp-freebsd-pkg____php81-curl-8.1.13
|
||||
pkgp-freebsd-pkg____php81-dom-8.1.13
|
||||
pkgp-freebsd-pkg____php81-fileinfo-8.1.13
|
||||
pkgp-freebsd-pkg____php81-filter-8.1.13
|
||||
pkgp-freebsd-pkg____php81-gd-8.1.13
|
||||
pkgp-freebsd-pkg____php81-iconv-8.1.13
|
||||
pkgp-freebsd-pkg____php81-intl-8.1.13
|
||||
pkgp-freebsd-pkg____php81-mbstring-8.1.13
|
||||
pkgp-freebsd-pkg____php81-mysqli-8.1.13
|
||||
pkgp-freebsd-pkg____php81-opcache-8.1.13
|
||||
pkgp-freebsd-pkg____php81-pdo-8.1.13
|
||||
pkgp-freebsd-pkg____php81-pdo_mysql-8.1.13
|
||||
pkgp-freebsd-pkg____php81-pecl-mcrypt-1.0.5
|
||||
pkgp-freebsd-pkg____php81-pecl-memcache-8.0
|
||||
pkgp-freebsd-pkg____php81-posix-8.1.13
|
||||
pkgp-freebsd-pkg____php81-readline-8.1.13
|
||||
pkgp-freebsd-pkg____php81-session-8.1.13
|
||||
pkgp-freebsd-pkg____php81-simplexml-8.1.13
|
||||
pkgp-freebsd-pkg____php81-soap-8.1.13
|
||||
pkgp-freebsd-pkg____php81-sockets-8.1.13
|
||||
pkgp-freebsd-pkg____php81-sqlite3-8.1.13
|
||||
pkgp-freebsd-pkg____php81-tidy-8.1.13
|
||||
pkgp-freebsd-pkg____php81-tokenizer-8.1.13
|
||||
pkgp-freebsd-pkg____php81-xml-8.1.13
|
||||
pkgp-freebsd-pkg____php81-zip-8.1.13
|
||||
pkgp-freebsd-pkg____php81-zlib-8.1.13
|
||||
pkgp-freebsd-pkg____pkg-1.18.4
|
||||
pkgp-freebsd-pkg____prometheus-2.39.1
|
||||
pkgp-freebsd-pkg____telegraf-1.24.3
|
||||
pkgp-freebsd-pkg____alertmanager-0.26.0_9
|
||||
pkgp-freebsd-pkg____apache24-2.4.63
|
||||
pkgp-freebsd-pkg____bash-5.2.37
|
||||
pkgp-freebsd-pkg____bash-completion-2.14.0,2
|
||||
pkgp-freebsd-pkg____elasticsearch8-8.11.3
|
||||
pkgp-freebsd-pkg____grafana-11.6.0_1
|
||||
pkgp-freebsd-pkg____grafana-loki-2.9.2_11
|
||||
pkgp-freebsd-pkg____influxdb-1.8.10_27
|
||||
pkgp-freebsd-pkg____iperf3-3.18
|
||||
pkgp-freebsd-pkg____nano-8.4
|
||||
pkgp-freebsd-pkg____php84-8.4.6
|
||||
pkgp-freebsd-pkg____php84-bcmath-8.4.6
|
||||
pkgp-freebsd-pkg____php84-bz2-8.4.6
|
||||
pkgp-freebsd-pkg____php84-ctype-8.4.6
|
||||
pkgp-freebsd-pkg____php84-curl-8.4.6
|
||||
pkgp-freebsd-pkg____php84-dom-8.4.6
|
||||
pkgp-freebsd-pkg____php84-fileinfo-8.4.6
|
||||
pkgp-freebsd-pkg____php84-filter-8.4.6
|
||||
pkgp-freebsd-pkg____php84-gd-8.4.6
|
||||
pkgp-freebsd-pkg____php84-iconv-8.4.6
|
||||
pkgp-freebsd-pkg____php84-intl-8.4.6
|
||||
pkgp-freebsd-pkg____php84-mbstring-8.4.6
|
||||
pkgp-freebsd-pkg____php84-mysqli-8.4.6
|
||||
pkgp-freebsd-pkg____php84-opcache-8.4.6
|
||||
pkgp-freebsd-pkg____php84-pdo-8.4.6
|
||||
pkgp-freebsd-pkg____php84-pdo_mysql-8.4.6
|
||||
pkgp-freebsd-pkg____php84-pecl-mcrypt-1.0.7
|
||||
pkgp-freebsd-pkg____php84-pecl-memcache-8.2
|
||||
pkgp-freebsd-pkg____php84-posix-8.4.6
|
||||
pkgp-freebsd-pkg____php84-readline-8.4.6
|
||||
pkgp-freebsd-pkg____php84-session-8.4.6
|
||||
pkgp-freebsd-pkg____php84-simplexml-8.4.6
|
||||
pkgp-freebsd-pkg____php84-soap-8.4.6
|
||||
pkgp-freebsd-pkg____php84-sockets-8.4.6
|
||||
pkgp-freebsd-pkg____php84-sqlite3-8.4.6
|
||||
pkgp-freebsd-pkg____php84-tidy-8.4.6
|
||||
pkgp-freebsd-pkg____php84-tokenizer-8.4.6
|
||||
pkgp-freebsd-pkg____php84-xml-8.4.6
|
||||
pkgp-freebsd-pkg____php84-zip-8.4.6
|
||||
pkgp-freebsd-pkg____php84-zlib-8.4.6
|
||||
pkgp-freebsd-pkg____pkg-2.1.2
|
||||
pkgp-freebsd-pkg____prometheus-2.55.1_4
|
||||
pkgp-freebsd-pkg____telegraf-1.34.2
|
||||
|
@ -1 +1 @@
|
||||
alertmanager apache24 bash bash-completion grafana9 influxdb iperf3 nano php81 php81-bcmath php81-bz2 php81-ctype php81-curl php81-dom php81-fileinfo php81-filter php81-gd php81-iconv php81-intl php81-mbstring php81-mysqli php81-opcache php81-pdo php81-pdo_mysql php81-pecl-mcrypt php81-pecl-memcache php81-posix php81-readline php81-session php81-simplexml php81-soap php81-sockets php81-sqlite3 php81-tidy php81-tokenizer php81-xml php81-zip php81-zlib pkg prometheus telegraf
|
||||
alertmanager apache24 bash bash-completion elasticsearch8 grafana grafana-loki influxdb iperf3 nano php84 php84-bcmath php84-bz2 php84-ctype php84-curl php84-dom php84-fileinfo php84-filter php84-gd php84-iconv php84-intl php84-mbstring php84-mysqli php84-opcache php84-pdo php84-pdo_mysql php84-pecl-mcrypt php84-pecl-memcache php84-posix php84-readline php84-session php84-simplexml php84-soap php84-sockets php84-sqlite3 php84-tidy php84-tokenizer php84-xml php84-zip php84-zlib pkg prometheus telegraf
|
||||
|
@ -1 +1 @@
|
||||
alertmanager apache24 bash bash-completion grafana9 influxdb iperf3 nano php81 php81-bcmath php81-bz2 php81-ctype php81-curl php81-dom php81-fileinfo php81-filter php81-gd php81-iconv php81-intl php81-mbstring php81-mysqli php81-opcache php81-pdo php81-pdo_mysql php81-pecl-mcrypt php81-pecl-memcache php81-posix php81-readline php81-session php81-simplexml php81-soap php81-sockets php81-sqlite3 php81-tidy php81-tokenizer php81-xml php81-zip php81-zlib pkg prometheus telegraf
|
||||
alertmanager apache24 bash bash-completion elasticsearch8 grafana grafana-loki influxdb iperf3 nano php84 php84-bcmath php84-bz2 php84-ctype php84-curl php84-dom php84-fileinfo php84-filter php84-gd php84-iconv php84-intl php84-mbstring php84-mysqli php84-opcache php84-pdo php84-pdo_mysql php84-pecl-mcrypt php84-pecl-memcache php84-posix php84-readline php84-session php84-simplexml php84-soap php84-sockets php84-sqlite3 php84-tidy php84-tokenizer php84-xml php84-zip php84-zlib pkg prometheus telegraf
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2018-2022, diyIT.org
|
||||
# Copyright (c) 2018-2019, diyIT.org
|
||||
# All rights reserved.
|
||||
#
|
||||
# BSD 2-Clause License ("Simplified BSD License" or "FreeBSD License")
|
||||
@ -34,12 +34,33 @@ scrape_configs:
|
||||
static_configs:
|
||||
- targets: ['localhost:9090']
|
||||
|
||||
- job_name: 'hass'
|
||||
scrape_interval: 60s
|
||||
scrape_timeout: 55s
|
||||
metrics_path: /api/prometheus
|
||||
# Long-Lived Access Token
|
||||
authorization:
|
||||
credentials: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIwMTgyNzJkMGM4MDE0MDI3OTJkNDFmZjFkOGFjYTQ3YSIsImlhdCI6MTY5MDg0MzQ1MywiZXhwIjoyMDA2MjAzNDUzfQ.7V9ElJkYzW1DRIHIp3GvopVN4pC5X92Ozqs-I9cZ9_c"
|
||||
scheme: http
|
||||
static_configs:
|
||||
- targets: ['192.168.0.7:8123']
|
||||
|
||||
- job_name: 'sunpower'
|
||||
scrape_interval: 60s
|
||||
scrape_timeout: 55s
|
||||
metrics_path: /
|
||||
static_configs:
|
||||
- targets: ['192.168.200.172:9110']
|
||||
|
||||
- job_name: 'haproxy'
|
||||
static_configs:
|
||||
- targets: ['proxy.ahlawat.com:8404']
|
||||
|
||||
- job_name: 'node_exporter'
|
||||
# scrape_interval: 5s
|
||||
scrape_interval: 60s
|
||||
scrape_timeout: 55s
|
||||
metrics_path: /metrics
|
||||
scheme: http
|
||||
static_configs:
|
||||
- targets: ['nas.ahlawat.com:9100']
|
||||
|
||||
@ -50,6 +71,10 @@ scrape_configs:
|
||||
- targets: ['db.ahlawat.com:9104']
|
||||
|
||||
- job_name: 'gstat'
|
||||
scrape_interval: 60s
|
||||
scrape_timeout: 55s
|
||||
metrics_path: /
|
||||
scheme: http
|
||||
static_configs:
|
||||
- targets: ['nas.ahlawat.com:9248']
|
||||
|
||||
|
Reference in New Issue
Block a user