标签:config fine reload name conf com des init ges
[root@localhost ~]# vim /usr/local/nagios/etc/objects/services.cfg
# 在末尾添加 define service { use generic-service host_name web01 service_description HTTP URL check_command check_http }
[root@localhost ~]# echo "192.168.123.102 www.abc.com" >> /etc/hosts
[root@localhost ~]# /etc/init.d/nagios checkconfig
[root@localhost ~]# /etc/init.d/nagios reload
标签:config fine reload name conf com des init ges
原文地址:http://www.cnblogs.com/pzk7788/p/6956980.html