The Simplest Way to Make Checkmk and Looker Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Running checkmk and looker together turns raw system alerts into clear business trends. Checkmk tracks server health in real time, while Looker builds long-term visual reports. Operations teams use this setup to compare server load against daily customer traffic. Finance teams also use it to plan hardware budgets for the next year. Moving data between these two tools takes a clear plan for storage and security. How checkmk and looker share system data Checkmk does not send metrics straight i

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Running checkmk and looker together turns raw system alerts into clear business trends. Checkmk tracks server health in real time, while Looker builds long-term visual reports.

Operations teams use this setup to compare server load against daily customer traffic. Finance teams also use it to plan hardware budgets for the next year. Moving data between these two tools takes a clear plan for storage and security.

How checkmk and looker share system data

Checkmk does not send metrics straight into Looker dashboards on its own. Looker needs a SQL data warehouse to read and group rows of data. Teams first export Checkmk host states, service checks, and performance logs on a schedule. A data pipeline reads the Checkmk REST API or pulls raw metric files. That pipeline writes the records into a central SQL database for storage.

Looker then logs in to that SQL database using a read-only user role. Data analysts write data models in Looker to map host names and alert times. When a manager opens a dashboard, Looker runs fresh SQL queries against the warehouse. This flow keeps heavy reporting queries off the live Checkmk monitoring server. Your monitoring server stays fast and never misses a critical host check.

Log in rules must stay strict at every step of this data flow. The export job needs a dedicated Checkmk automation user with view-only rights. That user should only read host status tables and metric history logs. It must never hold rights to change host rules or mute active alerts.

Common failure modes and how to scope roles

Many teams make mistakes when they set up keys for these pipelines. A common failure mode is using a shared admin account for the export script. If that key leaks, an attacker can turn off alerts across all servers. Another issue happens when teams give Looker a database role with write permissions. A bad query or a confused user could alter historical uptime records.

Unlogged queries also create blind spots for security and compliance teams. When everyone shares one database user, audit logs show only that single name. You cannot tell which analyst ran a slow query or pulled sensitive host metadata. Alert comments and server tags sometimes hold staff emails or on-call phone numbers. If those fields enter the warehouse untouched, any dashboard viewer might read them. Data masking rewrites matched fields in results, such as emails or phone numbers.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix these risks, scope every role to the smallest possible set of rights. Create a specific automation user in Checkmk just for the warehouse export job. Limit network paths so only the pipeline worker IP can reach the Checkmk API. In the SQL warehouse, put Checkmk data into its own separate schema. Give the Looker user read permissions on that single schema and nothing else. Rotate your API keys and database passwords on a fixed schedule every quarter.

Keeping metric pipelines fast and reliable

Raw server metrics grow very fast when you track thousands of hosts. Dumping every single check result into your warehouse will slow down Looker dashboards. It will also drive up your cloud storage and query costs each month. Teams should filter and group check data before writing it to the database.

Keep five-minute averages for CPU and memory instead of raw second-by-second ticks. Store full details only for state changes, such as when a host goes down. Set up table partitions by date in your SQL warehouse to speed up reads. When Looker queries last week's uptime, the database will scan only those seven days. This keeps reports fast for executives and cheap for the engineering team.

Add runtime guardrails and masking beside your databases and APIs

Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.

Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.

Frequently asked questions

Can Looker query the Checkmk server directly without a database?

No, Looker requires a SQL database connection to run its data models. You must export Checkmk data into a SQL warehouse before Looker can read it.

What permissions should the Checkmk export user have?

Give the Checkmk user a read-only role that only views host and service metrics. Never grant admin rights or permission to acknowledge problems and change rules.

How often should we sync Checkmk metrics to the data warehouse?

Most teams run batch syncs every hour for capacity planning and trend reports. Use Checkmk itself for live alerts, and use Looker for weekly or monthly reviews.

The query runs. The emails stay hidden.