In the world of openITCOCKPIT a "Host" is the basic device it self for the most of the time. Usually openITCOCKPIT will use an ICMP check to monitor your host. Every host can provide different services, like Email, DHCP, DNS, web servers, load balancers etc... To get an useful monitoring you need to create "Services" on every host. Due to the fact that openITCOCKPIT uses Nagios or Naemon in the background, there are thousands of free plugins available, you can use to monitor your business critical services.
In openITCOCKPIT you can create an host- and service template to set predefined values whenever you create a new host or service. In this templates you can define options like "Host- or Service groups", "Contacts", "Notification options" and so on.
openITCOCKPIT comes with a predefined set of templates you can use.
In this example we will monitor an Ubuntu Xenial linux system, which runs Nginx, PHP-FPM and MySQL.
How ever, to create your first host, please navigate to Basic Monitoring Hosts and press on "New".
openITCOCKPIT will ask you a few basic questions about your host, like the name, the ip address or FQDN, which contacts should be notified in case of an error and so on.
To keep things as easy as possible, we select the target container
/root so the new created host will be visible for all users at the system. Also we select the host template "default host" to load all predefined values from the template. Due to the host template, we just need to enter the host name and the ip address and can press on "Save".
The new created host will now be shown in the list "Not monitored", because it was only created, but not "exported" to the monitoring engine.
In the next step, we create a "Ping" service on the new host. Navigate to Basic Monitoring Services and press on "New".
Select your new created host "My first linux host", and the service template "Ping" and press on "Save". Again, all required values will be loaded from the service template.
The new created service will now be shown in the list, because it was only created, but not "exported" to the monitoring engine.
Whenever you created a new object, which relates to the monitoring engine, like a Host, Service, Contact, Contact group, etc, a "Refresh of the monitoring configuration" is required.
You find this option in the top right corner:
openITCOCKPIT will generate all configuration files for you, validates the new configuration and reload the monitoring engine in the background.
After a few seconds, the system will pick up your new host and service, and will start to monitor it.
Sending a Ping request to an host is great, but not really an monitoring at all. So in the next step, we are going to add some basic health checks to the system.
© 2019 it-novum GmbH - All Rights Reserved