Commit 04ab257760b16d2d6bd62f6a8f4b08c31b639139
1 parent
40749f3b
Updates chapter1.md
Auto commit by GitBook Editor
Showing
1 changed file
with
2 additions
and
0 deletions
chapter1.md
| @@ -81,6 +81,8 @@ define host { | @@ -81,6 +81,8 @@ define host { | ||
| 81 | 其他的类似 | 81 | 其他的类似 |
| 82 | // 修改/etc/nagios/nagios.cfg文件,添加 | 82 | // 修改/etc/nagios/nagios.cfg文件,添加 |
| 83 | cfg_file=/etc/nagios/objects/my_hosts.cfg | 83 | cfg_file=/etc/nagios/objects/my_hosts.cfg |
| 84 | +// 重启nagios | ||
| 85 | +systemctl restart nagios | ||
| 84 | 86 | ||
| 85 | 87 | ||
| 86 | 88 |