Loading...
Close

We are EgoCX
We're glad you're here, dear friend.


Join the community of influencers, creative content creators, artists, local businesses, bakeries, neighborhood shops, mall boutiques... and all kinds of businesses, both digital and physical.

Become a member by purchasing your .ego.cx name:
Plans and Pricing





Digital Tools Index: Curated by EgoCX
¿Can I run Zabbix on a Raspberry Pi?

Yes, but use the Zabbix proxy, not the server. The server needs more RAM and disk I/O than a Pi can provide. I run a Zabbix proxy on a Pi 4 with 4 GB RAM monitoring 50 devices, and it's fine. The proxy buffers data and forwards it to the central server.\n

¿How do I monitor a website's uptime with Zabbix?

Create a host for the website, add a "Web scenario" with a step that requests the URL, and set a trigger on the failed step count. The web scenario can log in, fill forms, and check for specific text, so you're monitoring functionality, not just a 200 status code.\n

¿What's the difference between Zabbix agent passive and active checks?

Passive: server connects to agent and asks for data. Active: agent connects to server and pushes data on its own schedule. Active is better through firewalls and NAT. Passive is easier to troubleshoot because you can test it with `zabbix_get` from the server.\n

¿Can Zabbix monitor cloud services like AWS or Azure?

Yes. Use the HTTP agent item type to query cloud APIs, or use the official AWS and Azure templates that auto-discover instances, RDS databases, and load balancers. You'll need API credentials stored in Zabbix macros.\n

¿How do I back up Zabbix?

Stop the server, dump the database with `mysqldump` or `pg_dump`, back up the configuration files in `/etc/zabbix/`, and restart. The database is the critical piece. With TimescaleDB, use `pg_dump -Fc` for a compressed custom format backup that restores faster.\n

¿Does Zabbix support Docker monitoring?

Yes. The "Docker by Zabbix agent 2" template uses the Docker socket to discover containers and collect CPU, memory, network, and health status metrics. The agent 2 plugin is written in Go and ships with the official agent packages.\n

¿How do I reduce Zabbix database size?

Enable TimescaleDB with compression. It compresses history rows older than 7 days by 90-95%. My database went from 400 GB to 40 GB after enabling compression and letting the compression policy run for a week.\n

¿Can Zabbix send alerts to Microsoft Teams?

Yes. Create a media type with a webhook to the Teams incoming webhook URL. The Zabbix integration GitHub repo has a pre-built media type JSON that formats alerts as Adaptive Cards with severity colors.\n

¿What monitoring protocols does Zabbix support besides SNMP?

IPMI for hardware monitoring, JMX for Java applications, WMI for Windows, ODBC for databases, SSH and Telnet for scripts, HTTP for APIs, Modbus for industrial equipment, and Prometheus pattern for scraping exporters.\n

¿How do I monitor SSL certificate expiration?

Use the "Website certificate by Zabbix agent 2" template or create an HTTP agent item with the `ssl.certificate.expiry` check. Set a trigger for 30 days before expiration. I missed a cert renewal once; now this is on every web host I manage.\n

¿Is Zabbix suitable for home lab monitoring?

Yes, if you want to learn enterprise monitoring. If you just want pretty graphs of CPU temperature, try Netdata or Grafana with Prometheus. Zabbix is overkill for a single server but perfect for a home lab with 10+ devices you want to monitor like a production environment.\n

¿How do I add a custom script to Zabbix agent?

Create a `UserParameter` in `/etc/zabbix/zabbix_agentd.conf` or an include file. Syntax: `UserParameter=my.metric,/path/to/script.sh`. The script must output a single value. Test with `zabbix_agentd -t my.metric`. I use this for everything from checking UPS battery levels to parsing custom log formats.\n

¿Why are my Zabbix graphs showing gaps?

Gaps mean the server didn't receive data for those time periods. Check if the agent was running, if pollers were busy (see `zabbix[queue]`), if the proxy buffer was full, or if the database was locked by a long-running query. Gaps are always a symptom of something upstream.\n

