/init.d/nrpe restartService side5. Check if the script is running correctly[email protected] ~]#/usr/lib64/nagios/plugins/check_nrpe-h 192.168.219.128-c check_disk/OK 26% 13g/dev/shm ok 0% 242m/boot OK 8% 426MExplanatory notes:If normal, it will output a row of disk detection data, or may be error.# # # # #错误 #####[Email protected] ~]#/usr/lib64/nagios/plugins/check_nrpe-h 192.168.153.129-c check_diskNrpe:u
From the initial Nagios to the now powerful Zabbix 3.0, I would say that no performance-based development and monitoring are all nonsense?First of all, I am aware of these two monitoring software:Zabbix, a lot of enterprises are in use, give a person's feeling is very dazzling, but I personally think that although it is powerful, can draw a cool image, but in you
1. About Nagiosis an open source software that can monitor network device network traffic, linux/windows host status, and even monitor the printerIt can run on Linux or on WindowsBrowser-based web interface makes it easy for operations personnel to view the status of monitoring itemsSupport Web interface configuration, management operationsSupport SMS, email notificationCustomizable scripting enables custom monitoringNagios official website http://www
NagiosServer SelfMonitoringThere are two methods for implementation, which can be simple!
Figure-Nagios
Self-monitoring implementation of Nagios Server
To monitor resources and services, you must configure the nagios server and the NRPE-nagios remote plugin
Executor)
not Runni Ng on this node "exit $CRITICALfideclare-I i=0declare-i a=0nodes= ' $CL _st listnodes ' for node in $NODESdo status= ' $CL _st Nodestatus $node ' let i= $I +1# if [$status = = "Active"] by default, the number of active states is detected, but the ping status is also normal, so the following conditions are changed. if [$status = = "Active"-o $status = = "Ping"] then let a= $A +1 fidoneif [$A-eq 0]then echo "Heartbeat CRITICAL: $A/$I "Exit $CRITICALelif [$A-ne $I]then echo" Heartbeat
NagiosThe extended Host and service monitoring content is as follows:
Nagios is a widely used host and service monitoring tool. Many system administrators use it to monitor the system. This document describes the basic Nagios Installation Guide for easy reading and operation. The Installation Guide describes how to in
Nagios's built-in Oracle monitoring check_oracle has fewer functions. You can use the check_oracle_health script written in perl.
1. Install check_oracle_health
Wget http://www.bkjia.com/system/systembak/2011/2/check_oracle_health-1.6.6.1.tar.gz
Wget http://www.bkjia.com/system/systembak/2011/2/check_oracle_health-1.6.3.tar.gz
Select any version (1.6.3 is used here)
Tar zxvf check_oracle_health-1.6.3.tar.gz
Cd check_oracle_health-1.6.3. /Configure --
cgi.cfg is used to verify the identity of the administrator.If the administrator user we generate is not nagiosadmin, the validation will fail, and the error that starts with the description will appear.so , we can now just change the user name in the config file to the actual administrator username, save it, and then restart Nagios! As I created the Administrator account for nagios_5201351 The solution is as follows:1, edit the /usr/local/
Client ip:192.168.1.11Service-Side ip:192.168.1.12Purpose: To check the existence of the Java process for EIP usersClient ConfigurationScript Name: check_pid.shThe script is as follows:#! /bin/bashSi= ' Ps-ef|grep java|grep eip|wc-l 'If [$si-eq 1];thenecho "Status OK"Exit 0Elseecho "The Pro is Down,plaese check!"Exit 1FiPlaced under the/home/monitor/nagios/libexec, that is, Nrpe plug-in storage place, Chown-r monitor:monitor check_pid.shchmod +x check
Nagios monitoring iostatThe specific steps are as follows!
NetSeek wrote an article is to use nagios monitoring iostat, But he uses the source code package compilation, specific can refer to his article http://bbs.linuxtone.org/thread-2289-1-1.html
However, the compilation method may be inconvenient for multi-host depl
A Negios server was set up in the company today. After adding the monitored server, several monitored services are OK, but the host display is down.Environment Description:Nagios Server:Redhat 6.3 x64 Minimized installationTurn off SELinux and iptablesNagios-3.4.1.tar.gzNagios-plugins-2.0.3.tar.gzNrpe-2.15.tar.gzFollow the previous manual step-by-step procedure. Used to be OK, do not know why this error.650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/95/wKioL1RTol6Tub7CAAEbwHa1LdI6
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.