PDA

View Full Version : Nagios_Centreon_cacti


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.

sygoletto
06-16-2008, 01:55 PM
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.

Ca marche pas: quand on utilise un 'host template', avec centreon, il ne met pas 'action_url' dans le host mais dans les hostextinfo et ca ne marche pas avec nagios :-(

Je suis en train de regarder comment faire et pour mettre un ticket dans le suivi des modifs centreon

sygoletto
06-16-2008, 02:30 PM
C''est bon j'ai trouvé, voir ici : http://trac.centreon.com/ticket/52

Les fichiers hostextinfo.cfg et serviceextinfo.cfg n'étaient pas configurés dans nagios.cfg