2013年6月20日木曜日

nrpe インストール

nrpe インストール

$wget http://sourceforge.net/projects/nagios/files/nrpe-2.x/nrpe-2.14/nrpe-2.14.tar.gz

$tar -zxmf nrpe-2.14.tar.gz
$cd nrpe-2.14
$./configure --with-nrpe-user=nagios --with-nrpe-group=nagios
$make
#make install
#cp init-script /etc/init.d/nrpe
#cp sample-config/nrpe.cfg /usr/local/nagios/etc/nrpe.cfg
#chmod 755 /etc/init.d/nrpe
# chkconfig --add nrpe
# chkconfig --list | grep nrpe

nrpe            0:off   1:off   2:on    3:on    4:on    5:on    6:off

0 件のコメント:

コメントを投稿