Recently I was asked why alerting in a NetEye 4 environment isn’t run via the central master, but instead via the satellites. The background to this is that the NetEye Master is located in Italy, which controls various satellites in other European and African countries.
It’s therefore a strategic decision that alarms are sent from the local satellites for reasons such as SMS costs, interruptions in WAN connections, etc.
To achieve this, I made the following settings.
The Icinga notification feature must be activated on the NetEye satellites: icinga2 feature enable notification
Copy (or create) the notification scripts used on the satellite to the same location as on the master. For example with the mail-host-notification command, the script must be at /neteye/shared/icinga2/conf/icinga2/scripts/mail-host-notification.sh
Then create a “notification template” for hosts and services for each satellite (zone) in Icinga Director. It should be noted that the zone in which the alarm is to be carried out can be selected under “Zone settings”.
See this example:
If you inherit settings from other “notification templates”, these must also be in exactly the same zone. Otherwise the configuration will not work on the satellite because the satellite does not recognize this notification template.
Next I create a “user template” for this zone, which under “Zone settings” again refers to the desired zone. This is necessary because the user on which the notifications are based is created precisely in this zone by assigning this template. Otherwise the zone does not recognize the user, the Icinga configuration is not adopted, and thus the Icinga service on the satellite stops.
For example:
Then I create a user with email alerting who should be the one notified for this zone. It’s important that I use the “notify-all-events-rome” template that I just created above so that this user is created on the desired satellite.
Here’s an example again:
Finally, of course, you have to create the “notification apply rules” that apply to this user and zone. It’s important to note that it uses the notification template and the user we just created. Of course, the assignment rule must be selected for the desired objects.
The final example:
Finally, for this configuration I’d like to underline a few essential topics that are very important for correct functionality:
You must always ensure that every created object that is to be executed on the satellite is assigned the correct zone.
As soon as several satellites with several different users have to be managed, it’s extremely important to ensure that the configurations for the satellites are correctly rolled out and that they receive all the objects necessary that are to be used in the alarm. This must absolutely be verified, because otherwise it can quite easily happen that the icinga2 service on the satellite won’t run after it’s been rolled out.
I’ve configured this setup even on a seven satellite environment, where I’ve received email and SMS alerts, some of which are attached to the satellite servers via various gateways.
I started my professional career as a system administrator.
Over the years, my area of responsibility changed from administrative work to the architectural planning of systems.
During my activities at Würth Phoenix, the focus of my area of responsibility changed to the installation and consulting of the IT system management solution WÜRTHPHOENIX NetEye.
In the meantime, I take care of the implementation and planning of customer projects in the area of our unified monitoring solution.
Author
Tobias Goller
I started my professional career as a system administrator.
Over the years, my area of responsibility changed from administrative work to the architectural planning of systems.
During my activities at Würth Phoenix, the focus of my area of responsibility changed to the installation and consulting of the IT system management solution WÜRTHPHOENIX NetEye.
In the meantime, I take care of the implementation and planning of customer projects in the area of our unified monitoring solution.
In high-demand environments, efficiency isn't just an advantage – it's essential. One of the biggest hurdles we encountered was the overwhelming strain placed on NetEye's (Elastic) master nodes during the data enrichment process. As data volumes skyrocket, so do the Read More
Whenever I upgrade a NetEye Cluster with all its Satellites, it's important that no host is forgotten, and that all packages are installed (which can happen because an upgrade error occurred, for example if one forgot to call neteye_finalize_installation). So Read More
Scenario NetEye 4 is a comprehensive monitoring platform which natively supports Business Processes. A Business Process is an abstract view of a customer’s Business from the Application point of view. Usually, it’s a collection of Icinga2 checks aggregated by “AND, Read More
Scenario NetEye 4 is a comprehensive monitoring platform which natively supports Icinga 2 checks on remote hosts and devices. Several Icinga 2 checks support an historical view of the status. An example is the firewall interface performance status below, which Read More
Scenario Veritas Backup Exec is widely used for the backup of physical machines through local installed agents both on Windows and Linux hosts. It also supports application backup for Microsoft Exchange, SharePoint and several different Database engines, with the option Read More