Icinga 2 DSL Feature: Namespaces coming in v2.10

Under the hood, Icinga 2 uses many constants and reserved keywords, e.g. “Critical” or “Zone” which are respected by the config parser and compiler. This sometimes leads to errors when users accidentally override such things, or re-define their own global constants. v2.10 introduces namespaces for this purpose, and ensures that such accidents won’t happen anymore.
 

What exactly is a namespace?

Think of a defined “room” for variables, functions, etc. which can be defined similar to constants. They are isolated from other namespaces and must be loaded by the user/developer. Namespaces need a defined name – we prefer to use a capitalized string, e.g. “MyNamespace”. This helps to immediately qualify this as customization when reading the configuration.
Icinga 2 v2.10 uses namespaces which are registered and loaded by default. In order to test this, open the debug console on a test VM which has the snapshot packages installed. Fetch the keys in global namespace “globals” first.
(more…)

Exceptions prove the rule, Director to the rescue

Exceptions prove the rule, Director to the rescue

Two and a half month have gone by since version 1.2.0. Yesterday we tagged the latest release: version 1.3.0. As we all know, Director is a fantastic tool for automation, being the glue between your various data sources and your monitoring. But in the rough real world not all the things are always automated. Therefore, this release puts focus on managing all those “little exemptions” many of you are facing in their daily work with in semi-automated environments. (more…)

Watch out – and shop!

Most of us use Icinga 2 to monitor network services, host resources or server components – but wait, there is more! Why not ask Icinga 2 to watch items in your favourite online shop and send out notifications as soon as the price has dropped below a certain amount? Antony Stone has written a slightly unusual check to track the price of Amazon items with Icinga 2. (more…)

Icinga Director released!

01_director_main_screenToday we are proud to announce our new web based configuration tool named Icinga Director. Developed as an Icinga Web 2 module it aims to be your new favourite config deployment tool for Icinga 2. And cause you already know Icinga Web 2, working with Icinga Director is a piece of cake. Even if you prefer plain text files and manual configuration, chances are good that Director will change your mind.
Empower your users
As an Icinga 2 pro you know all the knobs an tricks Icinga provides. However you are not willing to do the same work again and again. Director is here to make your life easier. Someone wants to add a new server, tweak some thresholds, adjust notifications? They shouldn’t need to bother you. No way, you might think. You do not trust your users, they might break things. Well… no. Not with Icinga Director. It provides an audit log that shows any single change. You can re-deploy old configurations at anytime. Invalid configurations will not be deployed. And you will be allowed to restrict what your users are allowed to do in a very granular way.
Infrastructure as Code
06_director_custom_fields_in_useDoing automation is self-evident for you? Want to feed your monitoring from your configuration management tool, or from your CMDB? You’ll love the endless possibilities Director provides. Based on multiple data providers Icinga Director offers powerful sync rules. Enrich your basic monitoring information with all required details and set the foundation for Icinga 2 powerful template logic. And cause Director know all about inheritance and object relation you will never loose track, even in really huge environments
 
02_director_applyFully integrated
We take care that installing Icinga Web 2 modules works smoothly. But Director is not only well integrated into Icinga Web 2. It uses the Icinga 2 API to talk to your monitoring system. It will help you to deploy your configuration, regardless of whether you are using a single node Icinga installation or a distributed setup with multiple masters and satellites. Using the Icinga 2 Agent? Perfect, the Director will make your life much easier!
Want to give it a try? Sure! Download Icinga Director from GitHub and install it based on the installation guide. Or happily fire “vagrant up” inside the Icinga 2 Vagrant box.
You will find Icinga Director on Icinga Exchange in the next couple of days as well. Team Icinga wishes you Happy Easter.
 

Contribute Icinga 2 Plugin Check Command definitions

While at first sight we’ve only included the monitoring plugins and their CheckCommand definitions, we’ve been working closely with community contributors and team members to make it easier for everyone to contribute their own command definitions.
There are certain advantanges sending your definitions upstream:

  • everyone can use and update/fix them
  • one single place for configs and documentation
  • developers may suggest updates and help with best practices
  • you don’t need to care about copying the command definitions to all your instances (because the icinga2 package already provides them)

There is a detailed wiki howto available. Looking forward to your contributions! 🙂