After installing Checkmk – either with one of our Appliances, or on your own Linux server, and having created your first monitoring instance (site), it is time to add devices. In the following examples you will learn all about how to bring your site to life – we will assume that the site has been named mysite.
Tip: If you’re not sure how to use a specific function, in addition to the handbook you can use the context-sensitive online help in the Checkmk overview. You will find this at the top right, next to the Checkmk logo.
1. Login on the Web-GUI
The default login URL is http://HOSTNAME/mysite/ over the browser. The user will be cmkadmin, and a random password was displayed at the end of the installation process and should be noted. When using an appliance, you will use the name and password you specified earlier when creating the instance.
2. Installing a monitoring agent on the monitoring server
As the very first host, we will add the monitoring server itself. The agent (Checkmk Agent) is preinstalled on Checkmk appliances. When working with your own server you must install the agent yourself. Select the Monitoring Agents option in the WATO . Configuration element in the sidebar.
Now select – depending on your distribution – the RPM-, TGZ- or DEB-Package, and install them on your monitoring server. This is achieved as usual with gdebi, yum install or zypper install.
3. Adding a server to the monitoring
The management of the server and devices to be monitored can be found in the Hosts menu option:
Go to New host, enter localhost as the host name, and click on Save & go to Services. In the following listing add individual services with , or all services with .
On the screen that follows, click on the orange 2 changes button, which opens the next menu. There click on the Activate affected button, in order to activate the changes and to start the monitoring.
That’s it! The server will now be monitored with standard settings:
4. Adding additional servers and network devices
You can add additional devices to your monitoring in the same way. Here are a couple of tips:
- To monitor Windows, use the MSI packages which automatically install the CheckMkService service.
- You can also monitor SNMP devices (switches, etc.). For this, when configuring the host, in the Host Tags submenu, select the Agent Type option, and choose SNMP (Networking Device, Appliance) in the drop down menu. If your SNMP community is not public, then enter it in the SNMP Community option.
- If the host name cannot be translated via DNS, activate the option IPv4 Address and enter the IP Address by hand in the appropriate field.