- 论坛徽章:
- 0
|
我这边都搞过了,还是有问题,我check了下日志,在不停得报
[1338528451] Warning: Return code of 127 for check of host 'windows-xp' was out of bounds. Make sure the plugin you're trying to run actually exists.
[1338528561] Warning: Return code of 127 for check of service 'check_C_disk' on host 'windows-xp' was out of bounds. Make sure the plugin you're trying to run actually exists.
而我现在的客户端配置文件(我把host和server写一起了)为
define host {
host_name windows-xp
alias windows
address 10.1.4.159
contact_groups admins
check_command check_nt!check-host-alive
max_check_attempts 5
notification_interval 10
notification_period 24x7
notification_options d,u,r
}
define service {
host_name windows-xp
service_description check_C_disk
check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
check_period 24x7
max_check_attempts 3
normal_check_interval 2
retry_check_interval 2
contact_groups admins
notification_interval 10
notification_period 24x7
notification_options w,u,c,r
contacts.cfg配置文件内容为
define contact{
contact_name nagiosadmin
use generic-contact
alias Nagios Admin
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,u,r
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
email shelly.li@argos.cn
}
define contactgroup{
contactgroup_name admins
alias Nagios Administrators
members nagiosadmin
}
求解啊。。。。。。。。。。。。。。。。。。。 |
|