Thruk is a web UI for monitoring and managing several monitoring systems, including Nagios, Icinga, and Shinken. Installing it on OpenBSD is easy, and can be done by following these steps:
sudo pkg_add -u
sudo pkg_add p5-Cpanel-JSON-XS p5-DateTime p5-DateTime-Format-HTTP p5-HTTP-Message p5-HTTP-Server-Simple-PSGI p5-HTML-Parser p5-JSON-XS p5-libwww p5-Net-DNS p5-Net-IP p5-Net-SSLeay p5-Plack p5-Task-Weaken
sudo pkg_add thruk
/etc/thruk/thruk_local.conf
file. You can use the sample config file as a starting point:cp /etc/thruk/thruk_local.conf.sample /etc/thruk/thruk_local.conf
sudo vi /etc/thruk/thruk_local.conf
In the config file, you need to specify the backend monitoring system you want to use (Nagios, Icinga, or Shinken), and the backend configuration. You may need to adjust other options to suit your needs.
sudo /etc/rc.d/thruk start
http://localhost/thruk/
.
If you want to access it from another machine, you can add an entry in the /etc/hosts
file to map the hostname to the IP address of your OpenBSD machine.Congratulations, you have successfully installed and configured Thruk on OpenBSD!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!