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