next step.
A step that requires configurationAllowed hosts (this is the IP of the Nagios (or other) server)Here to fill in the Nagios monitor server IPnsclient PasswordPassword can be null, if the place set a password, the monitoring side need to add-s parameter plus password authenticationCheck the previous four items
Modules Block I do not have WMI check ena
Mud: Learning Nagios (2): Nagios configuration, mud nagios
This document consistsXiuyi Lin FengProviding friendship sponsorship, first launchedThe world
After nagios is installed, configure nagios now. For more information about nagios
Install and configure Nagios in Linux
1. Nagios Overview
1. Introduction
Nagios is a plug-in structure, and it does not have any monitoring function. All monitoring is performed through the plug-in, so it is highly modular and flexible. Nagios monitoring objects can be divided into two types: Host and service. A host u
Apache didn't open the CGI script. Go to Apache's main configuration file httpd.confVim/usr/local/apache/conf/httpd.confLoadModule Cgid_module modules/mod_cgid.soLoadModule Actions_module modules/mod_actions.so Remove the top 2 lines, restart Apache, OK Visit again, garbled disappear OK. (ii) configuration Nagios 1.nagios
Make all
Make install
Make Install-init
Make Install-commandmode
Make Install-config
Make install-webconf
Cd.. /
2), Installation Nagios-plugins
SCP root@172.26.159.180:/root/xzy/nagios-plugins-1.4.16.tar.gz/usr/local/src/nagios-plugins-1.4.16.tar.gz
Tar zxf nagios-plugins-1.4.16.tar.gz
CD
The company needs to build a monitoring platform in the near future, the main purpose is to realize the Server service or load abnormal timely alarm function, after the choice finally decided to use Nagios implementationInstall Nagios Core
The code is as follows
Copy Code
Yum-y install gcc glibc glibc-common gd gd-devel php openssl-devel httpdUseradd-m
statusmap and trends modules in Nagios)
# Yum-y install libgd2-noxpm libgd2-noxpm-devel
B. Install Nagios monitoring
1. Create Nagios users and groups
Create a Nagios account
#/Usr/sbin/useradd-m-s/sbin/nologin nagios
2. Create a
modules in Nagios)
yum install gd-devel
B. Install Nagios monitoring1. Create Nagios users and groupsCreate a Nagios account
/usr/sbin/useradd -m -s /sbin/nologin nagios
2. Create a user group named nagcmd to execute External com
Rotten mud: nagios Learning (4): pnp4nagios graphical drawing of nagios data, pnp4nagiosnagios
This document consistsXiuyi Lin FengProviding friendship sponsorship, first launchedThe world
After nagios is installed, we also add some monitoring objects, but you will find that nagios is just a simple method to list thos
-- With-mysql: no
-- With-openssl: yes
-- With-gnutls: no
-- With-perl:/usr/bin/perl
-- Enable-perl-modules: no
-- With-cgiurl:/nagios/cgi-bin
-- With-trusted-path:/bin:/sbin:/usr/bin:/usr/sbin
-------------------------------------------------------
7. Compile the Nagios-plugins plug-in program
# Make
8. Install the Nagios
/[Email protected] objects]# vim contacts.cfgModify Line 35:email [email protected][[email protected] objects]#/etc/init.d/postfix start[Email protected] objects]# lsof-i:25[Email protected] objects]# chkconfig postfix on[Email protected] objects]# chkconfig--list postfixEnter Http://IP/nagios on the browser and enter tony,hwg123Go to Web browser interface configurationTo install the Nagios-server server-si
. After the pre-configuration is complete, information is fed back and makefile is generated.-------------------------------------------------------Config. Status: Creating po/makefile-- With-Apt-get-command:-- With-ping6-command:/bin/ping6-n-u-w % d-C % d % s-- With-ping-command:/bin/ping-n-u-w % d-C % d % sWith-ipv6: Yes-- With-MYSQL: No-- With-OpenSSL: Yes-- With-gnutls: No-- With-perl:/usr/bin/perl-- Enable-perl-modules: No-- With-cgiurl:/
First, the principleintegrating cacti and Nagios is a plugin of cacti, nagios for cacti, which works by importing Nagios data through ndo2db into the MySQL database (the cacti library). Then cacti reads the database information and displays the results of Nagios. Second, cacti expansion moduleCacti extension
This article consists of Su Yi Lin Feng provide sponsorship, starting in Slime Line the world Once the Nagios installation is complete, we'll configure Nagios now. For Nagios installation, refer to the article "Slime: Learning Nagios (i): Nagios installation". Description: T
command, and return the results to the CHECK_BY_SSH plug-in, the plug-in to return the results of analysis, the analysis of the results back to the plug-in core, from the core to determine whether the results of the alarm.
SnmpThe communication mechanism based on SNMP and SNMPD
NSCAAllow Nagios to implement passive monitoring, and the client proactively sends information to Nagios
Check_xyzUser
Authentication[Email protected] nagios]# vi/etc/httpd/conf.d/nagios.conf# SAMPLE CONFIG SNIPPETS for APACHE WEB SERVER# Last Modified:11-26-2005## This file contains examples of entries that need# to is incorporated into your Apache Web server# configuration file. Customize the paths, etc. as# needed to fit your system.Scriptalias/nagios/cgi-bin "/usr/local/nagios
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.