For the purposes of this recipe, our database has a local hostname of pg-1, and the monitor server is named monitor-server. Follow these steps to use check_mk to create and configure the host and service monitors for our PostgreSQL server:
- Install check_mk according to the comprehensive instructions at this URL:https://mathias-kettner.com/checkmk_manual_install.html
- Navigate to the monitor server in a web browser to the check_mk URL: http://monitor-server/check_mk
- Enter nagiosadmin as the username and the password created during the installation of Nagios in the Installing and configuring Nagios recipe.
- Click on Hosts in the WATO - Configuration segment of the left sidebar.
- Click on the Create new folder icon.
- Name the folder ...