Commit d1cea17951da807a638e2bb5f16326b502073f87
1 parent
2535d04e
Updates 02_nagios/nagios_install.md
Auto commit by GitBook Editor
Showing
1 changed file
with
2 additions
and
0 deletions
02_nagios/nagios_install.md
| ... | ... | @@ -15,6 +15,8 @@ htpasswd -bc /etc/nagios/passwd nagiosadmin nagiosadmin2jsp |
| 15 | 15 | 用户名建议使用默认的nagiosadmin,否则需要修改/etc/nagios/cgi.cfg文件,替换nagiosadmin到自定义用户名 |
| 16 | 16 | |
| 17 | 17 | //------------- 安装nagios客户端nrpe -----------// |
| 18 | +// 安装epel-release | |
| 19 | +yum -y install epel-release | |
| 18 | 20 | // 查看是否安装了nrpe |
| 19 | 21 | rpm -qa | grep nrpe |
| 20 | 22 | // 安装nrpe和nagions-plugins | ... | ... |