Nagios client: 3 1 ติดตัËง plug-ins และ nagios agents(nrpe-agent) ด้วยคําสัÁง # yum install nagios*พิมพ์ ให้ติดตัËง NSClient++ NagiosClient ใน Windows client
Previous PDF | Next PDF |
[PDF] Installing The Windows Agent: NSClient++ - Nagios Enterprises
Log on to the windows machine you wish to install the NSClient++ agent on Run the NSClient++ installer package to start the installation The welcome screen
[PDF] Configuring The Windows Agent NSClient++ for Nagios XI
This document explains how to configure the NSClient++ Windows agent and If you don't have nmap installed on the Nagios XI server, you can install it by
Supervision windows avec NSclient++
Supervision windows avec NSclient++ Télécharger NSclient++ http://nsclient /nscp/downloads nsclient++ /install Editer le fichier nsclientNSC INI
[PDF] Installation & configuration de NSClient 417
Documentation NSClient++ Télécharger la dernière version de NSClient à partir de cette source : http://nsclient,org/nscp/downloads Décommentez la ligne suivante, elle contient notre fichier répertoriant les objets de serveurs windows :
[PDF] Checking for Windows Updates with Nagios XI - DevOps School
Download the plugin to your windows machine that has NSClient++ installed Once downloaded, unzip the Check-Updates zip and put the Check-Updates ps1
[PDF] T9 SaaS – User Guide - Trace9
17 avr 2020 · Monitoring – Add Host (Install NSClient-Windows) NSClient++ is a For Installation: 1 Step 1: Download Stable version of NSClient++
[PDF] Configuration de Nagios
Installation de NSClient++ Configuration de Nagios pour surveiller vos machines Windows sudo apt-get install bind9-host dnsutils libbind9-60 libdns66
[PDF] Install and Get Started with op5 Monitor
Before a server or network equipment can be monitored, you may require a particular agent It can either be NSClient++ for Windows, NRPE for Linux or SNMP for
[PDF] NAGIOS
Nagios client: 3 1 ติดตัËง plug-ins และ nagios agents(nrpe-agent) ด้วยคําสัÁง # yum install nagios*พิมพ์ ให้ติดตัËง NSClient++ NagiosClient ใน Windows client
[PDF] download panopto videos
[PDF] download pdf file using angular 2 and .net core web api
[PDF] download pecl for windows
[PDF] download penal code
[PDF] download photoshop free for students
[PDF] download photoshop free mac catalina
[PDF] download photoshop free macbook
[PDF] download photoshop free online
[PDF] download photoshop free youtube
[PDF] download r commander
[PDF] download react book pdf
[PDF] download software ht baofeng bf t1
[PDF] download synonyms list
[PDF] download test pdf
322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
1 Network Tool: Nagios
NAGIOS
Nagios server:
Operating system : CentOS 6.5 32bits(Fresh)
IP Address : 10.0.0.2/24
Nagios client:
Operating System : CentOS 6.5 32bits(Fresh)
IP Address : 10.0.0.1/24
Windows client:
Operating System : Windows 7
IP Address : 10.0.0.3/24
1. เพิมและเปิดใช้ EPEL repository
3. ติดตัFงและแก้ไข Nagios Server
4. เพิม Host เพือทําการ Monitoring
5. เพิม Host - Window Client
6. การ Monitoring
322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
2 Network Tool: Nagios
ขันตอนที# 1 เพิ#มและเปิดใช้ EPEL repository
หลังจากที Nagios แสดงใน CentOS official ให้ทําการเพิ
ม EPEL repository เพือติดตัFง Nagios และไปที
Terminal แล้ว login ด้วย root #wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm #rpm -Uvh epel-release-6*.rpm#yum install gd gd-devel gcc glibc glibc-commo หลังจาก run แล้วพิมพ์ y เพือยืนยันการติดตัFง
322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
3 Network Tool: Nagios
ขันตอนที# 3 ติดตังและแก้ไข Nagios
3.1 ติดตัFง plug-ins และ nagios agents(nrpe-agent) ด้วยคําสัง
# yum install nagios* พิมพ์ y ยืนยันการติดตัFง
322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
4 Network Tool: Nagios
คําแนะนํา: ควรอนุญาต apache port ผ่าน iptables ดังนีF
# vi /etc/sysconfig/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT # service iptables restart322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
5 Network Tool: Nagios
3.3 ตัFงรหัสผ่านของ Nagiosadmin
# htpasswd /etc/nagios/passwd nagiosadmin # service nagios start # service httpd start # chkconfig nagios on # chkconfig httpd on3.4 เข้าใช้งาน Nagios admin console
* เปิด nagios administrator console ด้วย URL http://10.0.0.2/nagios ใส่ username: nagiosadmin และรหัสผ่านที
322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
6 Network Tool: Nagios
Fจะแสดงเพียง nagios server (localhost)* เลือก localhost เพือแสดงข้อมูลทั
Fงหมด
322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
7 Network Tool: Nagios
ขันตอนที# 4 เพิ#ม Host เพื#อ Monitoring
4.1 เพิ
ม EPEL repository ทีเครือง client เพือติดตัFง nrpe package ก่อนทําการติดตัFง nrpe และ nagios-plugins
Fง "nrpe" และ "nagios-plugins" ที client ด้วยคําสัง
# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -Uvh epel-release-6*.rpm # yum install nrpe nagios-plugins-all openssl4.2 Configure Monitoring targets
้ไขทีไฟล์ /etc/nagios/nrpe.cfg โดยใช้คําสัง
# vi /etc/nagios/nrpe.cfg * เพิม ip address ของ Nagios server ด้วย ## Line 81 - Add the Nagios server IP ## allowed_hosts=127.0.0.1 10.0.0.2322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
8 Network Tool: Nagios
4.3 เริม nrpe service:
# service nrpe start # chkconfig nrpe on /etc/nagios/nrpe.cfg ## Line 52 - Uncomment ## cfg_dir=/etc/nagios/servers4.5 สร้าง directory ทีเรียกว่า "servers" ภายใต้ "/etc/nagios/" ด้วยคําสัง # mkdir /etc/nagios/servers
4.6 สร้าง config file เพือ monitor Client ด้วยคําสั
# vi /etc/nagios/servers/clients.cfg define host{ use linux-server host_name client alias client address 10.0.0.1 max_check_attempts 5 check_period 24x7 notification_interval 30 notification_period 24x7322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
9 Network Tool: Nagios
#services define service { use generic-service host_name client service_description SSH check_command check_ssh notifications_enabled 0 define service{ use generic-service host_name client service_description PING check_command check_ping!100.0,20%!500.0,60% define service{ use generic-service host_name client service_description Root Partition check_command check_local_disk!20%!10%!/ define service{ use generic-service host_name client service_description Current Users check_command check_local_users!20!50 define service{ use generic-service host_name client service_description Total Processes check_command check_local_procs!250!400!RSZDT define service{ use generic-service host_name client322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
10 Network Tool: Nagios
service_description Current Load check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 define service{ use generic-service host_name client service_description Swap Usage check_command check_local_swap!20!10 define service{ use generic-service host_name client service_description HTTP check_command check_http notifications_enabled 04.8 ทําการ restart Nagios service ด้วยคําสัง
# service nagios restart เมือเสร็จแล้วให้ทําการเปิด Nagios admin console ที
จากนัFนจะสามารถคลิกที Client เพือ
http://www.nagios.com/ )322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
11 Network Tool: Nagios
ขันตอนที# 5 เพิ#ม Host - Windows Client• ให้ติดตัFง NSClient++ NagiosClient ใน Windows client
• Configure Nagios Serverหมายเหตุ: สามารถ Download NSClient++ ได้ที http://sourceforge.net/projects/nscplus/
5.1 ติดตัFง NSClient++
322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
12 Network Tool: Nagios
่ Nagios Server IP ส่วน Password ให้เว้นว่างไว้ คลิก Next
322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
13 Network Tool: Nagios
322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
14 Network Tool: Nagios
- เสร็จสิFนการติดตัFง NSClinet ++
5.2 เริ
ม Configue Nagios Server # vi /etc/nagios/nagios.cfg ## Line 52 - Uncomment ## cfg_dir=/etc/nagios/object/window.cfg # vi /etc/nagios/object/nagios.cfg5.3 แก้ไข Change the Windows Clinet IP
define host{ use windows-server ; Inherit default values from a template host_name winserver ; The name we're giving to this host alias My Windows ; A longer name associated with the host address10.0.0.3 ; IP address of the host
5.4 ทําการเพิ
ม Service เหมือนของ Linux แต่ให้เปลียนชือ host_name ให้เป็นของ Windows client ทีเราได้ตัFงไว้
5.5 จากนั
Fนทําการ Restart Nagios ด้วยคําสัง
# /etc/nagios restart เป็นอันเสร็จสิFน
322766: Computer Network (Fall 2014) | Instructor: Chakchai So-In, Ph.D
15 Network Tool: Nagios
ขันตอนที# 6 การ Monitoringคลิกเมนู Host จะเห็นตามภาพด้านล
่างๆในแต่ละ Node ได้ด้วยการคลิกทีชือของ Node นัFนๆ ตามภาพด้านล่าง