- 论坛徽章:
- 0
|
[root@blast bin]# ./nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios 1.4.1
Copyright (c) 1999-2006 Ethan Galstad (nagios@nagios.org)
Last Modified: 05-15-2006
License: GPL
Reading configuration data...
Error: Invalid host object directive 'check_period'.
Error: Could not add object property in file '/usr/local/nagios//etc/192.168.2.100.cfg' on line 9.
[root@blast etc]# vim 192.168.2.100.cfg
#'xp' host definition
define host{
host_name mercury-pc
alias 192.168.2.100
address 192.168.2.100
check_command check-host-alive
max_check_attempts 10
notification_interval 120
check_period 24x7
notification_options d,u,r
}
define service{
host_name mercury-pc
service_description http
check_command check-http
notification_interval 120
notification_period 24x7
}
我想问一下,在我的192.168.2.100.cfg文件下max_check_attempts,notification_interval,check_period,notification_options这些都是哪里定义的?哪位懂的讲解下,谢谢 |
|