¿Can Zabbix send alerts based on a trend, not a single spike?

Yes. Use trend functions in triggers: `trendavg(/host/key,1h:now/h) > 90`. This evaluates the hourly trend average, not the raw value. It filters out spikes and only alerts on sustained conditions. I use trend functions for disk space and database connection pool monitoring.\n

¿How do I monitor Windows services with Zabbix?

Use the "Windows by Zabbix agent" template. It auto-discovers services and tracks their state. If a service with `Startup type: Automatic` stops, the trigger fires. You can customize the discovery rule to ignore services you don't care about.\n

¿What's the difference between Zabbix server and Zabbix proxy?

The server is the brain: it processes triggers, sends alerts, and stores data. A proxy is a remote collector: it monitors hosts at a remote site, buffers data, and forwards it to the server. Use proxies to monitor across firewalls, reduce server load, or handle network outages.\n

¿How do I upgrade Zabbix from one LTS to another?

Read the upgrade notes for each intermediate version. The path from 6.0 LTS to 7.0 LTS goes through 6.4. Upgrade the frontend, then the server. Run the database migration. Test in staging first. Budget a full maintenance window. I've done it in 2 hours with a 100 GB database; bigger databases take longer.\n

¿Does Zabbix have a mobile app?

Yes, for iOS and Android. It shows dashboards, problems, and host metrics. You can acknowledge problems from the app. It doesn't replace the web interface for configuration, but it's useful for on-call engineers. I have it on my phone and use it to silence alarms during maintenance windows when I'm away from my desk.\n

¿How do I monitor network switches with Zabbix?

Create a host with an SNMP interface, assign the appropriate template (Cisco IOS, Juniper, Aruba, generic SNMP), and provide the SNMP community or v3 credentials. Zabbix auto-discovers interfaces, VLANs, and hardware sensors. Interface utilization triggers use `ifInOctets` and `ifSpeed` to calculate percentage utilization.\n

¿Can Zabbix monitor Kubernetes?

Yes, but it's not native. Use the Kubernetes API via HTTP agent items, or run the Zabbix agent as a DaemonSet and use the Kubernetes template. For a smoother experience, Prometheus is still the standard for Kubernetes monitoring. Zabbix works best for the infrastructure underneath Kubernetes.\n

¿How do I create a custom dashboard in Zabbix?

Go to Monitoring → Dashboards → Create dashboard. Add widgets: Problems, Graph, Map, Clock, URL, Data overview. Drag to position. Save. The new graph widget in 7.0 supports time series, bar gauges, and thresholds. It's not as flexible as Grafana, but it's enough for an operations wall display.\n

¿What happens when Zabbix runs out of disk space for the database?

The database stops accepting writes. The Zabbix server logs "database is full" errors. Monitoring data is lost for the outage duration. Triggers may not fire because the server can't evaluate them. Alerts may not send. This is a critical failure mode. Monitor disk space with a separate, lightweight script or an external health check service.\n

¿How do I set up high availability for Zabbix 7.0?

Install two Zabbix server nodes pointing to the same database. Configure the HA node name in each server's config file. The nodes elect a leader. Only the leader runs pollers and processes triggers. If the leader fails, a standby takes over within a configurable timeout. The frontend connects to any node; it detects which is the leader automatically.\n

¿Does Zabbix support SSO or LDAP authentication?

Yes. LDAP and SAML 2.0 are supported in the frontend configuration. You can map LDAP groups to Zabbix user groups with permissions. I've set up Azure AD SAML integration, and it works reliably. Session management after SSO uses Zabbix's own session cookies, so configure the timeout to match your SSO policy.\n

¿How do I monitor log files with Zabbix?

Use the `log` and `logrt` item keys in the Zabbix agent. They tail log files and match regex patterns. Each matching line becomes a value. Create a trigger on the log item to alert when a pattern like `FATAL` or `segfault` appears. The agent tracks the last read position, so restarts don't re-alert on old lines.\n