NagiosでLinuxサーバーのリソース監視のためのnrpeのインストール設定
Nagios
監視対象サーバー側の設定 [#p6926fd3] # yum install openssl openssl-devel xinetd # groupadd -g 3000 nagios # useradd -d /usr/local/nagios -u 3000 -g 3000 nagios # id nagios # cd /usr/local/src/ # wget http://jaist.dl.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.14/nrpe-
2.14.tar.gz # tar fxvz nrpe-2.14.tar.gz # cd nrpe-2.14 # ./configure # make all # make install # cp -p init-script /etc/rc.d/init.d/nrpe # chmod 755 /etc/rc.d/init.d/nrpe # mkdir /usr/local/nagios/etc # cp -p sample-config/nrpe.cfg /usr/local/nagios/etc/ # chown nagios:nagios /usr/local/nagios/etc/nrpe.cfg # wget http://jaist.
One minute to read