Commit 30ab27d06a799f94abb6ba6c138bfc5a1d305996
1 parent
008a651e
Updates 02_nagios/nagios_service.md
Auto commit by GitBook Editor
Showing
1 changed file
with
1 additions
and
1 deletions
02_nagios/nagios_service.md
| ... | ... | @@ -18,6 +18,6 @@ systemctl restart nagios |
| 18 | 18 | //------------- 服务端配置nrpe service定义 -----------// |
| 19 | 19 | // 在服务端添加nrpe command配置,如下图: |
| 20 | 20 | // 在客户端端编辑/etc/nrpe.d/lcgdm-common.cfg,添加监控脚本,如下图: |
| 21 | -// TODO:自定义脚本再议 | |
| 21 | +// 自定义脚本,在/etc/nagios/my_nrpe_plugins/ 创建 custom_check_mem脚本,如下图: | |
| 22 | 22 | |
| 23 | 23 | ``` | ... | ... |