1.nagios to add a monitoring service that monitors the number of scan engines on the client, the engine runs on the KVM virtual machine, as follows:[Email protected] libexec]# Virsh listId Name State----------------------------------avpscan_000 RunningAVPSCAN_001 RunningAVPSCAN_002 RunningAvpscan_003 RunningAvpscan_004 RunningAvpscan_005 RunningPanax Notoginseng avpscan_006 RunningAvpscan_007 RunningAvpscan
Sharing how to monitor Linux servers, let's take a look at how Nagios monitors Windows servers.Part I: Configuring Windows servers to be monitoredFirst, visit http://sourceforge.net/projects/nscplus/and download the nsclinent++ that matches your server. After I download it, the file name is: Nscp-0.4.1.73-win32.msiDouble-click the installer, select Complete Install, and choose Build instance profile, and the others will be ok the next step.Second, in
Figure-Nagios
The configuration of the Nagios monitoring server is as follows:
1. Install nrpe
[Root @ UnixHot src] # tar zxvf nrpe-2.12.tar.gz
[Root @ UnixHot nrpe-2.12] #./configure make all
[Root @ UnixHot nrpe-2.12] # make install-plugin
[Root @ UnixHot nrpe-2.12] # make install-daemon
[Root @ UnixHot nrpe-2.12] # make install-daemon-config
[Root @ UnixHot n
In the event of a wonderful problem, Nagios monitors the CPU service entry under Windows with the following warning message: (But the other service item status OK, and this warning message will automatically restore the OK state after a period of time and will become as in the warning information status warning)650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/47/1E/wKioL1P26aaBsBkPAAFxRhd8r2w723.jpg "title=" 1.jpg " alt= "Wkiol1p26aabsbkpaaf
Migrating Nagios monitoring Encounters this problem: the Nagios monitoring host displays down and the monitored services are normal.Query a lot of information is that the server disables all pings caused;View the firewall configuration under the new server, Port 5666 is OK, the Mon
Nagios monitoring MySQL master-slave replication by Tian Yi (sery@163.com
)
Cause: Nagios may monitor the running status of the MySQL service, but it cannot monitor whether the master-slave replication of MySQL is normal: Sometimes the synchronization has stopped, but the Administrator does not know.
Start: log on to the MySQL slave server and run mysql> show sla
Real-time monitoring of iptables, to prevent human shutdown, forget to open, or monitoring rules whether there are additions and deletions.On the client side (monitored):# CD/USR/LOCAL/NAGIOS/ETC# VIM Nrpe.cfg adds the following:command[check_iptables]=/usr/local/nagios/libexec/check_iptables.sh# cd/usr/local/
Recently, because the server is constantly adding new business, the server needs to adjust the maximum number of connections, so the use of Nagios to monitor the corresponding number of connections, the script is also using Nagios to send the corresponding state to implement monitoring, implementation is also very simple#/bin/bash#used to monitor the number of so
Nagios as a powerful cross-platform monitoring software, its professionalism has been the vast majority of system operators unanimously recognized, friendly web interface and a large number of extension plug-ins also add to it a lot, but its configuration is slightly complex, it is necessary to record:Online has predecessors have collated a super detailed configuration process, in this:Installation and conf
There are 2 main types of surveillance this time:
1.web Server
2.mysql Server
So first of all to ensure that Nginx/apache or MySQL service startup;
The following is the function Installmysql () script for the MySQL Monitor-side deployment:
Installmysql () {Yum Install xinetd-y service xinetd start CD $path useradd-s/sbin/nologin TAR-ZXVF nagios-plugins-1.4.14.tar.gz cd nagios-plugins-1.4.14./configure
/Run/user/1000/gvfs is not accessible Nagios monitoring problem, gvfsnagios
Install nagios3.5.1 in Ubuntu14.04 and use the local machine as the server. After/etc/init. d/nagios3 start, a red warning is displayed on the web interface, as shown below:
Disk critial-/run/user/1000/gvfs is not accessible: Permission denied
Then I went to a naigos FAQ and found it. The official website said this was a bug, for bu
Install nagios3.5.1 under Ubuntu14.04, and this machine as server side,/etc/init.d/nagios3 start, after the Web interface suddenly see a red warning, shown as followsDISK critial-/run/user/1000/gvfs is not accessible:permission deniedThen went to a Naigos FAQ on the next, unexpectedly official said this is a bug, for bug#615848. The problem is that the fuse file system and permissions do not work, here is a quick fix.Because the default is self-test, this machine is checked. The official given m
1. Download the Monitoring pluginwget http://nagios-snmp.cvs.sourceforge.net/nagios-snmp/plugins/check_snmp_int.pl2. First look at all the ports that the switch is currently openingFor i in ' seq 1 ';d o/usr/local/nagios/libexec/check_snmp_int.pl-h 192.168.0.254 -C PU Blic -N "^gigabitethernet1/0/$i $";d One3. Add
Nagios's powerful monitoring functions and open-source features based on GPLv2 give it superior cost effectiveness in the monitoring field, which is well received by many O M engineers. The "nagios + pnp4nagios + nconf + ndoutils" mentioned by the author today is integrated and deployed with multiple open-source software at the core of
A script for monitoring the Elasticsearch index was found in the Nagios community, and then modified to use the listening IP that is normally used for incoming elasticsearch for using a script that monitors the Elasticsearch health state in Nagios#!/bin/bash#check_elasticsearch_health.sh#memofornagiosoutputsstate_ok=0state_warning=1state _critical=2state_unknown=
Ndoutuils is based on the correct installation of Nagios, please go to the previous article for Nagios installation.1. Dependency packet Detection#rpm-Q libxml2-devel pango-devel cairo-devel#yum Install Libxml2-devel pango-devel cairo-devel2. Compiling the installation#tar ZXVF rrdtool-1.4.8.tar.gz#cd rrdtool-1.4.8#./configure--prefix=/usr/local/rrdtool#make#make Install3. Verify that the installation is su
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.