Zabbix
Connect your Zabbix monitoring platform to enable CloudThinker agents to manage hosts, analyze problems, handle maintenance windows, and perform infrastructure monitoring operations.Supported Platforms
| Platform | Support |
|---|---|
| Zabbix | 4.4+ (username/password auth), 5.4+ (API token auth) |
| Zabbix Cloud | All tiers |
Setup
Create a Dedicated User (Recommended)
Go to Users → Users and create a new user:
- Username:
cloudthinker - Password: A strong, unique password
- Role:
Super Adminrole (required for full API access) or a custom role with API access enabled
Generate an API Token (Optional)
Go to Administration → General → API Tokens and click Create API token:
- Name:
cloudthinker - User: Select the user created above
- Expires at: Set an appropriate expiration date
Find Your Zabbix URL
Your Zabbix URL is the address of your Zabbix frontend, e.g.,
https://zabbix.your-domain.com.Connection Details
| Field | Description | Example |
|---|---|---|
| ZABBIX_URL | Your Zabbix frontend URL | https://zabbix.your-domain.com |
| ZABBIX_AUTH_TYPE | Authentication method | credentials or token |
| ZABBIX_USERNAME | Zabbix username (credentials auth) | cloudthinker |
| ZABBIX_PASSWORD | Zabbix password (credentials auth) | your-secure-password |
| ZABBIX_TOKEN | Zabbix API token (token auth) | abc123... |
Required Permissions
Minimum (Read-Only Monitoring)
- User role with Zabbix API access enabled
- Read access to host groups you want to monitor
Recommended (Full Operations)
- Super Admin role or a custom role with:
- API access enabled
- Read/write access to hosts, templates, triggers, and events
- Permission to create and modify maintenance windows
Agent Capabilities
Once connected, agents can:| Capability | Description |
|---|---|
| Host Management | List, inspect, enable, and disable monitored hosts |
| Problem Analysis | Retrieve active problems, analyze patterns, correlate events |
| Trigger Management | View and modify alert trigger configurations |
| Maintenance Windows | Create and manage maintenance periods to suppress alerts |
| Template Operations | Inspect and apply monitoring templates across hosts |
| Dashboard Access | Retrieve Zabbix dashboards and graph data |
Example Prompts
Troubleshooting
Connection refused
Connection refused
- Verify the Zabbix URL is accessible from CloudThinker
- Check firewall rules allow inbound connections on port 80/443
- Ensure the Zabbix frontend is running and responding
Authentication failed
Authentication failed
- Verify username and password are correct
- Check the user account is not locked or disabled
- For API token auth: verify the token has not expired
- Ensure the user has API access enabled in their role
Permission denied
Permission denied
- Verify the user has sufficient permissions for the requested operations
- Check host group access is granted to the user
- For write operations: ensure the role permits API write access
API token expired
API token expired
- Go to Users → API Tokens in Zabbix
- Delete the expired token and create a new one
- Update the token in CloudThinker connection settings
Security Best Practices
- Dedicated user - Create a dedicated Zabbix user for CloudThinker
- API token preferred - Use API tokens instead of username/password for better auditability
- Token expiration - Set appropriate expiration dates on API tokens
- Minimal permissions - Grant only the host groups and permissions needed
- HTTPS only - Always use HTTPS for your Zabbix frontend URL
- Token rotation - Rotate API tokens every 90 days
Related
Grafana Connection
Visualize Zabbix metrics in Grafana
Elasticsearch Connection
Forward Zabbix logs to Elasticsearch