Commit 008a651e9b3ae46617970c7e41a665e6d5fdaddb
1 parent
246b13d4
Updates 02_nagios/nagios_install.md
Auto commit by GitBook Editor
Showing
1 changed file
with
5 additions
and
0 deletions
02_nagios/nagios_install.md
| @@ -32,4 +32,9 @@ systemctl enable nrpe | @@ -32,4 +32,9 @@ systemctl enable nrpe | ||
| 32 | systemctl start nrpe | 32 | systemctl start nrpe |
| 33 | // 服务端测试是否可以连接客户端nrpe | 33 | // 服务端测试是否可以连接客户端nrpe |
| 34 | 34 | ||
| 35 | +//-------------- nrpe的日志配置 -------------// | ||
| 36 | +// 查看nrpe用户对应的目录,/var/run/nrpe | ||
| 37 | +cat /etc/passwd | grep nrpe | ||
| 38 | +// /etc/nagios/nrpe.cfg中配置日志文件,开启debug,如下图: | ||
| 39 | + | ||
| 35 | 40 |