Dans mes host configuré dans nagios, j'ai mon poste que j'éteint l'orsque je ne suis pas là.
Le soucis vien du fait que quand je r'allume mon pc, nagios affiche le status des services qui tourne dessus en OK mais le status de mon pc reste down.
Est ce un problème de configuration?
Voici la configuration pour ce poste sur lequel je surveille le HTTP et le Ping :
hosts.cfg
services.cfg
Le soucis vien du fait que quand je r'allume mon pc, nagios affiche le status des services qui tourne dessus en OK mais le status de mon pc reste down.
Est ce un problème de configuration?
Voici la configuration pour ce poste sur lequel je surveille le HTTP et le Ping :
hosts.cfg
Code:
define host{ name generic-host notifications_enabled 1 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define host{ use generic-host host_name MonPC alias Serveur_de_Test address 192.168.1.118 check_command check-host-alive max_check_attempts 10 notification_interval 180 notification_period 24x7 notification_options d,u,r }
Code:
define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define service{ use generic-service host_name MonPC service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http } define service{ use generic-service host_name MonPC service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check-fast-alive }
Comment