知乎專欄 | 多維度架構 | 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者” |
Install Nagios & Plugins
[root@database ~]# yum -y install nagios nagios-plugins-all nagios-plugins-nrpe
Create the default Nagios web access user & set a password
# htpasswd -c /etc/nagios/passwd nagiosadmin
Verify default config files
nagios -v /etc/nagios/nagios.cfg
Start Nagios
Start Nagios
Configure it to start on boot
chkconfig --levels 345 nagios on
http://localhost/nagios/