77 articles
Knowledge Base
Monitoring
77 articles in the Monitoring category · page 1 of 4.
- Enterprise WordPress support: the clauses that decide whether it works at 3am Read or draft an enterprise WordPress support agreement so it holds up during a 3 a.m. outage. Check the scope, the severity definitions and the escalation clocks, and set up your own monitoring so a disputed incident has timestamps.
- WordPress form failure monitoring: catch lost submissions Find out within about an hour when a WordPress form stops delivering leads, even while visitors still see the thank-you message. Set up form failure monitoring that stores every entry, counts entries against sent mail each day, and sends an hourly test submission that must reach a real inbox.
- Prometheus recording rules: precompute PromQL so dashboards and alerts stay fast Prometheus recording rules precompute a slow PromQL query on a schedule and store the result as a new series, so dashboards and alerts load fast. You will write and name the rules, load them with rule_files, check them with promtool and choose an evaluation interval.
- Writing a Prometheus custom exporter — when to write one, the working pattern, and the alternatives Decide whether a missing metric really calls for a custom Prometheus exporter, then build one in Python or Go with the right metric types. Often a cron script feeding the textfile collector, or a probe from the blackbox exporter, does the same job with less to run.
- Gravity Forms not sending notifications or firing feeds — triage and monitoring Fix Gravity Forms not sending notifications by working out whether the entry, the email or an add-on feed is the stage that failed. You will also see why a Stripe or Mailchimp feed goes quiet, and how to set up failure monitoring that alerts you before your client calls.
- Cloudflare logging on Free, Pro, and Business: what you get, what you do not, and what to use instead Find out which Cloudflare logs your Free, Pro, or Business plan includes, and how to use your origin server logs to investigate problems when per-request edge logs are not available.
- How to Build a Log Pipeline with Vector This guide shows you how to build a log pipeline with Vector, an open-source tool that collects logs and sends them where you need them. You will read logs from journald and files, clean them up, and send them to Loki, a file, or your screen.
- Configure Loki Log Retention and the Compactor So Storage Stops Growing Learn how to turn on log retention in Grafana Loki so old logs are deleted and storage stops growing. You will enable the compactor, set how long to keep logs, add rules for specific streams and tenants, and confirm old chunks really leave the store.
- cAdvisor explained: what it exposes, when you need it, and the Prometheus setup that works cAdvisor reads cgroup accounting and exposes per-container CPU, memory, network and filesystem metrics to Prometheus. What each container_ family means, how to run cAdvisor on Docker and containerd, and when the kubelet already gives you the same data.
- Zabbix 7.0 LTS setup: server, PostgreSQL backend, nginx frontend, and Agent 2 in active mode A full Zabbix 7.0 LTS monitoring setup — repository install, database schema import, zabbix_server.conf, the nginx frontend, then Zabbix Agent 2 enrolled with active checks, PSK encryption, and host auto-registration.
- Self-hosted ntfy: push infrastructure alerts to your phone Run a self-hosted ntfy server for push notifications: server.yml essentials behind a TLS proxy, per-topic ACLs with ntfy user and ntfy access, publishing from curl, and wiring Alertmanager and systemd OnFailure to page your phone.
- Deploy VictoriaMetrics single-node as long-term storage for Prometheus remote_write Install victoria-metrics-prod as a systemd unit, size -retentionPeriod and disk from your real sample rate, wire Prometheus remote_write with queue_config you can justify, and query the result from Grafana and vmui.
- Monitor NVMe SSD wear and health with nvme-cli before a drive goes read-only How to read the NVMe SMART/health log with nvme-cli, interpret percentage_used, available_spare, media_errors and critical_warning, check Data Units Written against the rated TBW, and alert on wear thresholds so drives get replaced on schedule.
- Querying server logs with DuckDB: rotated nginx logs into partitioned Parquet Turn gzipped nginx and JSON logs into Hive-partitioned Parquet with DuckDB, then run SQL over them on one box — read_csv, regexp_extract, COPY with PARTITION_BY, the httpfs extension for S3, and memory_limit settings that keep the server alive.
- Monitor disk health with smartctl: the S.M.A.R.T. attributes that actually predict failure Which S.M.A.R.T. attributes correlate with disk failure, how to read them with smartctl on SATA, SAS and NVMe, how to run short and long self-tests, and how to configure smartd to send email when a drive degrades.
- Provision Grafana datasources and dashboards as code Declare Prometheus datasources and dashboard JSON under /etc/grafana/provisioning/ so Grafana rebuilds them on startup — reproducible, version-controlled, and untouched by a container rebuild.
- Diagnosing table and index bloat in PostgreSQL — measure before you rewrite Measure PostgreSQL bloat with pgstattuple and pg_stat_user_tables, read autovacuum progress, and decide when routine VACUUM is enough versus pg_repack or VACUUM FULL.
- Make systemd-journald logs persistent across reboots (and cap the disk) Enable persistent systemd-journald storage so logs survive reboots, then bound disk usage with SystemMaxUse and retention limits — with real commands and expected output on systemd 255+.
- OpenTelemetry tail sampling — keep every error and every slow trace, drop the rest Why the tail_sampling processor forces a two-tier collector layout, how to route spans by trace ID with the loadbalancing exporter, and a working config covering decision_wait, num_traces, memory sizing and OR-ed policies.
- Ship Linux and Container Logs to Loki with Grafana Alloy Install Grafana Alloy, write a config that tails files, journald, and container output, keep label cardinality in check, run it under systemd, and confirm ingestion with LogQL — the practical path off end-of-life Promtail.
- Monitor endpoints with Prometheus blackbox_exporter node_exporter says a host is up; it says nothing about your public URL. Use prometheus blackbox exporter for http endpoint monitoring and alert on probe_success and cert expiry.
- Cloudflare analytics vs server logs vs Google Analytics: why the numbers never match Cloudflare says 400k requests, your access log says 90k, GA says 12k visitors — and all three are correct. What each layer counts, how sampling works, what the GraphQL API gives non-Enterprise plans, and which number to use for which decision.
- Is it Cloudflare or is it us? An incident runbook for sites behind the proxy A repeatable ten-minute triage for outages behind Cloudflare: scope the blast radius, read the error page, check cloudflarestatus.com, isolate with cf-ray, test the origin with --resolve, and decide — rollback, ticket, or wait.
- Monitoring a site behind Cloudflare: what your uptime checks actually test An uptime check against a proxied hostname tests Cloudflare, not just your server — and a cached HIT can look healthy while the origin is down. How to monitor both layers, and how to check the origin directly without exposing it.