INagios Core: Yini i-Nagios nokuthi ungayifaka kanjani ku-Debian GNU / Linux?

INagios Core: Yini i-Nagios nokuthi ungayifaka kanjani ku-Debian GNU / Linux?

INagios Core: Yini i-Nagios nokuthi ungayifaka kanjani ku-Debian GNU / Linux?

Emkhakheni we Amanethiwekhi namaseva kunezinhlelo zokusebenza ezinhle nezisebenza kahle ze- Abaphathi Besistimu / Abaseva (i-SysAdmins). Ngakho-ke, namuhla sizokhuluma ngocingo olwaziwayo I-Nagios Core.

I-Nagios Core ngokuyisisekelo inguqulo yamahhala ye- I-Nagios. Okuyinto ethandwa kakhulu ngokuyisisekelo imishini / izinsiza / uhlelo lokuqapha inethiwekhi ngefomethi ye- umthombo ovulekile.

I-Webmin: ukuphathwa kusuka kusiphequluli sewebhu

I-Webmin: Ukuphathwa kusuka kusiphequluli sewebhu

Futhi njengoba kuyaqabukela sikhuluma ngezinkinga ezihlobene ne- izinhlelo, izinhlelo kanye nezinhlelo emkhakheni we Amanethiwekhi namaseva noma ukusetshenziswa okuqondile kwe- Abaphathi Besistimu / Abaseva (i-SysAdmins), ngokushesha sizoshiya ngezansi ezinye izixhumanisi zokunye okushicilelwe kwangaphambilini okuhlobene nale nkambu ye-IT:

"I-Webmin iyithuluzi lokuhlela elitholakala kuwebhu le-OpenSolaris, i-GNU / Linux nezinye izinhlelo ze-Unix. Ngayo, ungalungiselela izici zangaphakathi zezinhlelo eziningi ezisebenzayo, njengabasebenzisi, izikhala zesikhala, izinsizakalo, amafayela wokumisa, ukuvala ikhompyutha, njll, kanye nokuguqula nokulawula izinhlelo eziningi zamahhala, njenge-Apache web server, I-PHP, i-MySQL, i-DNS, i-Samba, i-DHCP, phakathi kokunye." I-Webmin: Ukuphathwa kusuka kusiphequluli sewebhu

I-athikili ehlobene:
I-Webmin: ukuphathwa kusuka kusiphequluli sewebhu

I-athikili ehlobene:
I-Webmin: ukuphathwa kusuka kusiphequluli sewebhu
I-athikili ehlobene:
I-TurnKey Linux: Ilabhulali Yedivayisi Ebonakalayo

I-Nagios Core: Uhlobo lwamahhala nolukhululekile lwamaNagios

I-Nagios Core: Uhlobo lwamahhala nolukhululekile lwamaNagios

Yini i-Nagios Core?

Ngokwe-website esemthethweni ye- I-Nagios, I-Nagios Core Kuchazwa ngale ndlela elandelayo:

"I-Nagios® Core ™ iyinethiwekhi yomthombo ovulekile nohlelo lokuqapha uhlelo. Ihlola abaphathi (amakhompyutha) nezinsizakalo ozicacisayo, ikukwazisa uma izinto zingahambi kahle nalapho zithuthuka. INagios Core ekuqaleni yayenzelwe ukusebenza ngaphansi kweLinux, noma ngabe kufanele isebenze ngaphansi kwezinye izinhlelo eziningi ezisebenza nge-Unix. Futhi, inguqulo yamahhala yethuluzi lethu lamanje elibizwa ngeNagios XI."

Izici

Phakathi kwezici eziningi ze- I-Nagios Core kungashiwo abali-10 abalandelayo:

  1. Ukuqapha izinsizakalo zenethiwekhi (SMTP, POP3, HTTP, NNTP, PING, phakathi kwabanye.)
  2. Ukuqapha izinsizakusebenza zabasizi abahlukahlukene ababekiwe (umthwalo weprosesa, ukusetshenziswa kwediski, phakathi kwabanye.)
  3. Idizayini elula ye-plugin evumela abasebenzisi ukuthi bathuthukise kalula amasheke abo wenkonzo.
  4. Ukuhlolwa kwensizakalo efanayo.
  5. Ikhono lokuchaza isigaba sabaphathi benethiwekhi usebenzisa izingosi "zomzali", likuvumela ukuthi ubone futhi uhlukanise phakathi kwezingosi eziphansi nalezo ezingatholakali.
  6. Izaziso zokuxhumana lapho ukusingathwa noma izingqinamba zesevisi zenzeka futhi zixazululwa (nge-imeyili, i-pager, noma indlela echazwe ngumsebenzisi).
  7. Amandla okuchaza abaphathi bomcimbi ukuthi baqhutshwe phakathi komsingathi noma imicimbi yesevisi yokuxazulula inkinga okusebenzayo.
  8. Ukuzungezisa okuzenzakalelayo kwamafayela okungena.
  9. Ukusekelwa kokusebenzisa abaphathi bokuqapha abangasasebenzi.
  10. Isixhumi esibonakalayo sewebhu sokubuka isimo samanje senethiwekhi, umlando wezaziso nezinkinga, ifayela lokungena, nokuningi.

