This article describes installing Nagios on a Linux host and monitoring this machine.Experimental environment: rhel5.6, nagios-3.2.3.tar.gz, nagios-plugins-1.4.15.tar.gzExperimental process:A small shortcut to this experiment is to install Apache first, then unzip Nagios, copy the extracted Dosc documents to/var/www/ht
Nagios Study Notes
Nagios is an open-source monitoring software that monitors linux, unix, windows, and network devices and printers.
Nagios monitors different objects through various plug-ins, and manages Nagios Based on the web interface.
Nagios installation directory:
Nagios is an open-source, free network monitoring tool that effectively monitors Windows, Linux and UNIX host status, network devices 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.Nsclient:windows 7 Monitoring plug-inNrpe is an extension of the monitoring software
First, the start times wrong
"Starting Nagios:this account isn't currently available"
Workaround:
Modify/ETC/PASSWD
Change the/sbin/nologin into/bin/bash
Second, Nagios installed, Web Access to the following error:
You do not have permission to view information for any host.
Check the HTTP server's access rights settings for this CGI.
Solution:
Vi/usr/local/nagios/etc/cgi.cfg
Change the value of U
Article Title: Install Nagios in Suse9. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems and open source, and other basic categories. The Nagios Installation Process of Suse 9 is as follows:
Download the required Program
First move a source code library to get the source code library:
Ls: there are seven packages
BKJIA featured Translation: The powerful Nagios network monitoring platform allows you to add a series of available plug-ins for its features. If you cannot find a plug-in that meets your own requirements, you can easily write it on your own. This article describes how to compile the plug-in on your own.
The Nagios plug-in can be written in any programming language as long as it is supported on the platform
Introduction: Nagios interface. See Monitoring MySQL service errors, as below:Warning:NRPE:Unable to read output1, with the Nagios monitor server on the check1.1. Run the Check_nrpe command for remote callsRun Check_nrpe on the monitor side nagiosserver check for MySQL status errors such as the following:[Email protected] ~]#/usr/lib/nagios/plugins/check_nrpe-h19
Follow the garden article to build http://www.cnblogs.com/mchina/archive/2013/02/20/2883404.html1. In the case of Nagios plugin address migration error, record resolution.2, PHP installed to 5.6.26 Version, record--------------------------------------------------------------------------------------------------------------- -----Five. Nagios server-side installation5.1 Basic Support Kit: GCC glibc glibc-comm
The CENTOS7 system used here, nagios-4.2.1.tar.gz,nagios-plugins-2.1.2.tar.gz,nrpe-3.2.1.tar.gzDownload the installation packageNagios Server-side installation package under the Guan Networkor Baidu Network diskhttps://pan.baidu.com/s/1sALFDRt3n24LRheqA6Hp4gt72qSuggest to the official websiteInstalling the Ali Yum SourceWget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-7.repoYum
This section: Details thinkphp URL rules, url pseudo-static, url routing, url rewriting, url generation one, URL rules 1, default is case-sensitive , 2, if we do not want to be case-sensitive can be changed to config fil
following content
The code is as follows
Copy Code
Include/usr/local/nagiosgraph/etc/nagiosgraph-apache.conf
7. Restart Service
The code is as follows
Copy Code
#/etc/init.d/httpd Restart#/etc/init.d/nagios Restart
8. View Nagiosgraph configuration information
In the browser input: http://10.0.100.125/nagiosgraph/cgi-bin/showconfig.cgi
Nagios is currently a very popular system, server monitoring free software, many large domestic sites like Sohu, NetEase are using Nagios for server monitoring.Nagios is a bit of a frame in itself, for the Nagios Extended monitoring module, as well as the alarm module is very convenient, can easily add their own written service monitoring, as well as mobile phone
Nagios is currently a very popular system, server monitoring free software, many large domestic sites like Sohu, NetEase are using Nagios for server monitoring.Nagios is a bit of a frame in itself, for the Nagios Extended monitoring module, as well as the alarm module is very convenient, can easily add their own written service monitoring, as well as mobile phone
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.