Releasing v2.0 of the Icinga Web 2 Puppet Module

It’s been a while since we have released a new version of our Icinga Web 2 Puppet module. Today we’re happy to announce v2.0 of this module, available on Puppet Forge. We reworked the whole module, with new mechanisms and features that make it easy to install and configure Icinga Web 2 and many of its modules. The new module enables you to configure every possible setting of Icinga Web 2 and is compatible with Puppet starting from version 4.7. Here’s a brief introduction with some examples: (more…)

Releasing the Icinga Output for Logstash v1.1.0

A couple of months ago we introduced the Icinga Output Plugin for Logstash. Today we’re happy to announce v1.1.0. This release includes functionality to dynamically create objects in Icinga 2 and set their state based on incoming events.

With the first release of the Icinga Output Plugin you could run several actions through the Icinga 2 API. Setting the state of a host or service, add comments, set downtimes and many more that we described in an earlier blogpost.

Creating Objects

Logstash is often used for log management and as we know, logs are unpredictable (in many cases). Probably, not everything that is sending logs to your Logstash server is also configured in your monitoring system, but knowing about certain events in your infrastructure would help you to solve issues easier.

This release adds the functionality to create hosts and services in Icinga 2 dynamically, based on the events flowing into Logstash. The defined action then is applied to the newly created objects. As a result you can easily create a host or service on demand, and directly set its state.

Here’s an example configuration:

output {
  icinga {
    host             => ['master1.icinga.com', 'master2.icinga.com']
    user             => 'logstash'
    password         => 'supersecret'
    ssl_verify       => true
    action           => 'process-check-result'
    action_config    => {
      exit_status    => "%{exit_status}"
      plugin_output  => "%{message}"
    }
    icinga_host      => "logstash %{hostname}"
    icinga_service   => "%{program}
    create_object    => true
    object_templates => ['logstash-service']
  }
}

How to monitor your MySQL server(s) with Icinga 2

Are you responsible for one or more MySQL servers in your company or organisation? Do you run a MySQL replication setup or multiple MySQL instances on your machine? Then you probably want to know if they are performing as well as they could do and if you’re getting the most out of your hardware. Monitoring your MySQL server(s) provides valuable information — both for avoiding and dealing with problems. If you’re looking for a free and open-source solution, then it’s time to learn our tips and tricks for monitoring MySQL with Icinga 2.

This document introduces the necessary monitoring plugins and shows some Icinga 2 configuration examples for monitoring various MySQL setups, from single servers to master/slave setups with replication, to multiple MySQL instances on a single server.

Tip: All sample listings can also apply to MariaDB and Percona Server. So, whenever we talk about MySQL, this includes the two spin-offs. (more…)

Automated Monitoring – Icinga meets Foreman

foreman logoAutomated monitoring configuration has many facilities. Some use configuration management software such as Puppet or Chef to deploy their host and service definitions. Others use the Director to import hosts from an existing CMDB and users from Active Directory. Independent from the technique that you use, I am sure we all agree that automated monitoring configuration is a huge benefit.

Today I am pleased to tell you about a new mechanism that came up recently to automate host creation in Icinga. The Foreman is a complete lifecycle management tool for physical and virtual servers. Servers can be installed classically via PXE or by using a cloud provider like Azure or DigitalOcean. You can also easily spawn Docker containers. The Foreman integrates configuration management tools such as Puppet, Chef or Ansible to set up and configure software after the installation. The list of available plugins is endless. (more…)