First steps
Use this checklist for a new Thruk installation. Choose the installation method before you change the configuration.
Choose an installation
| Method | Use it when |
|---|---|
| Packages | You want Thruk on an existing monitoring server or a separate web server. |
| OMD | You want a monitoring stack with Thruk and other monitoring tools. |
| Source | You need custom paths or dependencies and can maintain the installation yourself. |
Use the packages for your distribution. Do not install a package built for another distribution or release.
Production web server
The development server on port 3000 is not a production server. Use a configured web server and FastCGI or PSGI deployment.
Configure access
Open the Thruk URL supplied by your installation. Standalone packages normally use
http://your-host/thruk/.Configure HTTPS before you send credentials over the network.
For standalone packages, set a password for the
thrukadminaccount:shhtpasswd /etc/thruk/htpasswd thrukadminSign in and check the displayed username.
OMD uses site-specific paths and accounts. Follow its site setup instructions instead of applying standalone paths unchanged.
See web server integration and access control for authentication details.
Connect one backend
First, confirm that the monitoring core provides Livestatus. Thruk displays core data. Installing Thruk does not create monitoring checks.
For a standalone package, put local settings in /etc/thruk/thruk_local.conf. Replace the socket path below with the socket supplied by your monitoring core:
<Component Thruk::Backend>
<peer>
name = local
type = livestatus
<options>
peer = /var/run/live
</options>
</peer>
</Component>- Give the Thruk process access to the socket.
- Reload the service that runs Thruk after configuration changes, as required by your deployment.
- Open the host or service list.
- Check that the backend is available and its objects appear.
Do not expose an unencrypted Livestatus connection to an untrusted network. For remote sites, see TLS and HTTP backends.
Check a normal user's access
Test with a non-administrator account before you give users access.
- Confirm that the username matches a monitoring contact or the intended role mapping.
- Check which hosts and services the user can see.
- Check whether the user can submit commands.
- For read-only users, confirm that command submission is unavailable.
Authentication alone does not assign monitoring permissions. See access control and CGI authorization settings.
Add features after the basic checks pass
- Create dashboards for operators.
- Configure SLA reports if you need scheduled availability reports.
- Use the REST API for automation.
- Plan backups and upgrades before production use.