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
nagios-plugins-all
2. If you need to send an email alert, modify the Administrator email address (optional ):
vim /etc/nagios/objects/contacts.cfg
3. Configure the web login password:
htpasswd -c /etc/nagios/passwd nagiosadmin
4. Start the test:
chkconfig httpd onchkconfig nagios onservice httpd startservice
referenceBandwidth[1399532517] Process_service_check_result; 192.168.0.6; bandwidth_status_eth1;0; STATISTICS OK:-The traffic in was 0.8Kbps, out was 0.53Kbps, Total is 1.33kbps.| In=0.8kbps;;;0;0 Out=0.53kbps;;;0;0 Total=1.33kbps;;;0;0The bandwidth is similar to the CPU by calculating the/proc/net/dev's Tx,rx and Total's numerical difference over time by dividing the time interval to get the throughput.JVM Heap[1399533015] process_service_check_result; 192.168.0.6; heap_status;0;ok:used heap p
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
five servers (web servers, database servers, email servers, and nfs file sharing servers) need to monitor the services of several servers, monitor the resource usage of each server at the same time, this includes four items: load, disk partition usage, total number of processes, and number of current ip connections (you can also write a script to monitor more resource objects ). In addition to system administrators, these servers also have other users (such as programmers) who maintain their re
Nagios is a mature Linux monitoring system running state and network information Kaiyuan IT Infrastructure monitoring system, Nagios can monitor the designated local or remote host and services, such as HTTP services, FTP services, and provide exception notification, event h
As a system administrator, I am most worried about stopping or stopping network services for important online systems without my knowledge, in addition, it may take a long time for the faulty service or host to know. Especially during holidays, the system administrator is very nervous. To change this passive situation, I recommend the network monitoring software Nagios. I personally think its biggest advant
As a system administrator, I am most concerned about the importance of online systems that do not shut down or stop network services without my knowledge, and that the services or hosts that fail may sometimes take a long time to know. Especially when it comes to holidays, system administrators are nervous. To change this passive situation, I recommend the network monitoring software Nagios, personally thin
Nagios system MonitoringNagios is a free, open source IT infrastructure monitoring system that is powerful, flexible, and capable of monitoring Windows, Linux, VMware and Unix host status, switches, routers and other network settings. Once the host or service status is abnormal, a message or SMS alert will be sent to the IT operator for the first time to send a n
templates.cfg文件中进行定义 alias Nagios Admin email [emailprotected] }define contactgroup{ contactgroup_name ts #联系人组的名称,同样不能空格 alias Technical Support #联系人组描述 members jack #联系人组成员,其中“jack”就是上面定义的联系人,如果有多个联系人则以逗号相隔 }9.cgi.cfg fileThis file is used to control the associated CGI script, because the
year.Nagios is also used by many well-known companies, including Aol,dhl,att, L ' oreal, Texas Instruments, Siemens COM CZ, Time Warner Cable, Yahoo, etc.The main features of the 2.Nagios are:-Monitor network services (SMTP, POP3, HTTP, NNTP, ping, etc.)-Monitor host resources (processes, disks, etc.)-Simple plug-in design to easily expand Nagios's monitoring capabilities-concurrent processing of monitors
file of the nagios monitoring periodWindows. cfg // the configuration file for monitoring windows hosts. It is not enabled by default.Monitor local machine:Add local monitoring to/usr/local/nagios/etc/nagios. cfg, which has been
username (Nagiosadmin) And password, which you just set, use the browser installed by default in the system, and use the hyperlink below
Http: // localhost/nagios/Note: if the error "You don't have permission to access/nagios/on this server" is reported, You need to installPhpThe plug-in can solve the problem by running the command yum install php-y (yum must ensure that your linux system can be connected
program resides
etc
Nagios Configuration file Directory
Sbin
directory where the Nagios CGI files reside, which is the directory where the files needed to execute the external command
Share
Nagios the directory where the Web page files are located
Libexec
Nagios
The master-slave synchronization of Mysql and the LAMP environment were set up before the experiment, and then the nagios server was set up, and then configured on the slave side.
1. Add a user to the master database serverMysql> grant Replication client on *. * to 'nagios '@' % 'identified by 'nagios ';Mysql> flush privileges;
2.
install
4. The server installs nrpe and communicates with the client.
Tar-xzf nrpe-2.14.tar.gz
Cd nrpe-2.14
./Configure -- enable-ssl -- with-ssl-lib
Make all
Make install-plugin make install-daemon-config
Chown-R nagios. nagios/usr/local/nagios
5. nagios access control settings
Htpasswd-c/usr/local/
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.