Pb configuration thruk: internal server error

Fermé
corbi33 Messages postés 1 Date d'inscription jeudi 7 mars 2013 Statut Membre Dernière intervention 7 mars 2013 - 7 mars 2013 à 10:09
Bonjour,

Je suis en train de mettre en place un serveur nagios avec thruk 1.28
Cependant lorsque j'essaye de mettre plusieurs backend dans /etc/thruk/thruk_local.conf [/B] j'ai une erreur qui apparait :

" [Error] Caught exception in thruk::Controller::Root->Begin "missing name in peer configuration" at usr/share/thruk/lib/thruk/backend/manager.pm"
[Error] Internal server error
[error] on page : http://localhost/thruk/cgi-bin/remote.cgi

Je voulais savoir si quelqu'un avait déjà rencontré ce problème voici le contenu de mon thruk_local.conf:

<Component Thruk::Backend>
<peer>
Name = Core
type = livestatus
<options>
peer = /var/lib/nagios/rw/live
resource_file = /etc/nagios/resource.cfg
</options>
<configtool>
core_conf = /etc/nagios/nagios.cfg
obj_check_cmd = /usr/sbin/nagios -v /etc/nagios/nagios.cfg
obj_reload_cmd = echo "COMMAND [$(date +%s)] RESTART_PROGRAM" | unixcat /var/lib/nagios/rw/live
</configtool>
</peer>
<peer>
Name = nagios
type = livestatus
<options>
peer = localhost:6557
</options>
</peer>
</Compenent>
<Component Thruk::Plugin::ConfigTool>
show_plugin_syntax_helper = 1
thruk = /etc/thruk/thruk_local.conf
cgi.cfg = /etc/thruk/cgi.cfg
htpasswd = /etc/nagios/passwd
</Component>

show_backends_in_table=1

Merci d'avance