nagios-Installation Documentation

Source: Internet
Author: User

Tag: Command package cmd with the man installation documentation software mode

Installation and configuration of Nagios and Nagios plugins

1. Installing dependent software (GNU compiler Suite)

Yum-y Install GCC

Yum-y Install gcc-c++

Yum-y Install make

2. Add the Nagios user group and configure permissions

Groupadd nagios && groupadd nagcmd && useradd nagios-g nagcmd-d/local/server/nagios-m

Chown nagios.nagios/local/server/nagios/&& chmod-r 775/local/server/nagios

3. Installing the Nagios Package

TAR-ZXVF nagios-3.4.0.tar.gz && CD Nagios

./configure--prefix=/local/server/nagios--with-command-group=nagcmd

Make a && make install && make Install-init && make Install-config && make Install-comm Andmode

4. Installing the Nagios Plugin

TAR-ZXVF nagios-plugins-1.4.15.tar.gz && CD nagios-plugins-1.4.15

./configure--prefix=/local/server/nagios--with-nagios-user=nagios--with-nagios-group=nagios

Make && make install

nagios-Installation Documentation

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.