Ungayifaka kanjani ku-Debian GNU / Linux 10?

Ngaphambi kokuqala le ngxenye, kubalulekile ukuthi uqaphele njengokujwayelekile ukuthi kuleli cala elisebenzayo sizosebenzisa okujwayelekile Phendula i-Linux kubizwa Izimangaliso GNU / Linux, okusekelwe I-MX Linux 19 (I-Debian 10). Elakhiwe ngokulandela i- «Umhlahlandlela we-Snapshot MX Linux».

Noma kunjalo, noma iyiphi I-GNU / Linux Distro yini ukwesekwa I-Systemd. Ngakho-ke, sizosebenzisa lokhu Ukuphendula kwe-MX Linux ukuqala kusuka Uhlelo lwe-GRUB boot ngenketho yakho nge "Qala nge-Systemd". Esikhundleni senketho yayo ezenzakalelayo, engekho I-Systemd noma kunalokho nge I-Systemd-shim. Futhi, sizokhipha yonke imiyalo yemiyalo evela kufayela le- Umsebenzisi weSysadmin, esikhundleni se Umsebenzisi womsuka, kusuka ku-Respin Linux.

Futhi manje eyakho ukulanda, ukufaka nokusebenzisa, sizosebenzisa i- «Umhlahlandlela Wokufaka Okusheshayo Kwe-Debian« futhi lokhu kungaba yi imiyalo yokuyala ukwenza ku-terminal (console) yohlelo lwakho lokusebenza:

Izinyathelo zokulungisa uhlelo olusebenzayo

Buyekeza Amakhosombe bese ufaka amaphakheji abalulekile futhi adingekayo ukuze usebenze nawo I-Nagios Core.

sudo apt update
sudo apt install autoconf gcc libc6 make wget unzip apache2 apache2-utils php libgd-dev

2.- Landa isoftware yamanje

cd /tmp
wget -O nagioscore.tar.gz https://github.com/NagiosEnterprises/nagioscore/archive/nagios-4.4.6.tar.gz
tar xzf nagioscore.tar.gz

3.- Hlanganisa isoftware yamanje

cd /tmp/nagioscore-nagios-4.4.6/
sudo ./configure --with-httpd-conf=/etc/apache2/sites-enabled
sudo make all

4.- Dala Abasebenzisi namaqembu

sudo make install-groups-users
sudo usermod -a -G nagios www-data

5.- Faka amaphakheji ahlukahlukene abalulekile

sudo make install
sudo make install-daemoninit
sudo make install-commandmode
sudo make install-config

6.- Faka amafayili wokumiswa kwe-Apache

sudo make install-webconf
sudo a2enmod rewrite
sudo a2enmod cgi

7.- Faka futhi ulungiselele i-Firewall ngama-IPTables

sudo apt install iptables
sudo iptables -I INPUT -p tcp --destination-port 80 -j ACCEPT
sudo apt install -y iptables-persistent

8.- Dala i-akhawunti yomsebenzisi ku-Apache ukuqala ku-Nagios Core

sudo htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

9.- Qala kabusha / Qala Izinsizakalo Ezidingekayo

systemctl restart apache2.service
systemctl start nagios.service

Note: Qala kabusha uhlelo olusebenzayo uma kunezinkinga ngale miyalo yomyalo.

10. - Ngemvume ukuze Nagios Core

Gijimisa isiphequluli seWebhu emshinini wasendaweni uma uneGrafiki Yomsebenzisi Wendawo (i-GUI) noma kwenye ikhompyutha ekuNethiwekhi.Futhi kwibha yekheli bhala noma imiphi imiyalo elandelayo yomyalo njengoba ubona kufanelekile:

http://127.0.0.1/nagios
http://localhost/nagios
http://nombreservidor.dominio/nagios

Note: Uma ungaboni iwindi le- "Nagios Core Login", hlola ukuthi i-Operating System yakho ngokususelwa ku-Debian GNU / Linux 8/9/10 inokulungiswa okulungile. "Impande yedokhumenti" i-del Iseva ye-Apache ngaphakathi kwefayela lokumisa elilandelayo: /etc/apache2/apache2.conf. Shintsha indlela /var/www ngalokhu okulandelayo: /var/www/html. Bese uqala kabusha insiza ye-Apache noma ikhompyutha, bese uyazama futhi kukhompyutha.

