Commit 465d75f0350f6421e8d2e752f3247b10dbc1ca1d
1 parent
d0986502
Updates 02_nagios/nagios_install.md
Auto commit by GitBook Editor
Showing
1 changed file
with
3 additions
and
0 deletions
02_nagios/nagios_install.md
| @@ -23,5 +23,8 @@ yum -y install epel-release | @@ -23,5 +23,8 @@ yum -y install epel-release | ||
| 23 | rpm -qa | grep nrpe | 23 | rpm -qa | grep nrpe |
| 24 | // 安装nrpe和nagions-plugins | 24 | // 安装nrpe和nagions-plugins |
| 25 | yum install nrpe nagios-plugins* | 25 | yum install nrpe nagios-plugins* |
| 26 | +// 服务端,客户端防火墙配置nrpe规则,如下图 | ||
| 27 | +firewall-cmd --add-service=my_nrpe --permanent | ||
| 28 | +firewall-cmd --reload | ||
| 26 | 29 | ||
| 27 | 30 |