北京赛车黑马人工计划

Nagios centos 6.5

(Redirected from Nagios 3 - centos65)

INFO: Nagios3 is not included in base centos repositories, you need to install rpmforge repository


Installation using rpmforge:

install rpm forge for centos 6 ()

for x86_64:

wget 
rpm --import 
rpm -i rpmforge-release-0.5.3-1.el6.rf.*.rpm

for i686:

wget 
rpm --import 
rpm -i rpmforge-release-0.5.3-1.el6.rf.*.rpm


Install nagios and plugins:

yum install nagios
yum install nagios-plugins


Change nagios configuration (add line) vim /etc/nagios/nagios.cfg

cfg_file=/etc/nagios/objects/vm.cfg


Change privileges for nagios and voipmonitor

touch /etc/nagios/objects/vm.cfg
chown apache /etc/nagios/objects/vm.cfg

vim /etc/sudoers and add line after root.. line:

apache  ALL=(nagios) NOPASSWD: ALL

chown -r nagios:nagios /var/nagios/spool/checkresults

秒速赛车6码计划 三分彩计划软件下载 分分11选5精准计划群 幸运快3追号计划 超级时时彩缩水计划