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
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 afte
/nagios.lockstatus_update_interval=102.2 Add the service to be monitored by the Listening node , for example:/usr/local/nagios/etc/objects/system_1.cfg# # define Hosts# system_1 Oam_1define host{ use linux-server,host-pnp host_name system_1_oam_1 address system_1_traffic_1 address System_1_admins,systems_admins # # define Services#system_1 oam_1Define
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
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
Article Title: O M monitoring Nagios serialization 3: deploying and configuring the Nagios service. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Source: it168Author: Tian Yi (sery@163.com)
As the saying goes: to do good th
As the saying goes: to do good things, you must first sharpen your tools. to make system management easier and more effective, a good monitoring tool is essential. here, I recommend nagios, an open-source monitoring tool that has been used for more than four years and is powerful and customizable.
O M monitoring
, the installation path is/USR/LOCAL/NAGIOS/ETCMake Install-commandmode//To configure directory permissionsMake install-webconf//configure Nagios to integrate with Apache]nagios configuration file (you can see the file you want in the configuration file): #cat/etc/httpd/conf.d/nagios.conf Install the Nagios plugin:Tar
Building a monitoring system based on Nagios -- installing Nagios Core
Using Nagios to build the monitoring system of this department, I have only seen this guy's name several times before. This is a real start, and now I have successfully built a test environment, monitored
The previous article describes how to install Nagios Core, an article to share with you how to incorporate a remote Linux server into your monitoring scope.Part I: Installing Nagios plugins and Nrpe on remote LinuxStep one: Download the setup program for Nagios plugins and Nrep extensions[Plain]View PlainCopy
These monitors include host survival, disk space monitoring, load monitoring, process Count monitoring, and ip connection monitoring. (1) define the host configuration file hosts. cfgdefinehost {host_namecacti.comaliasnagiosserveraddress192.168.10.195contact_groupsadmin on the moni
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
I. Preface:
1. Make sure that you have the root permission on the machine before installation.
2. confirm that the following software package has been installed on your installed linux system and continue.
Gcc compiler, gd library and Development Library
Note:
You can use the yum command to install these software packages. type the command:
Yum-y install httpd gcc glibc-common gd-devel
Read more: round-robin and progressive Nagios --- operation (2) Co
These monitors include host survival, disk space monitoring, load monitoring, process count monitoring, and ip connection monitoring.(1) define the host configuration file hosts. cfg on the Monitoring ServerDefine host {Host_name cacti.comAlias
Nagios's function is to monitor the service and host, but it does not include this part of the function, all monitoring, detection functions are through a variety of plug-ins to complete. After you start Nagios, it periodically calls the plugin to detect the state of the server, while Nagios maintains a queue, all the status information returned by the plug-ins g
/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
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.