2013年6月21日金曜日

PNP4 install

PNP4 install

$wget http://sourceforge.net/projects/pnp4nagios/files/latest/download
$ tar -zxmf pnp4nagios-0.6.21.tar.gz
$cd pnp4nagios-0.6.21/
$ ./configure \
> --prefix=/usr/local/nagios/pnp4nagios \
> --with-nagios-user=nagios\
> --with-nagios-group=nagios \
> --with-httpd-conf=/home/httpd/conf

-----
configure: error:  is a directory! PNP needs the Path to the rrdtool binary!
-----
#yum -y install rrdtool

retry

$make all
#make install
#make install-webconf
#make install-config
#make install-init

cd /usr/local/nagios/pnp4nagios/etc
#for file in *.cfg-sample; do mv -i $file `echo $file|sed "s/-sample//g"`; done



0 件のコメント:

コメントを投稿