Checkmk Conference #6 goes digital. Get your tickets here!
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. With an installation using a package the user is always named omdadmin, and has the preinstalled password omd. From version 1.4.0 the user will be cmkadmin, and a random password will be generated which 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 (Check_MK 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. In releases earlier than 1.4.0 this button is called Activate Changes!
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 Check_MK Agent 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, enter the IP Address by hand in the appropriate field.