国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

? ??? ???? ??? NRPE ????? ???? Nagios ??? ?? Linux? ???? ??

NRPE ????? ???? Nagios ??? ?? Linux? ???? ??

Jun 25, 2025 am 10:42 AM

Nagios ??? ??? ? ?? ???? Centos Stream , Rocky Linux , Almalinux ? Fedora ? ?? Rhel ?? ????? Nagios Core ? Nagios ???? ? ?? ??? ???? ???? ??? ??? ??????.

? ????? NRPE ( Nagios Remote Plugin Executor ) ????? ???? ?? Linux ?? ? ?? ???? Nagios Core Monitoring Host? ???? ??? ?????.

?? Nagios Core? ???? ???? ????? ????. ??? ?? ?? ?? ?? ???? ???? ???? ??????.

Nagios ???? ??? ?? Windows ???? ????? ?? ?? ???? ??????.

?? ? ??? ?? Linux ???? NRPE ????? ??? ? ????. ? ?? ?? ?? NRPE ? ?? ??? ????????.

??

NRPE? ??????

NRPE ( Nagios ?? ???? executor ) ????? ???? ?? / ?? Linux ????? CPU?? , ?? , ??? ?? , ??? ??? ?? ?? ?? Linux / Unix ???, ???? ?? ?? ???? ???? ? ? ????.

??, ??? ?? ???? ??? ?? ???? ???? ???? ?? ??? NRPE ????? ???? ???????.

?? : NRPE ???? Nagios ????? ?? Linux ???? ???????. ???? ??? NRPE ??? ???? ??? ???? ?????? ????.

Nagios ?? ? ?? Linux ????? NRPE ???? ??

NRPE? ????? Nagios ???? ?? ? NRPE? ??? ?? Linux ??? ???? ?? ??? ???????. ??? ? ?? ??? ??? ?? ????.

?? Linux ????? Nagios ???? ? NRPE ??

?? ??? ???? ?? Linux ??? ? Nagios ???? ? NRPE ??? ??????.

1 ?? : ??? ???? ?????

YUM ??? ???? ???? GCC , GLIBC , GLIBC-COMMON ? GD ? ?? ?????? ?? ??? ?????? ???????.

 # yum install -y gcc glibc glibc-common gd gd-devel make net-snmp openssl-devel tar wget
2 ?? : Nagios ??? ??

? Nagios ??? ??? ??? ????? ??????.

 # useradd nagios
# passwd nagios
3 ?? : Nagios ????? ??????

Nagios ???? ?? ? ?? ??????? ????? ????.

 # mkdir /root /nagios
# CD /?? /???

?? WGET ???? ?? Nagios ???? ???? ????????.

 # wget https://nagios-plugins.org/download/nagios-plugins-2.3.3.tar.gz
4 ?? : Nagios ???? ??

?? ?? Tarball? ????? ?? tar ??? ??????.

 # tar -xvf nagios-plugins-2.3.3.tar.gz

??? ??? ? ??? ???? ?? ????? ?????.

 <strong># ls -l</strong>

? 2724
DRWXR-XR-X. 15 ?? ?? 4096 3 ? 11220 Nagios-Plugins-2.3.3
-rw-r---. 1 ?? ?? 2782610 3 ? 11220 Nagios-Plugins-2.3.3.tar.gz
5 ?? : Nagios ????? ????? ??????

???? ?? ??? ???? Nagios ????? ????? ??????.

 # CD Nagios-Plugins-2.3.3
# ./configure 
# ???
# ??????

Chown ??? ???? ???? ?????? ??? ??????.

 # chown nagios.nagios/usr/local/nagios
# chown -r nagios.nagios/usr/local/nagios/libexec
6 ?? : NRPE ???? ??

NRPE ????? ????? ?? ?? NRPE ????? ??????? ?? wget ??? ??????.

 # CD /?? /???
# wget https://github.com/nagiosenterprises/nrpe/releases/download/nrpe-4.0.2/nrpe-4.0.2.tar.gz

NRPE ?? ?? Tarball? ??????.

 # tar xzf nrpe-4.0.2.tar.gz
