1. Be sure to find the application side to confirm each node needs to monitor the process, do not blindly think all the Hadoop cluster of ZK, journal what are the same, remember!2. The monitored node only needs to install Nagios-plugin and Nrpe, depending on the need to install xinetd3. Verify that Nagios is not installed on the monitored node4. Identify trust between monitored nodes, monitored nodes, and
allow desktop and server interaction. Then click "application ".
Nsclient ++/start
Nsclient ++/stop
Edit nsclient ++/nsc. ini:
1. The comments in front of all modules in [modules] are removed except CheckWMI. dll and RemoteConfiguration. dll.
2. In the [Settings] section, set the 'Password' option to set the password, which is required when nagios is connected. We do not need a password here!
3. Remove the comment of the 'allowed _ hosts' option in t
, the dba can handle the maintenance immediately.
1. Download The redis monitoring plug-in
Redis has been installed on the server, so it can be directly monitored. For details about how to install redis clusters, refer.
2. Grant the execution permission
Copy check_redis.php and check_redis.pl to the/usr/lib/nagios/plugins/directory, and grant the execution permission,
[Root @ wgq_41 plugins] # cd/usr/lib/nagios
How to configure Nagios Remote Plugin Executor (NRPE) in Linux (1)
Nagios is one of the most powerful tools for network management. Nagios can monitor the accessibility of remote hosts and the status of running services. But what if we want to monitor anything other than the network service in the remote host? For example, we may want to monitor the disk utiliza
I. Experimental environment
OS
CentOS 6.8 x86_64
Nagios Main Program
Nagios-4.1.1.tar.gz
Nagios Plugin
Nagios-plugins-2.1.1.tar.gz
Two. Configure domestic sources#备份系统自带的yum源并更新缓存mv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-bas
Nagios is an open-source monitoring software that monitors linux,unix,windows as well as network devices and printers.Nagios monitors different objects through a variety of plugins, or manages Nagios based on a web interface.Nagios installation directory: Nagios/bin holds Nagios's main running program, Nagios/sbin a CG
Environment: A 2.6.32-431.el6.x86_64Installation Preparation:To modify a Yum Source:Wget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-6.repoTo adjust the character set:echo "Export Lc_all=c" >>/etc/profileSource/etc/profileClose iptables:/etc/init.d/iptables stopChkconfig iptables offTurn off SELinuxSed-i ' s/selinux=enforcing/selinux=disabled/g '/etc/selinux/configSetenforce 0-selinux run in Warning (permissive) modeSet time synchronization:Echo ' */5 * * * * */usr/s
Nagios is a monitoring system on the Linux/Unix platform. It is very powerful in monitoring and operability and has helped many O M and System Administrators! Let's take a lookNagios InstallationHow to proceed!
Figure-Nagios
1. Install Nagios
Nagios can run in various versions of linux and mainstream unix environmen
The Nagios configuration sets the Apache2 server so that after installing nagiosNagios when apache2 is started, we need to check the monitoring information of nagios from the browser. Otherwise, if you want to directly view the nagios log file, people will go crazy. Then, how can we see the nagios information from the
Nagios is also a monitoring software that is more lightweight than Zabbix and has a relatively small number of servers, but mastering Nagios is one of the basic skills of operations personnel.Nagios is in need of Apache and PHP support, the process of installing Apache in: http://chenx1242.blog.51cto.com/10430133/1762702.Nagiosdの InstallationFor the duration of this article, the stable version of
Nagios thinks its good stateful detection mechanism enables Nagios to monitor different plug-ins on different platforms, and it also supports the use of SNMP protocol (Simple Network Management Protocol) to monitor various platforms and devices. So Nagios can also use the SNMP protocol to monitor the printers in the LAN, and the
Client1, first install the NET-SNMP package and RRDtool#yum-y Install net-snmp*2. Modify the snmpd.conf fileLine 41st modified to com2sec notconfiguser localhost publicLine 62nd is modified to: Access Notconfiggroup "" Any noauth exact mib2 none None89th line view Mib2 included. Iso.org.dod.internet.mgmt.mib-2 FC Front comments removed3. Start SNMPD Service#service snmpd Restart4. Upload plugins and authorize1) Upload check_traffic.sh to/usr/local/nagios
Nagios Monitor NginxOpen Firewall 161 port252.10760.195.252.110Iptables-i input-p udp-s 60.195.252.107–dport 161-j ACCEPTIptables-i input-p udp-s 60.195.252.110–dport 161-j ACCEPT2012-03-21 23:07:38| Category: monitoring | reporting | font size subscription1. Perform operation on the controlled side: put the Check_nginx plugin into the/usr/local/nagios/libexec, and authorize the host and the group to be
Ready: Nagios and existing monitoring services are installed.Required Packages: rrd-tool-1.4.5.tar.gzPnp-0.4.13.tar.gzThis time, it's all on the service side .: Http://pan.baidu.com/s/1i3h3Jk51. Installing PnP1) Install RRDtool first[Email protected] ~]# tar zxvf rrdtool-1.4.5.tar.gz[Email protected] ~]# CD rrdtool-1.4.5[Email protected] rrdtool-1.4.5]#/configure--prefix=/usr/local/rrdtool[[email protected] rrdtool-1.4.5]# make make install2) re-inst
1, monitoring plug-in downloadMongodb plug-ins are: git://github.com/mzupan/nagios-plugin-mongodb.git, just started I did not install the gitpub Environment here, Find the user grassroots help download. Then uploaded to the csdn Resources page, the new is:http://download.csdn.net/detail/mchdba/80190772, add a newMongoDBMonitoring CommandsBecause the MongoDB service is a physical machine that is shared with MySQL from the library. Prior to doing the b
Nagios plug-in Pnp4nagios installationNote: Nagios version nagios4.0.81. Download and install pnp4nagios-0.6.25.tar.gzwget http://sourceforge.net/projects/pnp4nagios/files/PNP-0.6/pnp4nagios-0.6.25.tar.gzyum-y Install RRDtool Perl-time-hires perl-file-tail rrdtool rrdtool-perl php-gdtar zxvf? PNP4NAGIOS-0.6.25.TAR.GZCD pnp4nagios-0.6.25#perl-mrrds-le ' Print Q (ok!) 'If the return value is ok!, it can be Pn
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.