Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1527 connectés 

 



Dernière réponse
Sujet : Pb configuration Thruk
corbi33 Bonjour a tous,
 
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

 
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

Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
corbi33 Bonjour a tous,
 
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

 
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

Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR