我正在使用 NagiosXI 5。我已更改 /usr/local/nagios/etc/services/myconfig.cfg 中“check_command”的内容。但是,此更改在 Nagios 中不可见。我尝试了“应用配置”,甚至在计算机上重新启动服务 nagios 都没有成功。
编辑:哦,我错过了这个文件开头的以下注释。但是,在准备(大)cfg 文件的编辑版本后,我仍然不明白我必须做什么。
--- DO NOT EDIT THIS FILE BY HAND ---
Nagios CCM will overwrite all manual settings during the next update if you
would like to edit files manually, place them in the 'static' directory or
import your configs into the CCM by placing them in the 'import' directory.