Nagios file directory:The bin directory is used to store Nagios's execution programs, including Nagios, Nrpe, and so on.The ETC directory is used to store Nagios configuration files.The Libexec directory is used to store Nagios's monitoring plug-ins.The Sbin directory is used to hold the Nagios CGI file, which is the d
Nagios is one of the most influential network information monitoring systems in the enterprise, and it can dynamically monitor the specified network status, and issue warning tones or email alerts to operators when the status is abnormal. The type of monitoring and alarm timers are fully customizable.Another powerful feature of Nagios is its ability to monitor both hosts and services. For example, it can si
Nagios NRPE monitoringThe procedure for a remote host is as follows.
Install nrpe on the invigilator
Wget http://nchc.dl.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz
Tar zxvf nrpe-2.12.tar.gz
Cd nrpe-2.12
./Configure -- prefix =/usr/local/nagios
Make all
Make install-plugin
# Install the supervisor in this step
Add a user to the monitored Machine
Groupadd
NagiosYou can use snmp, nrpe, and nsclient to obtain information. More importantly, you can use the latter and use its powerful plug-in module. Cacti Uses snmp and does not need to install an agent. It is generally used to monitor network traffic. Nagios is generally used to monitor processes and services.
Nagios installation environment:
Host
Operating System
IP
Remarks
Implementation of nagios grouping and plotting code [1]
I. background
In view of the Service grouping and Image Presentation functions of zabbix and cacti, the company's leaders aim to maximize business stability and propose the "real-time display of monitoring systems by service grouping" function to the O M department, the O M Department belongs to the technical support department of the company and can only be Yes to meet reasonable requirements.
This is just a function of the monitoring side of the overall script installserver ()
The specific script is as follows:
#!/bin/bash #this is Nagios server or client install Shell #at 2012/10/29 path= ' pwd ' Httppath=/usr/lo Cal/apache2 mysqlpath=/usr/local/mysql Nagiospath=/usr/local/nagios installserver () {Yum install-y
xinetd useradd-m Nagios groupad
Cacti and nagios are the necessary monitoring software for SMEs, first of all to review the advantages and disadvantages of cacti monitoring: mainly monitoring graphics traffic, through the web interface to monitor traffic, (mainly monitoring CPU memory hard disk, traffic) based on SNMP (fetch data) and RRDtool ( RRDtool is mainly the capture of data to draw images) Nagios monitoring system services, but al
Comparison between Linux commands and Solaris commands-Linux general technology-Linux technology and application information. For more information, see the following. 1) view open ports
Linux: netstat-atn
Solaris: netstat-P tcp-f inet-
2) view NIC/network status
Linux: ifconfig
Solaris: ifconfig-a or dladm show-dev
NOTE 1: In Linux, each Nic is named after eth0
A pdf reference of all solaris commands is provided, which is also a description of all man's content.Download please CLICK: http://dlc.sun.com/pdf/816-0211/816-0211.pdf
Under Solaris, a disk contains eight partitions marked as 0-7. You can see this information through the format command and select a hard disk,For example, in my own system (Solaris 9, Ultra 60),
Installation method Please refer to Linux learning Note: Nagios installationClientSince my installation is using xinetd This daemon, I need to adjust the relevant configuration file[[emailprotected]~]#vi/etc/xinetd.d/nrpeservicenrpe{ flags= Ipv4socket_type=stream port =5666wait =nouser =nagios group=nagios server =/usr/local/
1. Introduction to nagios plug-ins 1. nagios is an open-source network monitoring software that can be used to monitor host, service, and other objects. nagios can change the image status according to the monitoring changes, for the notification administrator, of course, you can select the alarm method (E-mai, SMS (that is, SMS Service) 2nagios usually has a main
I usedNagiosFor more than a year, he is competent in daily monitoring work. It is necessary to install a Nagios system. Let's take a look at the specific process of Nagios installation!
Figure-Nagios
Modify yum to upgrade the server[Root @ localhost ~] # Cd/etc/yum. repos. d [root @ localhost yum. repos. d] # cp CentOS-Base.repo CentOS-Base.repo.bak [root @ loc
The advantages and disadvantages of Linux and Solaris have been discussed many times. This article also covers some of the advantages and disadvantages of Solaris and Linux, including the latest development trends, such as OpenSolaris. When I went back to Solaris and paid to purchase special copyrights, the discussion on Linux and
I. High cluster wait time problems in RAC1. Set the LMS process to FX 60. Do not adjust the number of lms processes too much.Note: process priority can be set after Solaris 10 Update 10 and Solaris 11. You can view the/etc/release Version. For example, Oracle Solaris 10 1/13 indicates Solaris 10 Update 11. For details,
A while ago, I was working on a program module. Its basic function was to read a file in a specified format, and then organize the file's descriptive content into a data structure in the memory. In this development task, we only need to generate memory data, and how to process the data is done by other groups. Therefore, the data structure is also defined by the other party. After a series of design, development, and testing, we successfully completed the development of modules on Windows and in
NagiosThe device and setup of the remote monitoring software are as follows:
Figure-Nagios
As a system administrator, I'm most depressed when my main online systems stop or stop collecting services without my knowledge, in addition, it may take a long time for the faulty services or hosts to know. Especially when it comes to the festival, the system administrator is very important. To change this passive situation, here I promise to collect monitori
Nagios + Nconf deploy Nagioscroe source code to install and install the basic environment. Package: ForRHEL/CentOSusers: yuminstall-ywgethttpdphpgccglibcglibc-commongdgd-develmakenet-snmpopenssl-devel. use Nagios + Nconf to deploy the Nagios croe source code to install and install the basic environment. software package: For RHEL/CentOS users: yum install-y wget
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.