Nagios - notifications trop rapprochees - réseaux et sécurité - Linux et OS Alternatifs
MarshPosté le 31-07-2006 à 17:57:23
Bonjour, Voici le contenu de mon fichier services.cfg
Citation :
define service{ ; The 'name' of this service template, referenced in other service definitions name generic-service active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/disabled parallelize_check 1 ; Active service checks should be parallelized ; (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are disabled event_handler_enabled 1 ; Service event handler is disabled flap_detection_enabled 0 ; Flap detection is disabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
define service{ use generic-service ; Name of service template to use host_name monserveur service_description http check_command check_http }
Or je reçois des notifications toutes les 5 minutes sur une machine qui n'a pas de serveur http ( fait expres, c pour le test ). Pourquoi ne reçois-je pas les alertes toutes les 60 minutes comme précisé dans notification_interval??????
Marsh Posté le 31-07-2006 à 17:57:23
Bonjour,
Voici le contenu de mon fichier services.cfg
define service{
; The 'name' of this service template, referenced in other service definitions
name generic-service
active_checks_enabled 1 ; Active service checks are enabled
passive_checks_enabled 1 ; Passive service checks are enabled/disabled
parallelize_check 1 ; Active service checks should be parallelized
; (disabling this can lead to major performance problems)
obsess_over_service 1 ; We should obsess over this service (if necessary)
check_freshness 1 ; Default is to NOT check service 'freshness'
notifications_enabled 1 ; Service notifications are disabled
event_handler_enabled 1 ; Service event handler is disabled
flap_detection_enabled 0 ; Flap detection is disabled
process_perf_data 1 ; Process performance data
retain_status_information 1 ; Retain status information across program restarts
retain_nonstatus_information 1 ; Retain non-status information across program restarts
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 3
contact_groups Zenya-admins
notification_interval 0
notification_period 24x7
notification_options w,u,c,r
}
define service{
use generic-service ; Name of service template to use
host_name monserveur
service_description http
check_command check_http
}
Or je reçois des notifications toutes les 5 minutes sur une machine qui n'a pas de serveur http ( fait expres, c pour le test ). Pourquoi ne reçois-je pas les alertes toutes les 60 minutes comme précisé dans notification_interval??????
Merci de vos réponses.