Nagios Core: Nagios yog dab tsi thiab yuav nruab nws li cas hauv Debian GNU / Linux?

Nagios Core: Nagios yog dab tsi thiab yuav nruab nws li cas hauv Debian GNU / Linux?

Nagios Core: Nagios yog dab tsi thiab yuav nruab nws li cas hauv Debian GNU / Linux?

Hauv thaj tsam ntawm Tes hauj lwm thiab Servers muaj cov ntawv thov zoo thiab muaj txiaj ntsig zoo rau Cov tswj / System Server (SysAdmins). Yog li ntawd, hnub no peb yuav tham txog kev hu xov tooj zoo Nagios Tub Ntxhais.

Nagios Tub Ntxhais nws yeej yog qhov dawb version ntawm Nagios. Uas nyob rau hauv lem yog qhov nrov cov cuab yeej / kev pabcuam / kev tshuaj xyuas lub network nyob rau hauv hom ntawv ntawm qhib qhov chaw.

Webmin: kev tswj hwm los ntawm lub web browser

Webmin: Kev tswj hwm los ntawm lub web browser

Thiab txij li peb tsis tshua muaj teeb meem cuam tshuam nrog applications, programs thiab systems los ntawm thaj tsam ntawm Tes hauj lwm thiab Servers lossis siv tshwj xeeb rau Cov tswj / System Server (SysAdmins), peb yuav tawm tam sim hauv qab qee qhov txuas mus rau qee qhov kev tshaj tawm yav dhau los cuam tshuam nrog IT IT no:

"Webmin yog lub vev xaib-nkag mus siv cov txheej txheem teeb tsa rau OpenSolaris, GNU / Linux thiab lwm lub tshuab Unix. Nrog nws, koj tuaj yeem teeb tsa sab hauv ntawm ntau lub tshuab ua haujlwm, xws li cov neeg siv, chaw seem, cov kev pabcuam, teeb tsa cov ntaub ntawv, kaw lub computer, thiab lwm yam, ntxiv rau hloov kho thiab tswj hwm ntau daim ntawv thov dawb, xws li Apache web server, PHP, MySQL, DNS, Samba, DHCP, thiab lwm yam." Webmin: Kev tswj hwm los ntawm lub web browser

Tshooj lej:
Webmin: kev tswj hwm los ntawm lub web browser

Tshooj lej:
Webmin: kev tswj hwm los ntawm lub web browser
Tshooj lej:
TurnKey Linux: Lub Tsev Khaws Khoom Ntaus Virtual

Nagios Core: Pub dawb thiab dawb version ntawm Nagios

Nagios Core: Pub dawb thiab dawb version ntawm Nagios

Nagios Core yog dab tsi?

Raws li lub vev xaib raug cai ntawm Nagios, Nagios Tub Ntxhais Nws tau piav raws li hauv qab no:

"Nagios® Core ™ yog qhov qhib qhov network thiab daim ntawv thov saib xyuas qhov system. Nws saib xyuas cov tswv (khoos phis tawj) thiab cov kev pabcuam uas koj hais qhia, ceeb toom rau koj thaum yam tsis raug thiab thaum lawv txhim kho. Nagios Core tau xub tsim los ua haujlwm hauv Linux, txawm hais tias nws yuav tsum ua haujlwm nyob rau hauv ntau lwm yam Unix-based Operating Systems ib yam. Tsis tas li, nws yog qhov pub dawb ntawm peb cov cuab yeej tam sim no hu ua Nagios XI."

Nta

