Mud: Learning Nagios (2): Nagios configuration, mud nagios
This document consistsXiuyi Lin FengProviding friendship sponsorship, first launchedThe world
After nagios is installed, configure nagios now. For more information about nagios
Introduction of Nagios
Nagios is an open source computer system and network monitoring tool, can effectively monitor Windows, Linux and UNIX host State, switch routers and other network settings, printers and so on. When the system or service status is abnormal, send an email or SMS alert the first time to notify the site operators, in the state of recovery after the normal mail or SMS notification.
users only need to grant select permission.
Command [check_swap] =/usr/local/nagios/libexec/check_swap-w 20%-c 10%
# Monitor the usage of swap partitions. If the value exceeds 20%, the system reports that the value of w exceeds 10%. If the value is greater than, the system reports the value of c.
Command [check_nginx] =/usr/local/nagios/libexec/check_nginx.sh-
This article consists of Su Yi Lin Feng provide sponsorship, starting in Slime Line the world Once the Nagios installation is complete, we'll configure Nagios now. For Nagios installation, refer to the article "Slime: Learning Nagios (i): Nagios installation". Description: T
First, the principleintegrating cacti and Nagios is a plugin of cacti, nagios for cacti, which works by importing Nagios data through ndo2db into the MySQL database (the cacti library). Then cacti reads the database information and displays the results of Nagios. Second, cacti expansion moduleCacti extension modules ne
out of 101 processesMonitoring http:[Email protected] libexec]#./check_httpFormat:Check_http-h Options:-H: Monitored host-I: Monitored IP address-P: Monitored ports-u: Monitored URL address-W: Warning value, login user greater than this value-C: Critical error, greater than this number errorInstance:[Email protected] libexec]#/check_http-h 192.168.4.1-p 21Connection denied (21 port not open)HTTP critical-unable to open TCP socketConfiguring Monitorin
respective services.cfg configuration files, respectively managed)Define Service{Use Generic-serviceHOST_NAME client02Service_description check_passwdCheck_command check_nrpe!check_passwd}Then manually crawl the data on the Nagios server:/usr/local/nagios/libexec/check_nrpe-h 192.168.1.11-c check_passwdThe data appears to indicate that the basic is no problem, restart the service, observe the Web platform
There have been a lot of good summaries about Nrpe's way online, and I'm now talking about how we use NSCA to get the resource usage information for the monitored nodes we need in our system.Let's talk about the basic configuration of the Nagios server side:1. Nagios Web GUI access configuration, the system is using the recommended configuration in Nagios core, a
/etc/nagios.cfg2. Add Auto-Move Itemchkconfig--add NagiosChkconfig Nagios onService Nagios Start3. Landing PageHttp://localhost/nagiosAccount nagiosadmin Password 123456V. Problems encounteredClick map and History error on the left side of the page:The requested url/nagios/sbin/statusmap.cgi is not found on this server
Nagios Introduction
Nagios is an Open-source application used to monitor systems and networks, typically running on a master server running Liunx or Unix operating systems. Nagios uses its numerous plug-ins to realize the monitoring of the local and remote service, when the object of the monitor is abnormal, Nagios wi
How to Set/etc/init. d/nagios checkconfig and/usr/local/nagios/bin/nagios, nagioscheckconfig
How to output the same results for/etc/init. d/nagios checkconfig and/usr/local/nagios/bin/nagios-v/usr/local/
monitor: Shell pythonSetting up a monitoring server: monitor the specified hostNagios Cacti Zabbix++++++++++++++++++++++++++++++++++++++++Prepare a new server for monitoring server: Configuration requirements:#setenforce 0#systemctl Stop Firewalld; Systemctl Disable FIREWALLD;#配置本地yum源#ip地址 192.168.4.56+++++++++++++++++++++++++++++++++++++++++A. Build Nagios Monitoring ServerI. Deploying the Nagios Service
the problem can be a message to the poor Yun-Wei classmate called up to restore services. This matter, Nagios is basically the best solution. It has a wide variety of plug-ins, and writing custom plug-ins is extremely simple, can easily monitor from the operating system to the application of all aspects. Its configuration file is simple and easy to understand, and very powerful, a little familiar can easily according to their own needs to configure.F
Nagios is a popular computer system and network monitoring program that detects hosts and services and alerts users when an exception occurs and is released. It is open source software developed based on GPLV2 and is available for free and use.How Nagios WorksNagios's function is to monitor services and hosts, but it does not include these features, and all monitoring and detection functions are done throug
configuration, which is to add the following information to the httpd.conf file:Create Apache directory validation files#在上面的配置中, to the immediate directory to verify the file htpasswd, so that in the/usr/local/nagios/etc/directory to create a htpasswd authentication file, when the URL path can be accessed through the user name and passwordView the contents of an authentication file[Email protected] ~]# CA
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.