Commit e23c91bbb2bed18ebf1efcb328fbed0a6bd6d48c
1 parent
3d12ec86
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
| ... | ... | @@ -31,6 +31,6 @@ ls -Z /etc/nagios/my_nrpe_plugins/custom_check_mem |
| 31 | 31 | // 有的系统下远程nrpe调用会报错,如下: |
| 32 | 32 | // DISK CRITICAL - /root/.gvfs is not accessible: Permission denied |
| 33 | 33 | // 修改/etc/nrpe.d/lcgdm-common.cfg 修改定义,如下: |
| 34 | -/usr/lib64/nagios/plugins/check_disk -w 30% -c 20% -X nfs -X mvfs -A -i '.gvfs' | |
| 34 | +command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 30% -c 20% -X nfs -X mvfs -A -i '.gvfs' | |
| 35 | 35 | |
| 36 | 36 | ``` | ... | ... |