nagios部署
- [root@nagios ~]#useradd nagios -s /sbin/nologin
- cd nagios-3.2.1
- configure --prefix=/usr/local/nagios
- make all
- make install
- make install-init
- make install-commandmode
- make install-config
- make install-webconf
- htpasswd -c /usr/local/nagios/etc/htpasswd.users nagios
- /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
- service nagios start
- cd ../nagios-plugins-1.4.13.tar.gz
- ./configure --prefix=/usr/local/nagios/
- make
- make install
- sed -i.bak '/authorized/ s/$/,nagios/g' /usr/local/nagios/etc/cgi.cfg
关于监控项的配置我在之前的文章里面已经介绍过了这里就不再重复了。
nagios监控Oracle表空间和配置文件详解:http://songknight.blog.51cto.com/2599480/577306