Ntawm cov nta ntau ntawm Nagios Tub Ntxhais 10 hauv qab no tuaj yeem hais txog:

  1. Saib xyuas cov kev pabcuam network (SMTP, POP3, HTTP, NNTP, PING, thiab lwm yam.)
  2. Saib xyuas cov peev txheej ntawm cov saib xyuas sib txawv (tus neeg ua haujlwm thauj khoom, siv disk, thiab lwm yam.)
  3. Ib qho yooj yim plugin tsim uas tso cai rau cov neeg siv yooj yim txhim kho lawv tus kheej cov kev pabcuam tshev.
  4. Cov kev pabcuam ua haujlwm sib luag.
  5. Lub peev xwm los txheeb xyuas lub network host hierarchy siv "niam txiv" tus tswv, tso cai rau koj txheeb xyuas thiab paub qhov txawv ntawm cov tswv uas poob qis thiab cov uas tsis tuaj yeem ncav cuag.
  6. Tiv tauj cov ntawv ceeb toom thaum tus tswv lossis teeb meem teeb meem tshwm sim thiab raug daws (los ntawm email, pager, lossis tus neeg siv txoj kev txhais).
  7. Lub peev xwm los txheeb xyuas cov xwm txheej tuav haujlwm thaum lub sijhawm ua haujlwm lossis pabcuam cov haujlwm rau kev daws teeb meem zoo.
  8. Tsis siv neeg tig ntawm cav cov ntaub ntawv.
  9. Kev txhawb nqa rau kev ua kom rov qab xyuas cov tswv tsev.
  10. Xaiv qhov web interface los saib qhov xwm txheej tam sim no ntawm lub network, keeb kwm ntawm kev ceeb toom thiab teeb meem, cov ntaub ntawv teev cia, thiab ntau ntxiv.

Yuav ua li cas rau nruab nws ntawm Debian GNU / Linux 10?

Ua ntej pib qhov no, nws tsim nyog sau cia li ib txwm hais tias rau qhov xwm txheej no peb yuav siv li ib txwm muaj Teb Linux hu ua Txuj ci tseem ceeb GNU / Linux, uas yog raws MX Linux 19 (Debian 10). Uas tau tsim ua raws li peb «Qhia rau Snapshot MX Linux».

Txawm li cas los xij GNU / Linux Distro dab tsi pab Systemd. Yog li ntawd, peb yuav siv qhov no MX Linux respin pib los ntawm GRUB khau raj system los ntawm koj qhov kev xaiv nrog "Pib nrog Systemd". Hloov chaw ntawm nws txoj kev xaiv ua ntej, uas yog tsis muaj Systemd los yog theej nrog Systemd-tsim. Tsis tas li, peb yuav ua txhua qhov kev hais kom ua los ntawm cov Sysadmin neeg siv, hloov Tus neeg siv hauv paus, los ntawm hais Respin Linux.

Thiab tam sim no rau koj rub tawm, teeb tsa thiab siv, peb yuav siv tus «Pib Pib Kev Qhia Taw Qhia rau Debian« thiab cov no yuav yog txib xaj kom ua tiav hauv lub davhlau ya nyob twg (console) ntawm koj Cov Txheej Txheem Ua Haujlwm:

1.- Cov kauj ruam los npaj Cov Txheej Txheem Ua Haujlwm

Hloov Kho Cov Chaw khaws khoom thiab teeb tsa pob khoom tseem ceeb thiab tsim nyog los ua haujlwm nrog Nagios Tub Ntxhais.

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

2.- Rub tawm software tam sim no

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.- Sau cov software tam sim no

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

4.- Tsim Cov Neeg Siv thiab Pawg

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

5.- Txhim kho ntau yam pob khoom tseem ceeb

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

6.- Nruab Apache cov ntaub ntawv teeb tsa

sudo make install-webconf
sudo a2enmod rewrite
sudo a2enmod cgi

7.- Nruab thiab teeb tsa Firewall ntawm IPTables

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

8.- Tsim Tus Neeg Siv Nyiaj hauv Apache kom pib hauv Nagios Core

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

9.- Rov Pib / Pib Cov Kev Pab Cuam

systemctl restart apache2.service
systemctl start nagios.service

Ceeb toom: Rov Pib Ua Haujlwm Thaum muaj teeb meem nrog cov lus txib no.

10.- Nkag mus rau Nagios Core

Khiav Web Browser ntawm lub tshuab hauv zos yog tias koj muaj Cov Duab Siv Ib puag ncig (GUI) lossis ntawm lwm lub khoos phis tawj ntawm Network.

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

