I. Custom Nagios monitoring scripts1. Create a script on the client/usr/local/nagios/libexec/check_disk.shVim/usr/local/nagios/libexec/check_disk.sh writes the following: (On the client)#!/bin/bashrow= ' df-h |wc-l ' #输出的总行数For i in ' seq 2 $row ' #从第二行开始为真实的磁盘 because the first behavior header informationDoAva= ' df-h
Check if the package is installed because Nagios needs to rely on these packages to provide services [[emailprotected]nagios]#rpm-qgccglibc Glibc-commongdgd-develxinetdopenssl-devel[[emailprotected]nagios] #yum install-ygdgd-develxinetdopenssl-devel Build Nagios Account [[em
1, Nagios features: Monitor the status of the server, powerful alarm function, the drawing function is weak need to use other plug-ins to implement or integrate other monitoring software.2. Five states of Nagios: OK warnning CRITICAL UNKNOWN PENDINGOK: normalWarnning: Warning (typically over threshold)CRITICAL: Critic
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
Nrpe is based on the correct installation of Nagios-plugins, nagios-plugins installation details, please go to:[Nagios monitoring Nagios-plugins installation]http://4709096.blog.51cto.com/4699096/17022241. Dependency packet Detect
1; "| awk '{print $1 }''# If there is no RUNNING transaction, the value is 0 to avoid the following if judgment errorsIf [! -N "$ max_over_time"]; then max_over_time = 0Fi# Obtain the number of currently blocked transactionsNum_trx = '/usr/local/mysql/bin/mysql -- user = nagios -- password = "nagiosq @ xxx"-NS/usr/local/mysql. sock-e "select count (1) FROM infor
Recently there are many students on nagios and cacti integration is very tangled, close-up this article for your reference, to solve everyone in nagios and cacti integration process encountered problems.One, cacti installation deploymentAs a Linux SA, the most important thing in daily life is to ensure the normal and s
Nagios Add a custom monitoring project++++++++++++++++++++++++++++++++++++++++++++++++++++++++++System Environment: CentOS Linux release 7.2.1511 (Core)Nagios Version: 2.15Here with the Pt-dead-logger plug-in, run the plug-in, there will be a deadlock in the Test.deadlocks table to write the deadlock informationThis is
Nagios Monitoring Internal error nrpe:unable to read output resolution! Due to writing Check_mem monitoring script, alarm in monitor: nrpe:unable to read output, other monitoring items are normal650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/30/ED/wKiom1Opl1mgBn09AABEsqqPBFg504.jpg "title=" 03n1 ' Z _}vly3z
Nrpe is based on the correct installation of Nagios-plugins, nagios-plugins installation details, please go to:[Nagios monitoring Nagios-plugins installation]http://4709096.blog.51cto.com/4699096/1702224Note: Only
An exception occurred while submitting the business alarm order, and the page was not responded. After troubleshooting, the transaction was not committed or rolled back. If the operation status of the transaction is monitored in time
An exception occurred while submitting the business alarm order, and the page was not responded. After troubleshooting, the transaction was not committed or rolled back. If the operation status of the transaction
!***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats
Background: The unit selects Dell and HP two types of servers in the IDC room. For information on monitoring server hardware, especially RAID, Dell can monitor it using its own OMSA program process. However, HP does not have this aspect of monitoring, the disk in the server is the most prone to problems, the personal study of multi-day discovery can use the follo
default user is Nagios, so just specify the group)./configure--prefix=/usr/local/nagios--with-command-group=nagcmd# unzip the package and pre-compile the configuration (the default user is Nagios, so just specify the group) makeall #编译
. Add the command to the client and restart the Nrpe service to make it effective[[email protected] libexec~] #vim/usr/local/nagios/etc/nrpe.cfgAdd check_passwd Definition Commandcommand[check_passwd]=/usr/local/nagios/libexec/check_passwd[[email protected] libexec~] #pkill Nrpe#重新启动nrpe[Email protected] libexec~]#/usr/local/nagios/bin/nrpe-c/usr/local/
Previously wrote an article about the use of Nagios in the building of http://msiyuetian.blog.51cto.com/8637744/1704346The following article focuses on the scripting implementation of Nagios custom monitoring system disks.Nagios can identify 4 status return messages, 0 indicates a healthy state (OK), 1 indicates a warning (WARNING), 2 indicates a very serious err
Experimental background: The company has many HP HP printers, management is more troublesome. So you can be a printer monitoring server, able to quickly respond to all the problems of the printer. After the internet to check the relevant information to build a, use and no problem, so I took out to share with you.Experimental knowledge: The CHECK_HPJD plugin (which is
Nagios monitoring heartbeat, nagiosheartbeat
After heartbeat is set up, we need to monitor it. Next we will learn how to monitor it.
First, let's take a look at the following commands. These commands will be automatically added after heartbeat is installed. Our monitoring sc
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.