Ukufaka ama-plugins we-Nagios Core

Buyekeza Amakhosombe bese ufaka amaphakheji abalulekile futhi adingekayo ukuze usebenze nawo Ama-plugins we-Nagios.

sudo apt update
sudo apt install autoconf gcc libc6 libmcrypt-dev make libssl-dev wget bc gawk dc build-essential snmp libnet-snmp-perl gettext

Landa futhi uvule uziphu iphakheji yamanje nge- "Nagios Plugins"

cd /tmp
wget --no-check-certificate -O nagios-plugins.tar.gz https://github.com/nagios-plugins/nagios-plugins/archive/release-2.2.1.tar.gz
tar zxf nagios-plugins.tar.gz

Hlanganisa futhi ufake "ama-plugins we-Nagios"

cd /tmp/nagios-plugins-release-2.2.1/
./tools/setup
sudo ./configure
sudo make
sudo make install

Izithombe zesikrini

I-Nagios Core: Isithombe-skrini 1

I-Nagios Core: Isithombe-skrini 2

I-Nagios Core: Isithombe-skrini 3

I-Nagios Core: Isithombe-skrini 4

I-Nagios Core: Isithombe-skrini 5

I-Nagios Core: Isithombe-skrini 6

I-Nagios Core: Isithombe-skrini 7

I-Nagios Core: Isithombe-skrini 8

I-Nagios Core: Isithombe-skrini 9

I-Nagios Core: Isithombe-skrini 10

I-Nagios Core: Isithombe-skrini 11

I-Nagios Core: Isithombe-skrini 12

I-Nagios Core: Isithombe-skrini 13

I-Nagios Core: Isithombe-skrini 14

I-Nagios Core: Isithombe-skrini 15

I-Nagios Core: Isithombe-skrini 16

I-Nagios Core: Isithombe-skrini 17

I-Nagios Core: Isithombe-skrini 1

I-Nagios Core: Isithombe-skrini 19

I-Nagios Core: Isithombe-skrini 20

I-Nagios Core: Isithombe-skrini 21

I-Nagios Core: Isithombe-skrini 22

I-Nagios Core: Isithombe-skrini 23

I-Nagios Core: Isithombe-skrini 24

I-Nagios Core: Isithombe-skrini 25

Ngeminye imininingwane nge I-Nagios Core ungahlola izixhumanisi ezilandelayo:

Ezinye izindlela eziyi-10 zamahhala nezivuliwe

  1. I-Cacti
  2. I-Cabot
  3. Iphrojekthi Ye-Cockpit
  4. Ngicabanga
  5. LibreMNS
  6. Munin
  7. INetdata
  8. IPandora FMS
  9. I-PHP Server Monitor
  10. Zabbix

Ukuze ufunde kabanzi ngalokhu ezinye izindlela nokuningi, chofoza kusixhumanisi esilandelayo: Isoftware kanye ne-Network Monitoring Software ngaphansi kwe-Open Source.

Isifinyezo: Izincwadi ezahlukahlukene

Isifingqo

Ngokufingqa, njengoba sekubonile I-Nagios Core iyithuluzi lesoftware eliphelele lenkambu ye- Amanethiwekhi / Amaseva futhi i Abaphathi Besistimu / Abaseva (i-SysAdmins). Futhi ayinamandla kuphela kepha iyaguquguquka futhi iyaguquguquka, ngenxa yokusebenzisa okuningi kwayo ama-plugins. Futhi kulabo abangase bangayisebenzisi, kuhlale kunezinye izindlela ezinhle ezifana Zabbix, Iphrojekthi ye-Icinga neCockpit, phakathi kokunye okuningi.

Siyethemba ukuthi le ncwadi izosiza kakhulu kuwo wonke umuntu «Comunidad de Software Libre y Código Abierto» kanye negalelo elikhulu ekuthuthukisweni, ekukhuleni nasekusakazweni kohlelo lokuphilayo lwezinhlelo zokusebenza ezitholakalayo «GNU/Linux». Futhi ungayeki ukuwabelana nabanye, kumawebhusayithi wakho owathandayo, iziteshi, amaqembu noma imiphakathi yokuxhumana nabantu noma amasistimu wokuthumela imiyalezo. Ekugcineni, vakashela ikhasi lethu lasekhaya ku- «KusukaLinux» ukuhlola ezinye izindaba, bese ujoyina isiteshi sethu esisemthethweni se- Yocingo kusuka ku-DesdeLinux.


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Yiba ngowokuqala ukuphawula

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.