Wrong status state in distributed setup

Viljo Marrandi vilts at yahoo.com
Fri Jun 4 12:32:51 CEST 2004


Hello!

I searched the list, bu couldn't find anybody with similar problem.

In my distributed monitoring server I have some services, which are in 
CRITICAL status, and in that server status.log file shows the info 
correctly - some plugins get timeout and some say (No output!).

But the problem is with central server, where the info is sent. There I 
use MySQL to store all data. And in central server all services show up 
as OK, even when they plugin's output says Socket timeout, no output or 
whatever.

Real life example:
1) distributed server's status.log:
[1086343662] 
SERVICE;mail;IMAP;CRITICAL;5/5;HARD;1086343582;1086343642;ACTIVE;1;1;1;1086249329;0;CRITICAL;119;0;0;0;0;0;1;0;20;1;0;0.00;0;1;1;1;Socket 
timeout after 20 seconds

2) central server's mysql (status is OK)

mysql> SELECT * FROM servicestatus WHERE host_name = 'mail' AND 
service_description = 'IMAP'
     -> \G
*************************** 1. row ***************************
                  host_name: mail
        service_description: IMAP
             service_status: OK
                last_update: 2004-06-04 13:27:02
            current_attempt: 1
               max_attempts: 5
                 state_type: HARD
                 last_check: 2004-06-04 13:12:50
                 next_check: 2004-06-04 13:28:01
        should_be_scheduled: 1
                 check_type: PASSIVE
             checks_enabled: 0
      accept_passive_checks: 1
      event_handler_enabled: 1
          last_state_change: 2004-06-03 10:30:13
       problem_acknowledged: 0
            last_hard_state: OK
                    time_ok: 649
               time_warning: 0
               time_unknown: 0
              time_critical: 0
          last_notification: 1970-01-01 03:00:00
       current_notification: 0
      notifications_enabled: 1
                    latency: 0
             execution_time: 12
              plugin_output: Socket timeout after 20 seconds
     flap_detection_enabled: 1
                is_flapping: 0
       percent_state_change: 0.00
   scheduled_downtime_depth: 0
failure_prediction_enabled: 1
   process_performance_data: 1
        obsess_over_service: 1


Do you have any ideas what might cause this?

Thanks in advance!
Viljo


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list