Nagios®Core™It is an open-source system and network monitoring application that can monitor your specified host and service. When a problem occurs, you are reminded to help you improve the system. Nagios Core initially runs in Linux, but it runs in most other Unix.
Nagios Core features include:
Monitoring Network Services (SMTP, POP3, HTTP, NNTP, PING, etc)Monito
Server monitoring-Nagios Installation
I. Preparations before installation
Nagios server: 192.168.1.10
Nagios client: 192.168.1.11
In this article, Nagios only uses the Nagios email alar
A company's project website was launched for a few days because the disk was full and there was a problem. Because its servers were concentrated in a certain IDC, we considered deploying a Nagios monitoring and alarm system, since other project websites may have similar requirements, the installation process should be compiled into scripts to facilitate future work. The automatic installation script of the Nagios
that can be referenced in other configuration files
Objects/timeperiods.cfg
Define the configuration file for the Nagios monitoring time period
Objects/windows.cfg
Monitor a profile template for a Windows host that is not enabled by default
Assuming that we have Nagios installed on a server with IP 192.168.195.136 a
It's going to be a little nagios, you know how to use it. # Add Nagios to 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=0state_warning=1state_critical=2state_unknown=3if [$dbversion = one]Then ins_log_pwd= $bdumpElseins_log_pwd= $ORACLE _base/admin/$SERVICE
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
A company's project website was launched for a few days because the disk was full and there was a problem. Because its servers were concentrated in a certain IDC, we considered deploying a Nagios monitoring and alarm system, since other project websites may have similar requirements, the installation process should be compiled into scripts to facilitate future work. The automatic Nagios
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 a standard part of the Nagios plug-in so
: /nagios-plugins-1.4.16#./configure--prefix=/usr/local/nagios--with-nagios-user=nagios--with-nagios-group=nagios# Make make installcompiling and installing Nrpe# CD: /nrpe-2.13#./configure--prefix=/usr/local/
Nagios Log Format timestamp scriptlogformat.sh#!/bin/bash# format conversion of Nagios log time Name=$1perl-i-pe ' ($t) = ($_ =~ m/^\[(\d+) \]/);$nice =scalar localtime $t; s/^\[(\d+) \]/[$nice]/' ${name}You can execute bash logformat.sh plus your log file nameFormat before
The CENTOS7 system used here, nagios-4.2.1.tar.gz,nagios-plugins-2.1.2.tar.gz,nrpe-3.2.1.tar.gzDownload the installation packageNagios Server-side installation package under the Guan Networkor Baidu Network diskhttps://pan.baidu.com/s/1sALFDRt3n24LRheqA6Hp4gt72qSuggest to the official websiteInstalling the Ali Yum SourceWget-o/etc/yum.repos.d/centos-base.repo Htt
nagios node of the monitoring center, and displays the monitoring result through the web interface.
Features of nagios include:
Monitors network services such as SMTP, POP3, HTTP, NNTP, and PING)
Monitors host resource processor loads, disk space, and so on)
Allow users to develop their own plug-ins to check custom projects;
By using the "parent host", you can define the layer of the network host to allow
Nagios is a monitoring software that helps users quickly understand problems on the host and the Internet and can be configured to be used on any network. Installing the Nagios server on any Linux operating system is a very fast process, but it takes some effort to install it securely. This article will focus on how to improve Nagios's security, rather than expla
One: Prepare before installationNagios server:192.168.1.10Nagios client:192.168.1.11This post installs Nagios only using the Nagios mail alarm feature, if you need to paint another installation of cacti, or other pluginsSecond: Installation ServicesTo operate on the Nagios server:Installing apache+phpYum install httpd
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
1. I have mentioned some nagios Server Installation and simple configuration. Now let's talk about the server's monitoring of multiple servers and the installation configuration of the monitored server.
2. configuration of nagios Server
(1). After the default installation,
Using the nagios plug-in to log on to the vro for ping monitoring
Router_check_apn_ping.c
#include
Script auto_ssh_route01_gglc_80_49.sh called
#!/usr/bin/expect -f#set port 22set user xxxoooset host 114.66.80.49set password xxxooo@2014set timeout 30spawn ssh $user@$hostexpect "*assword:*"send "$password\r"expect "*IRT*"send "ping -c 5 -m 1000 10.7.0.186\r"expect "*IRT*"send "quit"#expect eof
How to Use the Nagios remote execution plug-in (NRPE) to detect server memory usage
In the previous tutorial (), we have seen how to set the Nagios remote execution plug-in (NRPE) in Nagios settings ). However, the scripts and plug-ins that monitor memory usage are not in native Na
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.