Discover nagios switch monitoring, include the articles, news, trends, analysis and practical advice about nagios switch monitoring on alibabacloud.com
1, Nrpe IntroductionNagios monitors remote hosts in a number of ways, including SNMP, NRPE, SSH, and NCSA. Here's how it monitors remote Linux hosts through Nrpe.NRPE (Nagios Remote Plugin Executor) is a daemon that runs the instrumentation command on the remote server, which allows the Nagios monitoring side to trigger the detection command on the remote host ba
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 is monitored in time
Preface:An error occurred w
Nagios + check_logifiles for log monitoring
During Log check, we usually use a lot of monitoring methods. To check logs, we need to use the nagios plug-in, such as the check_logfile provided by nagios, which has limited functions; we use check_logfiles produced by ConSol Lab
. Monitoring Center Server (192.168.11.30) add monitored host (192.168.11.100)The following actions are performed by the server:cd/etc/nagios/conf.d/Vim 192.168.11.100.cfg//join:definehost{use linux-server host_name192.168.11.100 alias 11.100address 192.168.11.100 }defineservice{ use generic-servicehost_name 192.168.11.100 service_descriptioncheck_ping check_commandcheck_ping!100.0,20%! 200.0,50%max_check_
First, the server-side installation:1 , build on the service side Lamp EnvironmentYum install-y httpd php2 , server-side installation Nagios Main programUseradd-s/sbin/nologing./configure--prefix=/usr/local/nagios--with-command-group=nagios./configure when Perl command not found is found to install Perl this package, or make all will be error yum install-y perlMa
, 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/
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
Deploying Nagios monitoring on the MySQL server
Deploying Nagios monitoring on the MySQL server
-- Ulimit-n 65535-- Monitor the forced installation of nagios Client1. Install[Root @ localhost nagios] # llTotal 768-Rw-r -- 1 root 7
Build a printer monitoring server using Nagios
Tutorial Background: The company has many HP printers, which are difficult to manage. So I thought about whether I could be a printer monitoring server to quickly respond to all the printer problems. After that, I checked the relevant information on the Internet and set up one, so there was no problem in using it. I
Install and configure Nagios monitoring in Linux
Nagios installation Configuration:Nagios http://www.nagios.orgEnvironment setup:CentOS6.6 192.168.11.30 serves as the server.Centos6.6 192.168.11.100 as the client
1. Install Nagios-server (192.168.11.30)Centos6's default yum source does not contain the
Nagios Structure Description
Nagios structure, can be divided into core and plug-in two parts. The core of Nagios only provides a little monitoring function, so to build a perfect IT monitoring management system, users also need to install the appropriate plug-ins in the
The monitoring side of the work has been done, now as long as the monitoring side of the operation;
Note: be monitored MySQL remember to set the password AH
The addition of service types is also 2:
1.web Server
2.mysql Server
The following is a script to add a Web service:
WebServices () {read-p "" Please input the Web server IP: "Webip read-p" please input the Web alias name: "
The Nagios server does not have a Check_nrpe plug-in by default and needs to compile and install Nrpe.Nrpe provides the CHECK_NRP and Nrpe binaries and the configuration files required to start the process.For the Nagios server, it only needs to Check_nrpe plug-in to send monitoring instructions, while the monitored side needs to be monitored by the Nrpe process
Nagios itself does not provide the corresponding monitoring, it is to implement monitoring is dependent on the SNMP protocol or the relevant plug-in to complete the corresponding monitoring, and usually in order to deploy quickly and easily, on the Linux host generally more Nrpe extension, And on the Windows host on th
(worktime). Then, if the defined monitoring is not in the defined alarm time period, Nagios will not send an alert notification message, no matter what happens.Notification_options: Defines the circumstances under which the monitored host (object) sends an alert notification message, the optional status is as follows:(1) w:warning, warning(2) U:unknown, unknown(3) C:critical, Danger (reached critical value
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 [[email protected]~]#useraddnagios-s/sbin/nologin
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 Detection#rpm-Q xinetd openssl-devel#yum Install xi
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.