Nagios itself does not provide the corresponding monitoring, it is to implement monitoring is dependent on the SNMP protocol or the relevant plug-in to complete the corresponding monitoring, and usually in order to deploy quickly and easily, on the Linux host generally more Nrpe extension, And on the Windows host on the use of more is the nsclient++ extension, the difference is Nrpe or through the plug-in to complete the monitoring, and nsclient++ no
Nagios.cfg file Nagios.cfg
The default path is/usr/local/nagios/etc/ Nagios.cfg, is the Nagios core configuration file, all object configuration files must be defined in this file to play its role, where the object configuration file can only be referenced in the Nagios.cfg file.
Log_file=/usr/local/nagios/var/nagios.log
The "log_file" variable is used to defi
Nagios Monitoring SystemNagios is an open source free network monitoring tool that can monitor Windows, Linux, and UNIX host status, switch routers and other network devices, when the system or service status is abnormal when sending mail or SMS alarm, the first time to notify the site operations personnel. Traffic monitoring is not his forte, traffic monitoring recommends using cacti, which can draw very intuitive graphics..
. Finally, log on to the public platform to add the address book and create an application (such as nagios). Record the Application id and use it later. Set user permissions.
Script
After nagios and the platform are ready, download the Command Script. Right-click Download and save. Then upload the file to the
Nagios is an open source, free network monitoring tool that effectively monitors Windows, Linux and UNIX host status, network settings such as switch routers, printers, and more. Send mail or SMS alarm when the system or service status is abnormal the first time to notify the site operators, after the status of the resumption of normal mail or SMS notification.
Nagios is the API that calls the public platf
, download the Command Script. Right-click Download and save. Then upload the file to the nagios server, such as the/usr/local/nagios/python/weixin directory, and set the File Permission to executable. Create the config. py file in the/usr/local/nagios/python/weixin director
Recently in the study of Nagios monitoring System, and then online search to view a lot of information, learn from the experience of prawns with you, organize records of their own installation records.Nagios 's full name is (Nagios Ain ' t Goona insist on Saintood), and the initial project name is Netsaint. It is a free open source IT Infrastructure monitoring system, its powerful and flexible, can effectiv
Building a monitoring system based on Nagios -- monitoring remote Windows Server
After sharing how to monitor Linux servers, let's take a look at how Nagios monitors Windows servers.
Part 1: configure the monitored Windows Server
First, visit http://sourceforge.net/projects/nscplus/and download the NSClinent ++ of the License Server. The file I downloaded was nam
First Download sendEmail Software official website: http://caspian.dotconf.net/menu/Software/SendEmail/
2 # tar-xvf sendEmail-v1.55.tar.gz
# Cd sendEmail-v1.55
# Cp sendEmail/usr/local/bin
# Chmod a + x/usr/local/bin/sendEmail
3 sendEmail command details
-F indicates the sender's email address.
-T indicates the recipient's email address.
-S indicates the domain name or ip address of the SMTP server
-U indicates the subject of the email.
-Xu indicates
results of the check to the Check_nrpe plugin, which the plugin submits to nagios for processing.Note: NRPE daemon requires Nagios plug-ins and NRPE to be installed on remotely monitored Linux hosts, otherwise, daemon cannot do any monitoring. Because the communication between them is encrypted SSL, you need to install SSLNrpe and Nagios-plugins are installed on
1. nagios Basic installationInstall the GCC compiler, GD library, development library, and web Service on the server and create a nagios Account # useradd nagios# Passwd nagios# Usermod-G nagios apache # Add apache users to the nagios
Nagios Setup and ConfigurationExperimental environment centos6.5 two setsExperimental stepsI. Installing Nagios dependencies:Yum-y Install httpd gcc glibc glibc-common gd gd-devel php php-mysql mysql mysql-devel mysql-server xinetdTwo. Install and configure Nagios (monitor this machine)
Add the users and groups required for
Install and configure nagios in centos6.7
Nagios is an open-source free network monitoring tool that can effectively monitor the status of Windows, Linux and Unix hosts, network settings such as vswitches and routers, and printers. If the system or service status is abnormal, an email or text message alert will be sent immediately to the website O M personnel. After the status is restored, a normal email o
SNMP and Dell openamge[windows on the monitored side ] The SNMP SNMP service installed on the monitored side needs to turn on the hardware information pushSNMP Service sets public name and Nagios Monitor host address for increased security Install Dell Openmanage (default port 1311)Om-drac-dell-web-winx64-8.4.0-2193_a00 installation package (download by Dell website)Install OpenManage after decompression
The previous section describes the installation process for the Nagios monitoring service in a Linux environment, and this section details how to use some of the configuration files for the Nagios services that have already been installed and how to monitor local related services. If you want to complete monitoring of a host Nagios as the main program is essentia
and the MSN account for receiving alarm messages. the two accounts must be friends with each other;
2. MSN robots use PHP class: sendMsgTo download and install sendMsg, you only need to put the sendMsg directory under the web root directory. configure the MSN account and password used for MSN registration, and configure the recipient's MSN account:
$ SenderUser = MSN account;$ SenderPass = password;$ SendToList = array (receiver 1, receiver 2 );
Afte
The previous section describes the installation process for the Nagios monitoring service in a Linux environment, and this section details how to use some of the configuration files for the Nagios services that have already been installed and how to monitor local related services. If you want to complete monitoring of a host Nagios as the main program is essentia
RHELInstallNagiosThe procedure is as follows:
Nagios is a powerful host monitoring software in Linux. Now let's take a look at it. This system is RHEL5.4, and nagios version is 3.21. Don't talk much about it. Please do it right away.
1. apache, php, gd, and other environments are required
Yum install httpd gcc glibc-common gd-devel php-y
2. Create Account Information (Create user Information)
# Useradd-m
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.