Ceeb toom: Yog tias koj tsis pom "Nagios Core Login" lub qhov rais, txheeb xyuas tias koj li Kev Ua Haujlwm Raws Li Debian GNU/Linux 8/9/10 muaj qhov teeb tsa raug. "Cov ntaub ntawv hauv paus" del Apache neeg rau zaub mov hauv cov ntaub ntawv teeb tsa hauv qab no: /etc/apache2/apache2.conf. Hloov txoj kev /var/www los ntawm cov hauv qab no: /var/www/html. Tom qab ntawd rov pib dua Apache Service lossis Computer, thiab sim dua ntawm lub khoos phis tawj.

Txhim kho Nagios Core Plugins

Hloov Kho Cov Chaw khaws khoom thiab teeb tsa pob khoom tseem ceeb thiab tsim nyog los ua haujlwm nrog Nagios Plugins.

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

Rub tawm thiab unzip cov pob tam sim no nrog "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

Sau thiab teeb tsa "Nagios Plugins"

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

Vijtsam txhaj tshuaj

Nagios Core: Screenshot 1

Nagios Core: Screenshot 2

Nagios Core: Screenshot 3

Nagios Core: Screenshot 4

Nagios Core: Screenshot 5

Nagios Core: Screenshot 6

Nagios Core: Screenshot 7

Nagios Core: Screenshot 8

Nagios Core: Screenshot 9

Nagios Core: Screenshot 10

Nagios Core: Screenshot 11

Nagios Core: Screenshot 12

Nagios Core: Screenshot 13

Nagios Core: Screenshot 14

Nagios Core: Screenshot 15

Nagios Core: Screenshot 16

Nagios Core: Screenshot 17

Nagios Core: Screenshot 1

Nagios Core: Screenshot 19

Nagios Core: Screenshot 20

Nagios Core: Screenshot 21

Nagios Core: Screenshot 22

Nagios Core: Screenshot 23

Nagios Core: Screenshot 24

Nagios Core: Screenshot 25

Yog xav paub ntxiv nyob rau Nagios Tub Ntxhais koj tuaj yeem tshawb xyuas cov kab txuas hauv qab no:

10 dawb thiab qhib kev xaiv

  1. Cacti
  2. Cabot
  3. Txoj Haujlwm Cockpit
  4. Icinga
  5. LibreMNS
  6. Munin
  7. Cov ntaub ntawv
  8. Pandora FMS
  9. PHP Server Saib
  10. Zabbix

Xav paub ntau ntxiv txog cov no Lwm yam thiab ntau dua, nyem rau ntawm qhov txuas hauv qab no: Cov cuab yeej thiab Network Saib Xyuas Software nyob hauv Qhib Qhov Chaw.

Ntsiab lus: Ntau cov ntawv tshaj tawm

Abstract

Hauv kev xaus, raws li tau pom Nagios Tub Ntxhais yog lub cuab yeej software zoo tshaj plaws rau kev ua haujlwm ntawm Tes hauj lwm / Servers thiab cov Cov tswj / System Server (SysAdmins). Thiab nws tsis yog tsuas yog muaj zog tab sis yoog raws thiab yoog raws, ua tsaug rau kev siv nws ntau yam plugins. Thiab rau cov uas yuav tsis siv nws, yeej ib txwm muaj lwm txoj hauv kev zoo li Zabbix, Icinga thiab Cockpit Project, ntawm ntau lwm tus.

Peb cia siab tias qhov kev tshaj tawm no yuav pab tau zoo rau txhua tus «Comunidad de Software Libre y Código Abierto» thiab ntawm kev pabcuam zoo rau kev txhim kho, kev loj hlob thiab kev tsis sib txawv ntawm cov kab ke hauv cov ntawv thov muaj rau «GNU/Linux»Cov. Thiab tsis txhob tso nws rau lwm tus neeg, ntawm koj cov vev xaib uas nyiam, cov koom tes, cov pab pawg lossis cov zej zog ntawm kev sib koom tes lossis kev xa xov. Thaum kawg, txuas mus xyuas peb qhov home page ntawm «Los ntawmLinux» tshawb nrhiav xov xwm ntau ntxiv, thiab koom nrog peb channel ntawm Telegram los ntawm DesdeLinux.


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

Yog thawj tus tuaj tawm tswv yim

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.