command to the server side:check_nrpe-h 192.168.0.12-c check_disk (on server)if normal, it will output a row of disk detection data, or may be error. 5. Add the appropriate service to the servercd/etc/nagios/conf.d/Vim 192.168.0.12.cfg # Add the following:define service{Use generic-servicehost_name 192.168.0.12service_description Check_diskCheck_command Check_nrpe!check_diskmax_check_attempts 5Normal_check_interval 1}6. Restart the
, all of the above can be solved. The implementation principle, which has been published before, is of course based on Nagios. Bottlenecks, that is also the bottleneck of Nagios, performance temporarily not outstanding, ease of use, but also can, not too much trouble, technology, can not break through the bottom of CGI and Nagios. It's just a layer of skin, but w
18 Common commands for monitoring network bandwidth on a Linux serverThis article describes some of the Linux command-line tools that you can use to monitor network usage. These tools can monitor data transmitted over a network interface and measure the speed at which data is being transmitted. The inbound traffic is displayed separately from the outbound traffic.
These tools use different mechanisms to produce traffic reports. Some too
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
As a prerequisite, the monitoring server is the UBUNTU14 operating system. The monitored server is RHEL6.5 RHEL71. Custom plugins can be implemented using scripts such as bash, Python, and so on.2, through the Nrpe plug-in to achieve monitoring server and monitored host communication between3, must pay attention to the monitoring script belongs to the user, user
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
I. Monitoring requirements:
Remote monitoring of custom TCP ports on Windows Servers
1. Linux machines are relatively simple. Use the check_tcp plug-in (the steps are omitted)
2. Windows machine, using the check_nt plug-in, check_nt for detailed usage see http://nagiosplugins.org/man/check_nt
A. First install nsclient ++
B. Edit
/Usr/local/Nagios/etc/objects/comm
There is a script available on Nagios's official website to monitor the status of Iptables, but the official script is not directly available and needs to be modified in order to be used, as is the case here, because Nagios's command mechanism is run with Nagios users, Therefore, the official web-based script is not available before the adjustment is not normal use, the official website provides the Iptables monit
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 oracle alert Log script, nagiosalertClick Nagios to know how to use it # Add nagios to the oinstall group # usermod-a-G oinstall nagios#! /Bin/shDbversion = 11Bdump =/u01/app/oracle/oradata/PROD/dump/diag/rdbms/prod/PROD/trace/alert_PROD.logSTATE_ OK = 0STA
$HOSTADDRESS$ -p $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -f}
Add to host monitoring
define service{ use local-service ; Name of service template to use host_name c1gredis service_description redischeck_commandcheck_redis!6379!'connected_clients,blocked_clients'!~,~!~,~notifications_enabled0 }
Reload the configuration.
/Etc/init. d/
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
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 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/
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
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.