Bonjour !! Voilà, j’ai un gros problème que je n’arrive pas à résoudre. J’imagine bien que mon post va être assez long mais s’il vous plait prenez le temps de me lire. Je suis actuellement en stage et il faudrait que tout fonctionne pour que je puisse passer mon examen dans de bonnes conditions… SVP AIDEZ MOI….
Je vous mets ci-dessous une copie des mes fichiers de config sous nagios. Si vous avez besoin d’autres renseignements…dites moi. Mon soucis c’est qu’en fait sous nagios j’ai toujours un status critical ou unknown pour mes services et unreachable ou down pour mes hôtes.J’ai vraiment besoin d’aide….
Fichier config nagios :
Voilà ce que ça me met quand génère (appliqueràgénérer) dans services.cfg
# 'drafpc' service definition 0
define service{
host_name DRAFPC
service_description drafpc
check_command check_cpu_load
max_check_attempts 5
normal_check_interval 5
retry_check_interval 3
check_period 24x7
freshness_threshold 0
low_flap_threshold 0
high_flap_threshold 0
notification_interval 30
notification_period 24x7
notification_options w,c,r
contact_groups Nt-admins
}
je vous évite la lecture de tout le reste du fichier….
# 'AG2' host definition 0
define host{
host_name AG2
alias Poste_de_travail_………………………
address @ip…
parents Serveur2, Serveur3
check_command check_ping
max_check_attempts 1
event_handler_enabled 0
low_flap_threshold 0
high_flap_threshold 0
flap_detection_enabled 0
process_perf_data 0
retain_status_information 0
retain_nonstatus_information 0
notification_interval 120
notification_period 24x7
notification_options d
stalking_options d
}
Dans ressource.cfg#
Sets $USER1$ to be the path to the plugins
$USER1$=/usr/local/nagios/libexec
Je vous mets ci-dessous une copie des mes fichiers de config sous nagios. Si vous avez besoin d’autres renseignements…dites moi. Mon soucis c’est qu’en fait sous nagios j’ai toujours un status critical ou unknown pour mes services et unreachable ou down pour mes hôtes.J’ai vraiment besoin d’aide….
Fichier config nagios :
Voilà ce que ça me met quand génère (appliqueràgénérer) dans services.cfg
# 'drafpc' service definition 0
define service{
host_name DRAFPC
service_description drafpc
check_command check_cpu_load
max_check_attempts 5
normal_check_interval 5
retry_check_interval 3
check_period 24x7
freshness_threshold 0
low_flap_threshold 0
high_flap_threshold 0
notification_interval 30
notification_period 24x7
notification_options w,c,r
contact_groups Nt-admins
}
je vous évite la lecture de tout le reste du fichier….
# 'AG2' host definition 0
define host{
host_name AG2
alias Poste_de_travail_………………………
address @ip…
parents Serveur2, Serveur3
check_command check_ping
max_check_attempts 1
event_handler_enabled 0
low_flap_threshold 0
high_flap_threshold 0
flap_detection_enabled 0
process_perf_data 0
retain_status_information 0
retain_nonstatus_information 0
notification_interval 120
notification_period 24x7
notification_options d
stalking_options d
}
Dans ressource.cfg#
Sets $USER1$ to be the path to the plugins
$USER1$=/usr/local/nagios/libexec
Comment