HOW-TO’s for Alyvix Server Integration into NetEye 4
We’ve already written a blog post about how to integrate Alyvix 3 and Alyvix Server into NetEye 4. Some time has passed and a few things have changed, so here are some new HOWTO’s that can make your life easier.
HARD State/Soft State with the right notification sent out
The first thing is that the active service check for asking the status of the last Alyvix test case run has a flaw in it, where it will go into HARD status (sending a notification) before it effectively has been checked again. This is because the Icinga service check does not know exactly when the test case will next be run on the server, and synchronizing this is quite hard.
It’s better to have an active/passive approach for the integration. This means that the Icinga service for a single Alyvix test case will not actively check its status, but that an additional service will be needed to do this, injecting the check result inside the single test case service.
So the additional service can thus decide whether the testcase has already been run again and inject the passive result ONLY if a new status/run is found. This will mitigate the problem I explained above, and a HARD state is now “real” as we know the test case has been run again.
You can download the needed plugin for this approach here.
Accessing the Alyvix Logs by Users without Privileges
From the Service Output HTML link you can access the log for a single test case execution which is available from the Alyvix Server host.
For security reasons we don’t want to allow open access to the Alyvix Server webservices, just to the NetEye Server and maybe some selected users.
Now how will we configure this? Well, you can use NetEye’s Apache server ReverseProxy Feature. Create an Apache configuration file like the one below in /etc/http/conf.d/alyvix-proxy.conf on the NetEye Server(s) where you change the alyvixserver01(.example.com) text to the server name of your Alyvix Server Host.
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ProxyPass /alyvix/alyvixserver01/ https://alyvixserver01.example.com/
ProxyPassReverse /alyvix/alyvixserver01/ https://alyvixserver01.example.com/
Now to use this ProxyPass on your NetEye Apache server in the above plugin, you can use the -P option in this mode, obviously substituting the placeholder with the real data:
I have over 20 years of experience in the IT branch. After first experiences in the field of software development for public transport companies, I finally decided to join the young and growing team of Würth Phoenix. Initially, I was responsible for the internal Linux/Unix infrastructure and the management of CVS software. Afterwards, my main challenge was to establish the meanwhile well-known IT System Management Solution WÜRTHPHOENIX NetEye. As a Product Manager I started building NetEye from scratch, analyzing existing open source models, extending and finally joining them into one single powerful solution. After that, my job turned into a passion: Constant developments, customer installations and support became a matter of personal. Today I use my knowledge as a NetEye Senior Consultant as well as NetEye Solution Architect at Würth Phoenix.
Author
Juergen Vigna
I have over 20 years of experience in the IT branch. After first experiences in the field of software development for public transport companies, I finally decided to join the young and growing team of Würth Phoenix. Initially, I was responsible for the internal Linux/Unix infrastructure and the management of CVS software. Afterwards, my main challenge was to establish the meanwhile well-known IT System Management Solution WÜRTHPHOENIX NetEye. As a Product Manager I started building NetEye from scratch, analyzing existing open source models, extending and finally joining them into one single powerful solution. After that, my job turned into a passion: Constant developments, customer installations and support became a matter of personal. Today I use my knowledge as a NetEye Senior Consultant as well as NetEye Solution Architect at Würth Phoenix.
In the first part of this series, we explored how Jira Service Management (JSM) helps streamline Incident Management, aligning with ITIL v4 best practices. Incident Management aims to restore normal service operation as quickly as possible after a disruption, ensuring Read More
Alerts are critical signals that demand immediate attention to minimize disruptions and maintain smooth operations. Proactively managing alerts throughout their lifecycle is key to effective event-driven workflows, incident response, and business continuity. By leveraging alerting tools within Jira Service Management Read More
This article explains how to set up a NetEye4 satellite using a Raspberry Pi. This is not an official guide and this solution is not officially supported. As test-bed I used a Raspberry Pi 4B with 4GB of ram, 32GB Read More
Icons by Dod Cosmin / CC BY 3.0 and Icons8 / CC BY-ND 3.0 In this article, I would like to underline two main advantages of our open source IT system management solution NetEye, which regard the sending of SMS monitoring notifications. High Read More