Announcement

Collapse
No announcement yet.

Problème de Check d'host

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problème de Check d'host

    Bonjour, je rencontre un problème de Check avec mes hosts ce qui se répercute sur mes graphes qui ne sont pas rempli comme ils le devraient. Voici l'information pour un host par exemple:
    Code:
    Host Status  	UP
    Status Information 	GPING OK - rtt min/avg/max/mdev = 0.041/0.080/0.150/0.050 ms
    Performance Data 	time=0.080ms;20;50;; ok=1
    Current Attempt 	1 / 5
    State Type 	HARD
    Last Check 	2009/01/16 - 11:23:20
    Next Check 	2009/01/16 - 11:24:25
    Il est 11:37 et le Next Check écrit n'a pas été réalisé. Quelqu'un aurait-il une idée de la raison?
    Pour plus d'informationS, n'hésitez pas.
    Merci d'avance.

  • #2
    Donnes nous le résultat d'un nagiostat
    Auteur de Shinken, outil de supervision compatible avec Nagios et orientée supervision distribuée hautement disponible et mulitplateforme.

    Comment


    • #3
      Nagios stat c'est dans l'onglet Home c'est ça? tu veux les graphiques?


      Pour le résultat du ping en graphique, j'obtiens ça:
      Killua
      Junior Member
      Last edited by Killua; 16 January 2009, 13:04.

      Comment


      • #4
        Je pense que juste le résultat de la ligne de commande devrait suffire: ;o)
        ../bin/nagiostats -c ../etc/nagios.cfg
        Guigui

        > PAS DE SUPPORT VIA MP <

        "Ce n'est qu'en essayant continuellement que l'on finit par réussir. En d'autres termes, plus ça rate et plus on a de chances que ça marche !!" (Shadoks)

        Comment


        • #5
          Ok merci, le résultat de la commande est le suivant:

          HTML Code:
          Nagios Stats 3.0.5
          Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org)
          Last Modified: 11-04-2008
          License: GPL
          
          CURRENT STATUS DATA
          ------------------------------------------------------
          Status File:                            /usr/local/nagios/var/status.log
          Status File Age:                        0d 0h 0m 2s
          Status File Version:                    3.0.5
          
          Program Running Time:                   6d 20h 38m 32s
          Nagios PID:                             4842
          Used/High/Total Command Buffers:        0 / 0 / 4096
          
          Total Services:                         12
          Services Checked:                       12
          Services Scheduled:                     12
          Services Actively Checked:              12
          Services Passively Checked:             0
          Total Service State Change:             0.000 / 0.000 / 0.000 %
          Active Service Latency:                 0.302 / 0.994 / 0.714 sec
          Active Service Execution Time:          2.415 / 11.424 / 8.918 sec
          Active Service State Change:            0.000 / 0.000 / 0.000 %
          Active Services Last 1/5/15/60 min:     0 / 0 / 0 / 1
          Passive Service Latency:                0.000 / 0.000 / 0.000 sec
          Passive Service State Change:           0.000 / 0.000 / 0.000 %
          Passive Services Last 1/5/15/60 min:    0 / 0 / 0 / 0
          Services Ok/Warn/Unk/Crit:              2 / 0 / 9 / 1
          Services Flapping:                      0
          Services In Downtime:                   0
          
          Total Hosts:                            3
          Hosts Checked:                          3
          Hosts Scheduled:                        3
          Hosts Actively Checked:                 3
          Host Passively Checked:                 0
          Total Host State Change:                0.000 / 0.000 / 0.000 %
          Active Host Latency:                    0.182 / 0.951 / 0.585 sec
          Active Host Execution Time:             0.105 / 4.097 / 2.181 sec
          Active Host State Change:               0.000 / 0.000 / 0.000 %
          Active Hosts Last 1/5/15/60 min:        1 / 2 / 2 / 2
          Passive Host Latency:                   0.000 / 0.000 / 0.000 sec
          Passive Host State Change:              0.000 / 0.000 / 0.000 %
          Passive Hosts Last 1/5/15/60 min:       0 / 0 / 0 / 0
          Hosts Up/Down/Unreach:                  2 / 1 / 0
          Hosts Flapping:                         0
          Hosts In Downtime:                      0
          
          Active Host Checks Last 1/5/15 min:     0 / 5 / 15
             Scheduled:                           0 / 5 / 15
             On-demand:                           0 / 0 / 0
             Parallel:                            0 / 5 / 15
             Serial:                              0 / 0 / 0
             Cached:                              0 / 0 / 0
          Passive Host Checks Last 1/5/15 min:    0 / 0 / 0
          Active Service Checks Last 1/5/15 min:  0 / 0 / 1
             Scheduled:                           0 / 0 / 1
             On-demand:                           0 / 0 / 0
             Cached:                              0 / 0 / 0
          Passive Service Checks Last 1/5/15 min: 0 / 0 / 0
          
          External Commands Last 1/5/15 min:      0 / 0 / 0
          Au passage, il y a normalement 16 hosts...
          Quand je vais sur le Eventlog nagios, je trouve ça:
          Code:
          [SIZE="2"][16-01-2009 12:16:58] HOST ALERT: pharmacie-mickael;UP;HARD;1;GPING OK - rtt min/avg/max/mdev = 0.045/0.050/0.054/0.003 ms
          Informational Message[16-01-2009 12:16:43] Warning: Check result queue contained results for host 'Pharmacie_du_pont_du_canal', but the host could not be found! Perhaps you forgot to define the host in your config files?
          Informational Message[16-01-2009 12:16:43] Warning: Check result queue contained results for host 'Pharmacie_de_la_mairie', but the host could not be found! Perhaps you forgot to define the host in your config files?
          Informational Message[16-01-2009 12:16:43] Warning: Check result queue contained results for host 'Pharmacie_de_leglise', but the host could not be found! Perhaps you forgot to define the host in your config files?
          Informational Message[16-01-2009 12:16:38] Warning: Check result queue contained results for host 'Pharmacie_des_arvenes', but the host could not be found! Perhaps you forgot to define the host in your config files?
          Informational Message[16-01-2009 12:16:34] Warning: The check of host 'Pharmacie_des_arvenes' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host...
          Host Up[16-01-2009 12:15:53] HOST ALERT: pharmacie-mickael;UP;HARD;1;GPING OK - rtt min/avg/max/mdev = 0.048/0.049/0.050/0.000 ms
          Informational Message[16-01-2009 12:15:38] Warning: Check result queue contained results for host 'Pharmacie_berthelot', but the host could not be found! Perhaps you forgot to define the host in your config files?
          Informational Message[16-01-2009 12:15:34] Warning: The check of host 'Pharmacie_du_pont_du_canal' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host...
          Informational Message[16-01-2009 12:15:34] Warning: The check of host 'Pharmacie_de_leglise' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host...
          Informational Message[16-01-2009 12:15:34] Warning: The check of host 'Pharmacie_de_la_mairie' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host...
          Informational Message[16-01-2009 12:15:34] Warning: The check of host 'Pharmacie_berthelot' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host...
          Host Up[16-01-2009 12:14:48] HOST ALERT: pharmacie-mickael;UP;HARD;1;GPING OK - rtt min/avg/max/mdev = 0.043/0.079/0.151/0.050 ms
          Informational Message[16-01-2009 12:14:43] Warning: Check result queue contained results for host 'Bureau_jocelyn_portable', but the host could not be found! Perhaps you forgot to define the host in your config files?
          Informational Message[16-01-2009 12:14:38] Warning: Check result queue contained results for host 'Pharmacie_ajot_destang', but the host could not be found! Perhaps you forgot to define the host in your config files?
          Informational Message[16-01-2009 12:14:38] Warning: Check result queue contained results for host 'Bureau_mickael', but the host could not be found! Perhaps you forgot to define the host in your config files?
          Informational Message[16-01-2009 12:14:38] Warning: Check result queue contained results for host 'Bureau-Jocelyn', but the host could not be found! Perhaps you forgot to define the host in your config files?
          Informational Message[16-01-2009 12:14:38] Warning: Check result queue contained results for host 'Bureau_aurélien', but the host could not be found! Perhaps you forgot to define the host in your config files?
          Informational Message[16-01-2009 12:14:34] Warning: The check of host 'Pharmacie_ajot_destang' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host...
          Informational Message[16-01-2009 12:14:34] Warning: The check of host 'Bureau_mickael' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host...
          Informational Message[16-01-2009 12:14:34] Warning: The check of host 'Bureau_aurélien' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host...
          Informational Message[16-01-2009 12:14:34] Warning: The check of host 'Bureau-Jocelyn' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host...
          Informational Message[16-01-2009 12:13:58] Warning: Check result queue contained results for host 'Pharmacie_de_la_cadière', but the host could not be found! Perhaps you forgot to define the host in your config files?
          Informational Message[16-01-2009 12:13:58] Warning: Check result queue contained results for host 'Box_bewan', but the host could not be found! Perhaps you forgot to define the host in your config files?[/SIZE]
          Je ne comprends pas pourquoi nagios me retourne ce warning puisque les fichier de config on été export et que en regardant le fichier de conf host.cfg, tous les hosts y sont définis.
          Killua
          Junior Member
          Last edited by Killua; 16 January 2009, 13:24.

          Comment


          • #6
            Meme probleme que toi....
            peux tu me dire si t as trouvé une solution ?

            Merci

            Comment


            • #7
              c'est quel type de check que tu as utilisé pour avoir des warning?

              Comment

              Working...
              X