Wagner Ferenc:
> "This command is only executed if the obsess_over_services option is
> enabled globally and if the obsess_over_service directive in the service
> definition is enabled."
>
> Esetleg az obsess_over_service?
>
A slave-en:
# /etc/nagios/nagios.cfg:
obsess_over_services=1
ocsp_command=submit_service_check
# Generic service definition template
define service{
name generic-service2;
active_checks_enabled 1 ;
passive_checks_enabled 1 ;
parallelize_check 1 ;
obsess_over_service 1 ;
check_freshness 0 ;
notifications_enabled 0 ;
event_handler_enabled 1 ;
flap_detection_enabled 1 ;
process_perf_data 1 ;
register 0 ;
}
# Service definition for http
define service{
use generic-service2;
host_name www.mysite.hu;
service_description HTTP;
is_volatile 0;
check_period 24x7;
max_check_attempts 3;
normal_check_interval 1;
retry_check_interval 5;
# contact_groups admins,webmaster;
notification_options w,u,c,r;
notification_interval 960;
notification_period 24x7;
check_command check_http;
}
define host {
use linux-server;
host_name www.mysite.hu;
address www.mysite.hu;
}
# **************************************
Szerintem be van állítva.
G.
_________________________________________________
linux lista - [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux