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