rostom
06-12-2008, 10:37 AM
Bonjour,
Sans l'utilisation de centréon le plugin cactiplug marche bien, dès que je regénére les fichier de confuguration de nagios par Centréon, mon icône qui me dirige vers une page de cacti disparait.
Voila mon fichier template.cfg contient:
define host{
name generic-host ; The name of this host template
notifications_enabled 1 ; Host notifications are enabled
event_handler_enabled 1 ; Host event handler is enabled
flap_detection_enabled 1 ; Flap detection is enabled
failure_prediction_enabled 1 ; Failure prediction is enabled
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
notification_period 24×7 ; Send host notifications at any time
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
action_url /nagios/cactiplug/cactiplug.php?ip=$HOSTADDRESS
}
et le fichier hostgroups contient:
define hostgroup{
hostgroup_name Linux_Servers
alias all linux servers
members Centreon-Server
}
mais j’ai pas d’icones sur la page de nagios!!
Aider moi SVP.
Sans l'utilisation de centréon le plugin cactiplug marche bien, dès que je regénére les fichier de confuguration de nagios par Centréon, mon icône qui me dirige vers une page de cacti disparait.
Voila mon fichier template.cfg contient:
define host{
name generic-host ; The name of this host template
notifications_enabled 1 ; Host notifications are enabled
event_handler_enabled 1 ; Host event handler is enabled
flap_detection_enabled 1 ; Flap detection is enabled
failure_prediction_enabled 1 ; Failure prediction is enabled
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
notification_period 24×7 ; Send host notifications at any time
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
action_url /nagios/cactiplug/cactiplug.php?ip=$HOSTADDRESS
}
et le fichier hostgroups contient:
define hostgroup{
hostgroup_name Linux_Servers
alias all linux servers
members Centreon-Server
}
mais j’ai pas d’icones sur la page de nagios!!
Aider moi SVP.