{"id":740,"date":"2026-09-16T17:58:53","date_gmt":"2026-09-16T14:58:53","guid":{"rendered":"https:\/\/imaxis.ru\/?p=740"},"modified":"2026-09-16T17:59:30","modified_gmt":"2026-09-16T14:59:30","slug":"monitoring-cherez-prometheus-grafana-na-ubuntu-polnaya-nastroyka","status":"publish","type":"post","link":"https:\/\/imaxis.ru\/?p=740","title":{"rendered":"\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0447\u0435\u0440\u0435\u0437 Prometheus + Grafana \u043d\u0430 Ubuntu: \u043f\u043e\u043b\u043d\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430"},"content":{"rendered":"<h1>\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0447\u0435\u0440\u0435\u0437 Prometheus + Grafana \u043d\u0430 Ubuntu: \u043f\u043e\u043b\u043d\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430<\/h1>\n<p>Zabbix \u2014 \u043a\u043b\u0430\u0441\u0441\u0438\u043a\u0430, \u043d\u043e \u0434\u043b\u044f \u043c\u043d\u043e\u0433\u0438\u0445 \u0437\u0430\u0434\u0430\u0447 \u043f\u0440\u043e\u0449\u0435 Prometheus: \u0441\u0431\u043e\u0440 \u043c\u0435\u0442\u0440\u0438\u043a \u0447\u0435\u0440\u0435\u0437 pull-\u043c\u043e\u0434\u0435\u043b\u044c, \u0443\u0434\u043e\u0431\u043d\u044b\u0439 DSL-\u0437\u0430\u043f\u0440\u043e\u0441 (PromQL) \u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0435 \u0434\u0430\u0448\u0431\u043e\u0440\u0434\u044b \u0432 Grafana. \u0420\u0430\u0437\u0431\u0435\u0440\u0451\u043c \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439 \u0441\u0442\u0435\u043a: Prometheus + node_exporter + Grafana, \u0441 \u0430\u043b\u0435\u0440\u0442\u0430\u043c\u0438 \u0432 Telegram.<\/p>\n<hr \/>\n<h2>\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430<\/h2>\n<pre><code>[\u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u0441\u0435\u0440\u0432\u0435\u0440: node_exporter :9100]\n[\u0412\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440:    node_exporter :9100]   --scrape--&gt;  [Prometheus :9090]\n[Mikrotik:      SNMP - mikrotik_exporter]            |\n[PostgreSQL:    postgres_exporter]                   v\n                                              [Grafana :3000]\n<\/code><\/pre>\n<ul>\n<li><strong>Prometheus<\/strong> \u2014 \u0431\u0430\u0437\u0430 \u043c\u0435\u0442\u0440\u0438\u043a (pull-\u043c\u043e\u0434\u0435\u043b\u044c), \u0445\u0440\u0430\u043d\u0438\u0442 \u0440\u044f\u0434\u044b \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 PromQL<\/li>\n<li><strong>node_exporter<\/strong> \u2014 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 Linux (CPU, RAM, disk, net)<\/li>\n<li><strong>Grafana<\/strong> \u2014 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f, \u0434\u0430\u0448\u0431\u043e\u0440\u0434\u044b, \u0430\u043b\u0435\u0440\u0442\u044b<\/li>\n<\/ul>\n<hr \/>\n<h2>\u0428\u0430\u0433 1. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Prometheus<\/h2>\n<p>\u0421\u043a\u0430\u0447\u0430\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0440\u0435\u043b\u0438\u0437. \u0417\u0430\u043c\u0435\u043d\u0438\u0442\u0435 \u0432\u0435\u0440\u0441\u0438\u044e \u043d\u0430 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e:<\/p>\n<pre><code class=\"language-bash\">VERSION=2.53.1\nwget https:\/\/github.com\/prometheus\/prometheus\/releases\/download\/v${VERSION}\/prometheus-${VERSION}.linux-amd64.tar.gz\ntar xzf prometheus-${VERSION}.linux-amd64.tar.gz\nsudo mv prometheus-${VERSION}.linux-amd64 \/opt\/prometheus\nsudo useradd --no-create-home --shell \/bin\/false prometheus\nsudo chown -R prometheus:prometheus \/opt\/prometheus\n<\/code><\/pre>\n<h3>systemd-\u044e\u043d\u0438\u0442<\/h3>\n<p><code>\/etc\/systemd\/system\/prometheus.service<\/code>:<\/p>\n<pre><code class=\"language-ini\">[Unit]\nDescription=Prometheus\nAfter=network.target\n\n[Service]\nUser=prometheus\nGroup=prometheus\nExecStart=\/opt\/prometheus\/prometheus \n  --config.file=\/opt\/prometheus\/prometheus.yml \n  --storage.tsdb.path=\/var\/lib\/prometheus\nRestart=always\n\n[Install]\nWantedBy=multi-user.target\n<\/code><\/pre>\n<pre><code class=\"language-bash\">sudo mkdir -p \/var\/lib\/prometheus\nsudo chown prometheus:prometheus \/var\/lib\/prometheus\nsudo systemctl daemon-reload\nsudo systemctl enable --now prometheus\n<\/code><\/pre>\n<hr \/>\n<h2>\u0428\u0430\u0433 2. \u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f Prometheus<\/h2>\n<p><code>\/opt\/prometheus\/prometheus.yml<\/code>:<\/p>\n<pre><code class=\"language-yaml\">global:\n  scrape_interval: 15s\n  evaluation_interval: 15s\n\nscrape_configs:\n  - job_name: prometheus\n    static_configs:\n      - targets: ['localhost:9090']\n\n  - job_name: node\n    static_configs:\n      - targets: ['192.168.10.101:9100', '192.168.10.102:9100']\n<\/code><\/pre>\n<p>\u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0431\u0435\u0437 \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0430:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl reload prometheus\n# \u0418\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 API\ncurl -X POST http:\/\/localhost:9090\/-\/reload\n<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0446\u0435\u043b\u0435\u0439:<\/p>\n<pre><code>http:\/\/&lt;server&gt;:9090\/targets\n<\/code><\/pre>\n<hr \/>\n<h2>\u0428\u0430\u0433 3. node_exporter \u043d\u0430 \u0446\u0435\u043b\u0435\u0432\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445<\/h2>\n<p>\u041d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 (\u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u2014 \u0447\u0435\u0440\u0435\u0437 Ansible \u0438\u0437 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438):<\/p>\n<pre><code class=\"language-bash\">VERSION=1.8.2\nwget https:\/\/github.com\/prometheus\/node_exporter\/releases\/download\/v${VERSION}\/node_exporter-${VERSION}.linux-amd64.tar.gz\ntar xzf node_exporter-${VERSION}.linux-amd64.tar.gz\nsudo mv node_exporter-${VERSION}.linux-amd64\/node_exporter \/usr\/local\/bin\/\nsudo useradd --no-create-home --shell \/bin\/false node_exporter\n<\/code><\/pre>\n<p>systemd-\u044e\u043d\u0438\u0442 <code>\/etc\/systemd\/system\/node_exporter.service<\/code>:<\/p>\n<pre><code class=\"language-ini\">[Service]\nUser=node_exporter\nExecStart=\/usr\/local\/bin\/node_exporter --web.listen-address=:9100\nRestart=always\n\n[Install]\nWantedBy=multi-user.target\n<\/code><\/pre>\n<pre><code class=\"language-bash\">sudo systemctl daemon-reload\nsudo systemctl enable --now node_exporter\n<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043c\u0435\u0442\u0440\u0438\u043a:<\/p>\n<pre><code class=\"language-bash\">curl http:\/\/localhost:9100\/metrics | head -50\n<\/code><\/pre>\n<hr \/>\n<h2>\u0428\u0430\u0433 4. \u0413\u0440\u0430\u0444\u0430\u043d\u0430<\/h2>\n<h3>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h3>\n<pre><code class=\"language-bash\">sudo apt install -y apt-transport-https software-properties-common wget\nwget -q -O - https:\/\/apt.grafana.com\/gpg.key | sudo apt-key add -\necho &quot;deb https:\/\/apt.grafana.com stable main&quot; | sudo tee \/etc\/apt\/sources.list.d\/grafana.list\nsudo apt update &amp;&amp; sudo apt install -y grafana\nsudo systemctl enable --now grafana-server\n<\/code><\/pre>\n<p>\u041b\u043e\u0433\u0438\u043d \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e: <code>admin<\/code> \/ <code>admin<\/code> (\u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u0435 \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u0442 \u0441\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c).<\/p>\n<h3>\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 Prometheus<\/h3>\n<ol>\n<li>Grafana \u2192 Configuration \u2192 Data Sources \u2192 Add data source \u2192 <strong>Prometheus<\/strong><\/li>\n<li>URL: <code>http:\/\/localhost:9090<\/code><\/li>\n<li>Save &amp; Test.<\/li>\n<\/ol>\n<h3>\u0417\u0438\u043c\u043f\u043e\u0440\u0442 \u0434\u0430\u0448\u0431\u043e\u0440\u0434\u0430<\/h3>\n<p>\u0423\u0434\u043e\u0431\u043d\u043e \u0432\u0437\u044f\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u0434\u0430\u0448\u0431\u043e\u0440\u0434 node_exporter (ID <code>1860<\/code> \u043d\u0430 grafana.com):<\/p>\n<pre><code>Dashboards \u2192 Import \u2192 ID: 1860 \u2192 Load\n<\/code><\/pre>\n<p>\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0434\u0430\u043d\u043d\u044b\u0445 Prometheus \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u0435. \u0414\u0430\u0448\u0431\u043e\u0440\u0434 \u043f\u043e\u043a\u0430\u0436\u0435\u0442 CPU\/RAM\/disk\/network.<\/p>\n<hr \/>\n<h2>\u0428\u0430\u0433 5. \u0410\u043b\u0435\u0440\u0442\u044b \u0432 Telegram<\/h2>\n<p>Grafana \u0443\u043c\u0435\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0430\u043b\u0435\u0440\u0442\u044b. \u0421\u043e\u0437\u0434\u0430\u0451\u043c contact point (\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435):<\/p>\n<ol>\n<li><strong>\u041a\u0430\u043d\u0430\u043b\u044b<\/strong>: add contact point \u2192 \u0442\u0438\u043f <strong>Telegram<\/strong><\/li>\n<li>Bot Token \u0438 Chat ID (\u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 <code>@BotFather<\/code> \u0438 <code>@userinfobot<\/code>)<\/li>\n<li>\u0414\u0430\u0448\u0431\u043e\u0440\u0434 \u2192 \u043f\u0430\u043d\u0435\u043b\u044c \u2192 Alert \u2192 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u043e<\/li>\n<\/ol>\n<p>\u041b\u0438\u0431\u043e \u0443\u043f\u0440\u043e\u0449\u0451\u043d\u043d\u043e \u2014 Prometheus alertmanager. \u0414\u043b\u044f v2 \u2014 \u043a\u043e\u043d\u0442\u0430\u043a\u0442 Grafana.<\/p>\n<h3>\u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0430\u043b\u0435\u0440\u0442\u0430 (CPU &gt; 90%)<\/h3>\n<p>\u0412 \u043f\u0430\u043d\u0435\u043b\u0438 CPU: Edit \u2192 Alert:<\/p>\n<pre><code class=\"language-promql\">100 - (avg by(instance) (rate(node_cpu_seconds_total{mode=&quot;idle&quot;}[5m])) * 100) &gt; 90\n<\/code><\/pre>\n<blockquote>\n<p>\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u0434\u0451\u0442, \u043a\u043e\u0433\u0434\u0430 CPU \u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432\u044b\u0448\u0435 90% 5 \u043c\u0438\u043d\u0443\u0442 (\u043e\u0446\u0435\u043d\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u0440\u0430\u0437\u043d\u0438\u0446).<\/p>\n<\/blockquote>\n<hr \/>\n<h2>\u0428\u0430\u0433 6. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0451\u0440\u043e\u0432<\/h2>\n<h3>postgres_exporter<\/h3>\n<pre><code class=\"language-bash\">VERSION=0.16.0\nwget https:\/\/github.com\/prometheus-community\/postgres_exporter\/releases\/download\/v${VERSION}\/postgres_exporter-${VERSION}.linux-amd64.tar.gz\ntar xzf ... &amp;&amp; sudo mv postgres_exporter \/usr\/local\/bin\/\nDATA_SOURCE_NAME=&quot;postgresql:\/\/user:pass@localhost:5432\/mydb?sslmode=disable&quot; \n  \/usr\/local\/bin\/postgres_exporter --web.listen-address=:9187\n<\/code><\/pre>\n<h3>mikrotik_exporter<\/h3>\n<p>\u0425\u043e\u0440\u043e\u0448\u043e \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0441\u044f \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 Mikrotik-\u0441\u0442\u0430\u0442\u044c\u044f\u043c\u0438 \u0441\u0430\u0439\u0442\u0430 (SNMP):<\/p>\n<pre><code class=\"language-bash\"># \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0443\u0434\u043e\u0431\u0435\u043d\ndocker run -d --name mikrotik-exporter \n  -e &quot;TARGET=192.168.10.1&quot; -e &quot;SNMP_COMMUNITY=public&quot; \n  -e &quot;SNMP_VERSION=2c&quot; \n  biobob\/mikrotik-exporter:latest\n<\/code><\/pre>\n<p>\u041f\u043e\u0442\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 <code>targets<\/code> \u0432 Prometheus (<code>:9434<\/code> \u2014 \u043f\u043e\u0440\u0442 mikrotik_exporter).<\/p>\n<p>\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u043f\u043e\u0440\u0442 mikrotik_exporter: <code>9434<\/code>. \u041c\u0435\u0442\u0440\u0438\u043a\u0438: \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b, \u0442\u0440\u0430\u0444\u0438\u043a, VPN-\u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0438.<\/p>\n<hr \/>\n<h2>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0441\u0442\u0435\u043a\u0430<\/h2>\n<ol>\n<li><code>http:\/\/&lt;server&gt;:9090\/graph<\/code> \u2014 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441:<br \/>\n<code>promql<br \/>\n   rate(node_cpu_seconds_total{instance=\"...\"}[5m])<\/code><\/li>\n<li><code>http:\/\/&lt;server&gt;:3000<\/code> \u2014 Grafana, \u043b\u043e\u0433\u0438\u043d admin.<\/li>\n<li>\u0414\u0430\u0448\u0431\u043e\u0440\u0434 1860 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0433\u0440\u0430\u0444\u0438\u043a\u0438.<\/li>\n<li>\u0422\u0435\u0441\u0442 \u0430\u043b\u0435\u0440\u0442\u0430: \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043d\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0441\u0435\u0440\u0432\u0435\u0440 (<code>stress --cpu 4<\/code>), \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u043f\u0440\u0438\u0448\u043b\u043e Telegram-\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435.<\/li>\n<\/ol>\n<hr \/>\n<h2>\u0422\u043e\u043d\u043a\u043e\u0441\u0442\u0438 \u0438 \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u0430\u043c\u043d\u0438<\/h2>\n<ul>\n<li><strong>\u0425\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u043c\u0435\u0442\u0440\u0438\u043a<\/strong> \u2014 \u043f\u0440\u043e\u043c\u0435\u0442\u0435\u0439 \u0445\u0440\u0430\u043d\u0438\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 15 \u0434\u043d\u0435\u0439 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435. \u0414\u043b\u044f \u043d\u0435\u0434\u0435\u043b\u044c-\u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u2014 long-term storage \u0438\u043b\u0438 Thanos. \u0412 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u043e\u0439 \u0441\u0435\u0442\u0438 15 \u0441\u0443\u0442\u043e\u043a \u043e\u0431\u044b\u0447\u043d\u043e \u0445\u0432\u0430\u0442\u0430\u0435\u0442.<\/li>\n<li><strong>Pull-\u043c\u043e\u0434\u0435\u043b\u044c \u0438 NAT<\/strong> \u2014 Prometheus \u0441\u0430\u043c \u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0451\u0440\u044b. \u0415\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u044b \u0437\u0430 NAT \u2014 \u043d\u0443\u0436\u0435\u043d \u043f\u0440\u043e\u043a\u0441\u0438 (PushProx) \u0438\u043b\u0438 \u043f\u0443\u0448\u0435\u0440 (Prometheus Pushgateway).<\/li>\n<li><strong>\u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c<\/strong>: \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0451\u0440\u044b \u043b\u0443\u0447\u0448\u0435 \u0441\u043b\u0443\u0448\u0430\u0442\u044c \u043d\u0430 localhost \u0438\u043b\u0438 \u0437\u0430\u0449\u0438\u0449\u0451\u043d\u043d\u043e\u0439 VPN-\u0441\u0435\u0442\u0438. \u041d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 <code>-web.listen-address<\/code> \u044d\u043a\u0437\u043e\u0442\u0438\u043a\u0438 \u2014 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 firewall.<\/li>\n<li><strong>node_exporter \u043d\u0435 \u0434\u0430\u0451\u0442 \u0438\u0441\u0442\u043e\u0440\u0438\u044e<\/strong> \u2014 \u0432\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0435 \u0441 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430. \u0414\u043b\u044f retro-\u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435 \u0432\u044b\u0439\u0434\u0435\u0442.<\/li>\n<li><strong>Grafana 24\/7 \u043f\u0430\u043c\u044f\u0442\u044c<\/strong> \u2014 \u0441\u0442\u0435\u043a \u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u043e\u0439, \u043d\u043e \u0441\u043d\u043e\u0432\u0430: \u043d\u0430 VDS \u0441 512Mb \u0432\u0441\u0451 \u0431\u044c\u0451\u0442\u0441\u044f \u0432 \u0434\u043e\u0441\u0442\u0443\u043f. \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u044c\u0442\u0435 \u0447\u0438\u0441\u043b\u043e series.<\/li>\n<li><strong>Telegram-\u043a\u043e\u043d\u0442\u0430\u043a\u0442<\/strong> \u2014 \u0434\u043b\u044f \u0430\u043b\u0435\u0440\u0442\u043e\u0432 \u0432 Grafana 10+ \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u00ab\u0421\u043entact point\u00bb \u043f\u043e\u0434 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0435\u0439 \u00abTelegram\u00bb. Bot \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u043f\u0440\u0430\u0432\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043a\u0430\u043d\u0430\u043b\/\u0433\u0440\u0443\u043f\u043f\u0443.<\/li>\n<\/ul>\n<hr \/>\n<h2>\u0428\u043f\u0430\u0440\u0433\u0430\u043b\u043a\u0430<\/h2>\n<pre><code class=\"language-bash\"># Prometheus\nwget ...\/prometheus-2.53.1.linux-amd64.tar.gz\nsudo mv ... \/opt\/prometheus; chown -R prometheus \/opt\/prometheus\nsystemctl enable --now prometheus\n\n# node_exporter\nsudo mv node_exporter \/usr\/local\/bin\/\nsystemctl enable --now node_exporter\n\n# Grafana\nsudo apt install -y grafana\nsystemctl enable --now grafana-server\n\n# \u0414\u0430\u0448\u0431\u043e\u0440\u0434: 1860, \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a: http:\/\/localhost:9090\n<\/code><\/pre>\n<p><em>\u041f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e \u043d\u0430: Ubuntu 22.04\/24.04 + Grafana 10.<\/em><br \/>\n<em>\u0414\u0430\u0442\u0430: \u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c 2026.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0447\u0435\u0440\u0435\u0437 Prometheus + Grafana \u043d\u0430 Ubuntu: \u043f\u043e\u043b\u043d\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Zabbix<\/p>\n","protected":false},"author":0,"featured_media":742,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-740","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"aioseo_notices":[],"views":3,"_links":{"self":[{"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/posts\/740","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/imaxis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=740"}],"version-history":[{"count":1,"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/posts\/740\/revisions"}],"predecessor-version":[{"id":741,"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/posts\/740\/revisions\/741"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/imaxis.ru\/index.php?rest_route=\/wp\/v2\/media\/742"}],"wp:attachment":[{"href":"https:\/\/imaxis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/imaxis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/imaxis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}