Elastic Stackin hyödyntäminen NextGen-integraatio-ohjelmiston valvonnassa
Pihlasto, Tuomo (2019)
Pihlasto, Tuomo
2019
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2019100519590
https://urn.fi/URN:NBN:fi:amk-2019100519590
Tiivistelmä
NextGen Connect -integraatio-ohjelmiston käyttöliittymästä ei ole helppoa seurata lokiviestejä ja käyttöliittymä vaatii erillisen kirjautumisen valvottavaan palvelimeen. Virheiden sattuessa usein ei tiedetä, mikä virheen on aiheuttanut, jolloin etsitään lokiviesteistä lisätietoa. Integraatioratkaisujen aiheuttamia virheitä eikä lokeja tarkkailla aktiivisesti, vaan niihin reagoidaan, jos ne huomataan.
Työn tavoitteena oli hyödyntää AgentIT:llä jo käytössä olevaa Elastic Stackia NextGen Connect -integraatio-ohjelmiston valvomiseen. Toteutetusta valvontakokonaisuudesta tuli valmistaa hyvin dokumentoitu kokonaisuus, joka olisi toteutettavissa uudelleen useammille asiakkaiden palvelimille, joissa NextGen Connect -integraatio-ohjelmisto on käytössä.
Opinnäytetyössä tutkittiin työssä käytettävien Elastic Stack -komponenttien teoriaa ja sitä, miten niitä mahdollisesti voitaisiin hyödyntää työssä. Lisäksi työssä perehdyttiin AgentIT:n käyttämään Grafana-ohjelmaan ja siihen, mitä kaikkea sillä olisi mahdollista tehdä ja mitä AgentIT:llä ei hyödynnetä.
Käytännön osuudessa rakennettiin ensin erilliseen testiympäristöön todellisuutta kuvaava ympäristö, johon kokonaisuus tultaisiin asentamaan. Testiympäristössä Elastic Stackin komponentteihin tehtiin konfiguraatiomuutokset, jotka saivat aikaan halutun tuloksen. Grafanaan tehtiin valmiit visualisoinnit, joista saatiin haluttu tieto esille ja nämä visualisoinnit olivat suoraan vietävissä tuotannon ympäristöön. Using the NextGen Connect integration engine’s user interface for checking logs is not intuitive and it requires user to separately log onto the machine where the integration engine is located. When errors occur, the cause is not often clear, so the logs are checked for further info. Logs and errors caused by integrations are not actively monitored so they are only checked if something unusual is noticed.
The aim of the thesis was to deploy Elastic Stack, which is already used by AgentIT in other types of monitoring, to monitor NextGen Connect integration engine. Accomplished monitoring solution should be well documented and based on those created documentations it should be easily replicated to several servers where NextGen Connect integration engine is used.
This thesis explores the theory and possibilities of Elastic Stack components used in the thesis and how these possibilities could be used in the thesis. In addition, this thesis investigated program called Grafana, which is used by AgentIT and some of its customers, and what it can do and what AgentIT have not done or experimented yet.
The practical part of the thesis started with creating a test environment that replicated a production environment where the monitoring solution would be implemented first. Configuration changes were made to the Elastic Stack components so that the wanted information could be extracted and visualized in Grafana. Visualized graphs and panels created into the test environment could be imported into production environment by ease.
Työn tavoitteena oli hyödyntää AgentIT:llä jo käytössä olevaa Elastic Stackia NextGen Connect -integraatio-ohjelmiston valvomiseen. Toteutetusta valvontakokonaisuudesta tuli valmistaa hyvin dokumentoitu kokonaisuus, joka olisi toteutettavissa uudelleen useammille asiakkaiden palvelimille, joissa NextGen Connect -integraatio-ohjelmisto on käytössä.
Opinnäytetyössä tutkittiin työssä käytettävien Elastic Stack -komponenttien teoriaa ja sitä, miten niitä mahdollisesti voitaisiin hyödyntää työssä. Lisäksi työssä perehdyttiin AgentIT:n käyttämään Grafana-ohjelmaan ja siihen, mitä kaikkea sillä olisi mahdollista tehdä ja mitä AgentIT:llä ei hyödynnetä.
Käytännön osuudessa rakennettiin ensin erilliseen testiympäristöön todellisuutta kuvaava ympäristö, johon kokonaisuus tultaisiin asentamaan. Testiympäristössä Elastic Stackin komponentteihin tehtiin konfiguraatiomuutokset, jotka saivat aikaan halutun tuloksen. Grafanaan tehtiin valmiit visualisoinnit, joista saatiin haluttu tieto esille ja nämä visualisoinnit olivat suoraan vietävissä tuotannon ympäristöön.
The aim of the thesis was to deploy Elastic Stack, which is already used by AgentIT in other types of monitoring, to monitor NextGen Connect integration engine. Accomplished monitoring solution should be well documented and based on those created documentations it should be easily replicated to several servers where NextGen Connect integration engine is used.
This thesis explores the theory and possibilities of Elastic Stack components used in the thesis and how these possibilities could be used in the thesis. In addition, this thesis investigated program called Grafana, which is used by AgentIT and some of its customers, and what it can do and what AgentIT have not done or experimented yet.
The practical part of the thesis started with creating a test environment that replicated a production environment where the monitoring solution would be implemented first. Configuration changes were made to the Elastic Stack components so that the wanted information could be extracted and visualized in Grafana. Visualized graphs and panels created into the test environment could be imported into production environment by ease.