LINUX: 2007年9月アーカイブ
とりあえずメモ
# yum -y install gd-devel
# useradd -d /usr/local/nagios/ -M nagios
# wget http://jaist.dl.sourceforge.net/sourceforge/nagios/nagios-3.0.1.tar.gz
# tar zxvf nagios-3.0.1.tar.gz
# cd nagios-3.0.1
# wget http://jaist.dl.sourceforge.jp/nagios-jp/30391/nagios-3.0.1-ja-utf8.patch.gz
# gzip -dc nagios-3.0.1-ja-utf8.patch.gz |patch -p0
# ./configure && make all && make fullinstall && make install-config
# wget http://osdn.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2
# tar jxvf sazanami-20040629.tar.bz2
# mkdir /usr/local/nagios/etc/font
# cp sazanami-20040629/sazanami-gothic.ttf /usr/local/nagios/etc/font/font.ttf
# wget http://jaist.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.11.tar.gz
# tar zxvf nagios-plugins-1.4.11.tar.gz
# cd nagios-plugins-1.4.11
# ./configure && make && make install
# cp contrib/check_mem.pl /usr/local/nagios/libexec/
# chmod +x /usr/local/nagios/libexec/check_mem.pl
設定ファイル編集
vi /usr/local/nagios/etc/nagios.cfg
cfg_dir=/usr/local/nagios/etc/servers
date_format=iso8601