# CD NRPE-4.0.2

NRPE ???? ????? ??????.

 # ./configure
# ?? ?? ?????

?? : ' All Make '??? ???? ?? ?? ??? ???? ??? ????.

 ../include/common.h:34?? ?? ? ????
                 ./nrpe.c:38?? :
/usr/include/openssl/err.h:413:15 : ?? : ???? ???????
  413 | ???? LONG ERR_GET_ERROR_LINE_DATA (const char ** ??, int *line,
      | ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld : /tmp/ccwqbjhb.o : ??`init_ssl ':
/root/nagios/nrpe-4.0.2/src/./nrpe.c:474 :`get_dh2048 '? ?? ???? ?? ??.
Collect2 : ?? : LD? 1 ?? ??? ??????
Make [1] : *** [makefile : 48 : nrpe] ?? 1

?? ?? ??? ?? ./configure --disable-ssl ???? ???? NRPE ??? ?? SSL? ?????????.

 # ./configure-disable-ssl
# ?? ?? ?????

???? NRPE ???? ??? ???? ?? ??? ??????.

 # ?? ???? ????
# ??-??? ????
# ??-???? ????

???? SystemD ? NRPE ??? ??????.

 # ??????
7 ?? : NRPE ???? ??

?? /usr/local/nagios/etc/nrpe.cfg ??? ?? Nagios ???? ?? ? ?? ??? ? IP ??? ??????.

 ?? _hosts = 127.0.0.1,192.168.102

???? NRPE ???? ????? ?? ??????.

 # SystemCTL ??? NRPE
# SystemCTL NRPE? ?? ?????
8 ?? : ????? NRPE ??? ?? ?

?? ???? ???? ???? ?? ???? NRPE ??? ??? ? ? ????. ?????? ?? iPtables ??? ??????.

 # FireWall-CMD -zone = public -add-port = 5666/tcp
# FireWall-CMD -zone = public --add-port = 5666/tcp-permanent
8 ?? : NRPE ??? ??? ??????

SystemD ?? ???? ???? NRPE ??? ????? ?? NetStat ??? ??????.

<strong># netstat -at | Grep Nrpe
??
# netstat -na | Grep "5666"</strong>


TCP 0 0 0.0.0.0:nrpe 0.0.0.0:* ?? ?     
tcp6 0 0 [::] : nrpe [::] :* ???? 

?? ??? ??? ???? ???? ?????. ??? ?? ?? ?? ??? ??????.

  • /etc /services ??? NRPE ??? ???? ?????? ??????.
  • allend_hosts ?? /usr/local/nagios/etc/nrpe.cfg ???? " nagios_ip_address "? ?? ??? ???? ????.
  • System Log ??? ??? ???? NRPE ? ?? ??? ???? ?? ??? ??????.

????, ??? ???? ??? ??? " Check_nrpe "??? ???? NRPE ??? ???? ????? ??????.

 #/usr/local/nagios/libexec/check_nrpe -h 127.0.0.1

??? ?? ???? ???? NRPE ??? ??? ??? ?????.

 NRPE v4.0.2
9 ?? : NRPE ??? ??? ?????

??? ?? NRPE ?? ????? ???? ?????? ? ??? ? ?? ?? ??? ????. ?? ?? ??? ????.

 # vi /usr/local/nagios/etc/nrpe.cfg

??? ?? ??? ????? ?? ?? ?????. ???, ??? ?? ?? ??? ???? ??? ?????. ?? ??? ???? ??? ? ????.

 #/usr/local/nagios/libexec/check_nrpe -h 127.0.0.1 -c check_users

OK -1 ?? ???? ?? ??? | users = 1; 5; 10; 0
 #/usr/local/nagios/libexec/check_nrpe -h 127.0.0.1 -c check_load

OK- ?? ?? : 3.90, 4.37, 3.94 | load1 = 3.900; 15.000; 30.000; 0; ?? 5 = 4.370; 10.000; 25.000; 0; ?? 15 = 3.940; 5.000; 20.000; 0;
 #/usr/local/nagios/libexec/check_nrpe -h 127.0.0.1 -c check_hda1

??? OK- ?? ?? : /?? 154 MB (84% inode = 99%); | /boot = 29MB; 154; 173; 0; 193
 #/usr/local/nagios/libexec/check_nrpe -h 127.0.0.1 -c check_total_procs

Procs Critical : 297 ????
 #/usr/local/nagios/libexec/check_nrpe -h 127.0.0.1 -c check_zombie_procs

Procs OK : 0 State = Z ? 0 ????

NRPE ?? ??? ???? ? ?? ??? ???? ?? ? ? ????. ????? ?? Linux ??? ? NRPE ????? ????? ???? ??????.

?? NRPE ?? ??? ???? Nagios ???? ?? ? ???? ?? ? ?????.

Nagios ???? ??? NRPE ??

?? Nagios ???? ?? ? ???????. ???? ??? ?? ??? ???????.

  • Check_nrpe ????? ??????.
  • Check_nrpe ????? ???? Nagios ?? ??? ????.
  • ?? Linux ???? ?????? ?? Nagios ???? ??? ??? ??? ?????? .
1 ?? : Nagios? NRPE ????? ??????

Nagios ???? ????? ???? ?? NRPE ????? ??????? ?? WGET ??? ??????.

 # CD /?? /???
# wget https://github.com/nagiosenterprises/nrpe/releases/download/nrpe-4.0.2/nrpe-4.0.2.tar.gz

NRPE ?? ?? Tarball? ??????.

 # tar xzf nrpe-4.0.2.tar.gz
# CD NRPE-4.0.2

NRPE ???? ????? ??????.

 # ./configure
# ?? ?? ?????
# ?? ???? ????
# ??-??? ????
# ??????
2 ?? : NRPE ??? ???? ??????

Check_nrpe ????? ?? Linux ????? NRPE ??? ?? ? ? ??? ??????. ?? Linux ???? IP ?? ? ???? ?? ??? IP ??? ??????.

 #/usr/local/nagios/libexec/check_nrpe -h<strong><remote_linux_ip_address></remote_linux_ip_address></strong>

?? ???? ?? ??? NRPE? ???? ??? ???? ???? ?? ?????.

 NRPE v4.0.2

???? ?? ?? ??? ??? ?? ??? ??????.

  • ???? ?? ??? ? ???? ??? ?? ??? ???? ???????.
  • NRPE ??? SystemD ? ???? ???? ??? ??????.
  • ?? Linux ??? ??? ??? ???? ??? NRPE ??? ???? ?? ????? ??????.

Nagios Monitoring Server? ?? Linux ??? ??

?? ??? ? ????? "/usr / local/nagios/etc/etc/etc/etc/ elt

1 ?? : Nagios ??? ? ??? ?? ??
 # cd/usr/local/nagios/etc/
# touch hosts.cfg
# Touch Services.cfg

??? ? ??? ?? Nagios ?? ??? ??????. ?? ???? ?? Nagios.cfg ??? ?? ?.

 # vi /usr/local/nagios/etc/nagios.cfg

?? ?? ??? ?? ?? ?? ? ? ??? ??????.

 # ??? ?? ?? ?? ?? ??? ??? ? ????.
cfg_file =/usr/local/nagios/etc/hosts.cfg
cfg_file =/usr/local/nagios/etc/services.cfg
2 ?? : Nagios ??? ? ??? ?? ??

?? hosts.cfg ??? ?? ?? ??? ??? ??? ???? ??? ?? ?? ???? ?????? . host_name , ?? ? ??? ?? ??? ?? ?? ??? ?????.

 # vi /usr/local/nagios/etc/hosts.cfg
 ## ?? Linux ??? ??? ##
??? ?? {
Linux-Box? ??; ? ???? ??
??? ???? ??????. ???? ?????
check_period 24x7        
check_interval 5       
retry_interval 1       
max_check_attempts 10      
check_command ?? ???-??
Notification_period 24x7    
Notification_interval 30      
notification_options d, r     
Contact_Groups Admins  
???? 0; ??? ???? ???? - ??????
}

## ??
??? ?? {
Linux-Box? ??????. ????? ???? ?????
<strong>host_name tecmint; ?? ?? ??? ???? ??</strong>
<strong>?? ?? 6; ??? ? ? ?????</strong>
<strong>?? 5.175.142.66; ?? Linux ???? IP ??</strong>
}

??? Services.cfg ??? ?? ???? ? ?? ???? ??????.

 # vi /usr/local/nagios/etc/services.cfg
 ??? ?? {
        ?? ???? ??????
        host_name tecmint
        Service_description CPU??
        check_command check_nrpe! check_load
        }

??? ?? {
        ?? ???? ??????
        host_name tecmint
        Service_description ? ????
        check_command check_nrpe! check_total_procs
        }

??? ?? {
        ?? ???? ??????
        host_name tecmint
        Service_description ?? ???
        check_command check_nrpe! check_users
        }

??? ?? {
        ?? ???? ??????
        host_name tecmint
        Service_description SSH ????
        check_command check_nrpe! check_ssh
        }

??? ?? {
        ?? ???? ??????
        host_name tecmint
        Service_Description FTP ????
        check_command check_nrpe! check_ftp
        }
3 ?? : NRPE ?? ?? ??

?? nrpe ?? ??? commands.cfg ??? ???????.

 # vi /usr/local/nagios/etc/objects/commands.cfg

?? ??? ?? NRPE ?? ??? ??????.

 ################################### ##########################################################################
# NRPE ?? ??
?
# NRPE? ???? ?? ??? ???? ???? ??
################################### ##########################################################################

?? ?? {
        command_name check_nrpe
        Command_line $ user1 $/check_nrpe -h $ hostaddress $ -c $ arg1 $
        }

????? ??? ?? Nagios ?? ??? ??????.

 #/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

? ?? : 0
? ?? : 0

????? Nagios? ?? ???? ?? ?? ??? ??????.

 # SystemCTL Nagios? ?? ?????
4 ?? : Nagios? ?? ??? ????

??“ http : // your-server-ip-address/nagios ”??“ http : // fqdn/nagios” ?? Nagios ???? ? ?????? ???? ??? ?? " NagiosAdmin "? ????? ??????. ?? Linux ???? ???? ?????? ??? ??????.

NRPE ????? ???? Nagios ??? ?? Linux? ???? ??

??

?? ??! ??? ???? ???? Nagios Monitoring Server ? Windows ???? ???? ??? ?? ??????. ?? ???? Nagios ? ???? ?? ???? ???? ??.

?? ??? ?? ?? ? ??? ?? ??? ??? Tecmint.com ? ? ?? ??? ??? ?? ?? ??? ??? ????.

? ??? NRPE ????? ???? Nagios ??? ?? Linux? ???? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? ????? ??
? ?? ??? ????? ???? ??? ??????, ???? ?????? ????. ? ???? ?? ???? ?? ??? ?? ????. ???? ??? ???? ???? ??? ?? admin@php.cn?? ?????.

? AI ??

Undresser.AI Undress

Undresser.AI Undress

???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover

AI Clothes Remover

???? ?? ???? ??? AI ?????.

Video Face Swap

Video Face Swap

??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

???

??? ??

???++7.3.1

???++7.3.1

???? ?? ?? ?? ???

SublimeText3 ??? ??

SublimeText3 ??? ??

??? ??, ???? ?? ????.

???? 13.0.1 ???

???? 13.0.1 ???

??? PHP ?? ?? ??

???? CS6

???? CS6

??? ? ?? ??

SublimeText3 Mac ??

SublimeText3 Mac ??

? ??? ?? ?? ?????(SublimeText3)

???

??? ??

??? ????
1601
29
PHP ????
1502
276
???
Linux ????? DNS ??? ???? ??? ?????? Linux ????? DNS ??? ???? ??? ?????? Jul 07, 2025 am 12:35 AM

DNS ??? ??? ? ?? /etc/resolv.conf ??? ???? ??? ?? ??? ???? ??? ??????. ??, ???? ?? 8.8.8.8? ?? ?? DNS? ???? ?? ? ? ????. ?? ?? NSLookup ? DIG ??? ???? DNS ???? ???? ??????. ??? ??? ???? ?? ?? ?? DNSUTILS ?? BAND-UTILS ???? ??? ? ????. ?? ?? SystemD-Resolved ??? ?? ? ?? ?? /etc/systemd/resolved.conf? ???? ??? ?? DNS ? FallbackDns? ???? ???? ?? ??????. ????? ???? ????? ?? ? ??? ??? ???? ?? 53?

????? ?? ???/Windows ??? ? ???? ??? ?????? ????? ?? ???/Windows ??? ? ???? ??? ?????? Jul 08, 2025 am 09:58 AM

??? ????? Windows? Linux? ???? ???? ?? (?? ?? ???)? ?? ? ? ????. ?? ???? Windows ???? ?? ?? ???? ????? ??????? ?? ??? ????.

Rocky Linux 8? Nodejs 14 / 16 & NPM? ???? ?? 8 Rocky Linux 8? Nodejs 14 / 16 & NPM? ???? ?? 8 Jul 13, 2025 am 09:09 AM

Chrome? V8 ??? ?????? Node.js? ?? ??? ?? ???? ? ??? API? ???? ?? ?? ? ?? ?? ??? ??? JavaScript ??? ?????. Nodejs? ? ??? I/O ??? ?? ??? ???? ??? ??? ????.

Linux?? ?? ? ?? IP ??? ?? ??? ?????? Linux?? ?? ? ?? IP ??? ?? ??? ?????? Jul 09, 2025 am 12:37 AM

Linux Systems?? 1. IPA ?? HostName-I ??? ???? ?? IP?????. 2. curlifconfig.me ?? curlipinfo.io/ip? ???? ?? IP? ????. 3. ???? ??? ??? ??? ?? ?? IP? ? ? ??? ????? ?? ? ???? ????? ?? IP? ? ? ????. 4. ?? ??? ?? ????? ???? ??? ? ????. ??? ??? ???? ????? ??? ?????? IP ?? ??? ?????.

Linux? ???? ??? ?? ?? Linux? ???? ??? ?? ?? Jul 20, 2025 am 03:49 AM

LinuxCanRunonOnModestHardWareWithSpecificminIumpiRements.a1ghzprocessor (x86orx86_64)? withedual-corecperececended.r AMSHOUDDBEATLEAST512MBFORCOMMAND-LINEUSOR2GBFORDESKTOPENVIRONTMENTS.DISKSPACEREQUIRESAMINIMUMOF5–10GB, ??? 25GBISBETTERFORAD

Rocky Linux ? Almalinux? MySQL 8.0? ???? ?? Rocky Linux ? Almalinux? MySQL 8.0? ???? ?? Jul 12, 2025 am 09:21 AM

C? ??? MySQL? ?? ??, ??? ??? ? ?? ?? ???? ??? ?????? ?? ??? (RDMS) ? ?????. ?? ??? ?? ???? ? ???, ??? ??, ???? ?????? ?? ??????.

Ubuntu 25.04'Plucky Puffin”: Gnome 48 ? HDR Brilliance?? ??? ?? Ubuntu 25.04'Plucky Puffin”: Gnome 48 ? HDR Brilliance?? ??? ?? Jul 12, 2025 am 09:28 AM

???? ???? ??? ???? ???, ??? ? ?? ??? ??????. Codename“Plucky Puffin”Ubuntu 25.04? ????? Canonical? ?? ? ? ?????? ??? ???????.

Rocky Linux ? Almalinux? MongoDB? ???? ?? Rocky Linux ? Almalinux? MongoDB? ???? ?? Jul 12, 2025 am 09:29 AM

MongoDB? ???? ??? ?? ???? ???? ?? ?? ? ???, ?? ??? ?? ?? NOSQL ?????????. MongoDB ?? ???? j? ?? ???? ??? ???? ?? SQL ??????? ??

See all articles