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, OR, At Least” logics in order to monitor if a Business Application is really available to the users, if all the necessary components are up.
Business Processes are represented by colored boxes, changing color according to the service status: UP, DOWN, degraded.
A Tree View is also available: there you can see the Icinga2 logic behind the topmost level:
It would be useful to keep track of some Business Process history or to activate notifications based on a Business Process status change: how to achieve this?
The answer is to use Icinga2 itself to monitor a Business Process.
How to monitor a Business Process
Some information must be collected from the Business Process to be monitored: these data are shown on the Business Process view after clicking “Unlock Editing” and then “Config”.
First of all, the Business Process ID:
Then, by clicking on the “Source” tab, the whole Business Process structure. (it’s better to copy all the content into a text editor for better reading)
1. ### Business Process Config File ###
2. …………
3. ###################################
4. 3178AS0011 = 3178as0011.domain.local;Agent WinService IIS Application Host Helper Service & 3178as0011.domain.local;Agent WinService Windows Process Activation Service & 3178as0011.domain.local;Agent WinService World Wide Web Publishing Service
5. display 0;3178AS0011;3178AS0011
6. 3178DB0011 = 3178db0011.domain.local;Agent Win Diskspace DBData & 3178db0011.domain.local;Agent Win Diskspace DBLog & 3178db0011.domain.local;Agent Win Diskspace DBTemp
7. display 0;3178DB0011;3178DB0011
8. BH-WGS PROD = 3178AS0011 & 3178DB0011 & 3178db1011.domain.local;Backup Veritas
9. display 1;BH-WGS PROD;BH-WGS PROD
10. 3178AS1011 = 3178as1011.domain.local;Agent WinService IIS Application Host Helper Service & 3178as1011.domain.local;Agent WinService Windows Process Activation Service & 3178as1011.domain.local;Agent WinService World Wide Web Publishing Service
11. display 0;3178AS1011;3178AS1011
12. 3178DB1011 = 3178db1011.domain.local;Agent Win Diskspace DBData & 3178db1011.domain.local;Agent Win Diskspace DBLog & 3178db1011.domain.local;Agent Win Diskspace DBTemp
13. display 0;3178DB1011;3178DB1011
14. BH-WGS UAT = 3178AS1011 & 3178DB1011
15. display 2;BH-WGS UAT;BH-WGS UAT
Inside the configuration file, you have to look at the Business Process that must be monitored by checking the “display” lines and the names at the end of the line, after the semicolon.
In this sample, line 9 starts with display and ends with the Business Process name “BH-WGS PROD”, the one we want to keep monitored.
In the previous line, line 8 in this example, there is the configuration name, just before the equal sign.
The two names could be identical, but usually they are different and we are interested in the latest one.
In this example the configuration name is the same: “BH-WGS PROD”.
Create an Icinga2 service
First of all, an Icinga2 dummy host must be created: this host will hold the Business Process service check.
The host could be created using the “nx-ht-dummy” host template.
Inside the newly created host, we can create monitoring services by using the “generic-business-process” service template.
The service parameters are:
Name: in case of multiple check of different Business Processes, it’s better to use a common prefix
BP configuration filename: the Business Process ID saved earlier
BP process name: the Business Process configuration name taken before from the “Source”
In case of multiple Business Processes to be monitored, this icinga2 service could be cloned and then changed the Name and the BP process name.
Icinga2 monitoring is very powerful: all these services could be then associated with a notification.
My name is Alessandro and I joined Würth-Phoenix early in 2013. I have over 20 years of experience in the IT sector: For a long time I've worked for a big Italian bank in a very complex environment, managing the software provisioning for all the branch offices. Then I've worked as a system administrator for an international IT provider supporting several big companies in their infrastructures, providing high availability solutions and disaster recovery implementations. I've joined the VMware virtual infrastructure in early stage, since version 2: it was one of the first productive Server Farms in Italy. I always like to study and compare different technologies: I work with Linux, MAC OSX, Windows and VMWare. Since I joined Würth Phoenix, I could also expand my experience on Firewalls, Storage Area Networks, Local Area Networks, designing and implementing complete solutions for our customers. Primarily, I'm a system administrator and solution designer, certified as VMware VCP6 DCV, Microsoft MCP for Windows Server, Hyper-V and System Center Virtual Machine Manager, SQL Server, SharePoint. Besides computers, I also like photography, sport and trekking in the mountains.
Author
Alessandro Romboli
My name is Alessandro and I joined Würth-Phoenix early in 2013. I have over 20 years of experience in the IT sector: For a long time I've worked for a big Italian bank in a very complex environment, managing the software provisioning for all the branch offices. Then I've worked as a system administrator for an international IT provider supporting several big companies in their infrastructures, providing high availability solutions and disaster recovery implementations. I've joined the VMware virtual infrastructure in early stage, since version 2: it was one of the first productive Server Farms in Italy. I always like to study and compare different technologies: I work with Linux, MAC OSX, Windows and VMWare. Since I joined Würth Phoenix, I could also expand my experience on Firewalls, Storage Area Networks, Local Area Networks, designing and implementing complete solutions for our customers. Primarily, I'm a system administrator and solution designer, certified as VMware VCP6 DCV, Microsoft MCP for Windows Server, Hyper-V and System Center Virtual Machine Manager, SQL Server, SharePoint. Besides computers, I also like photography, sport and trekking in the mountains.
Hey everyone! We played around a bit last time with our radar data to build a model that we could train outside Elasticsearch, loading it through Eland and then applying it using an ingest pipeline. But since our data is Read More
Right now, at Würth Phoenix, we are investing in automating most of our operations using Ansible. You're probably already familiar with what Ansible does, but to summarize, Ansible is an open-source, command-line IT automation application written in Python. I've talked Read More
OpenShift already has a built-in monitoring suite with Prometheus, Grafana, and Alertmanager. This is all well and good, but what if organizations want to monitor their entire infrastructure, integrating all monitoring results under one umbrella? In this case, it's necessary Read More
Hey everyone! As you may remember, we took a look in the past at how it's possible to use a model (trained directly in Elasticsearch) to perform some real time classification by using an ingest pipeline. But... what if we Read More
Scenario GLPI is integrated into NetEye and provides powerful asset management solutions. Usually GLPI agents are deployed on servers and clients: this way an up-to-date asset inventory is kept within NetEye. The GLPI package also provides a tool able to Read More