Bug in CVS version? returncode 127

Gerd Mueller gmueller at netways.de
Wed Feb 20 14:30:31 CET 2008


Hi list!

What am I missing?

Today I added a few host definitions and restarted nagios afterwards.
Immediately after this restart nearly all my checks ended with:   

### Nagios Service Check Result ###
# Time: Wed Feb 20 13:41:12 2008
host_name=ddns01
service_description=net-ssh
check_type=0
check_options=0
scheduled_check=1
reschedule_check=1
latency=50.458000
start_time=1203511272.458201
finish_time=1203511272.632000
early_timeout=0
exited_ok=1
return_code=127
output=(null)
### Active Check Result File ###
file_time=1203511270

I only added hosts. I did not change servicedefinitons nor did I change the commandsdefiniton. Just defined a hostgroupmembership at the hosts. And another strange thing is nagios sercie check latency is rapidly growing.  

A few figures (:

** Before adding hosts (everything works fine):


Nagios Stats 3.0rc2
Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org)
Last Modified: 01-29-2008
License: GPL

CURRENT STATUS DATA
------------------------------------------------------
Status File:                            /var/log/nagios/status.dat
Status File Age:                        0d 0h 0m 7s
Status File Version:                    3.0rc2

Program Running Time:                   0d 0h 14m 38s
Nagios PID:                             26276
Used/High/Total Command Buffers:        0 / 1 / 4096

Total Services:                         2668
Services Checked:                       2662
Services Scheduled:                     2662
Services Actively Checked:              2668
Services Passively Checked:             0
Total Service State Change:             0.000 / 12.370 / 0.244 %
Active Service Latency:                 0.000 / 17.842 / 13.713 sec
Active Service Execution Time:          0.000 / 5.794 / 0.430 sec
Active Service State Change:            0.000 / 12.370 / 0.244 %
Active Services Last 1/5/15/60 min:     360 / 2405 / 2662 / 2662
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:              2573 / 11 / 30 / 54
Services Flapping:                      0
Services In Downtime:                   0

Total Hosts:                            141
Hosts Checked:                          141
Hosts Scheduled:                        141
Hosts Actively Checked:                 141
Host Passively Checked:                 0
Total Host State Change:                0.000 / 0.000 / 0.000 %
Active Host Latency:                    10.643 / 17.110 / 13.307 sec
Active Host Execution Time:             0.017 / 0.330 / 0.032 sec
Active Host State Change:               0.000 / 0.000 / 0.000 %
Active Hosts Last 1/5/15/60 min:        20 / 125 / 141 / 141
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:                  141 / 0 / 0
Hosts Flapping:                         0
Hosts In Downtime:                      0

Active Host Checks Last 1/5/15 min:     26 / 132 / 464
   Scheduled:                           26 / 131 / 348
   On-demand:                           16 / 92 / 463
   Parallel:                            26 / 132 / 464
   Serial:                              0 / 0 / 0
   Cached:                              16 / 91 / 347
Passive Host Checks Last 1/5/15 min:    0 / 0 / 0
Active Service Checks Last 1/5/15 min:  485 / 2532 / 7349
   Scheduled:                           485 / 2532 / 7349
   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 / 1



** After adding hosts (everything doesn't work anymore):

Nagios Stats 3.0rc2
Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org)
Last Modified: 01-29-2008
License: GPL

CURRENT STATUS DATA
------------------------------------------------------
Status File:                            /var/log/nagios/status.dat
Status File Age:                        0d 0h 0m 12s
Status File Version:                    3.0rc2

Program Running Time:                   0d 0h 8m 28s
Nagios PID:                             1708
Used/High/Total Command Buffers:        0 / 0 / 4096

Total Services:                         3299
Services Checked:                       2058
Services Scheduled:                     3290
Services Actively Checked:              3299
Services Passively Checked:             0
Total Service State Change:             0.000 / 6.250 / 0.110 %
Active Service Latency:                 0.000 / 288.908 / 104.879 sec
Active Service Execution Time:          0.000 / 4.652 / 0.113 sec
Active Service State Change:            0.000 / 6.250 / 0.110 %
Active Services Last 1/5/15/60 min:     246 / 1569 / 2058 / 2058
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:              1558 / 5 / 25 / 1711
Services Flapping:                      0
Services In Downtime:                   0

Total Hosts:                            169
Hosts Checked:                          166
Hosts Scheduled:                        169
Hosts Actively Checked:                 169
Host Passively Checked:                 0
Total Host State Change:                0.000 / 9.210 / 0.107 %
Active Host Latency:                    0.000 / 287.565 / 25.441 sec
Active Host Execution Time:             0.000 / 0.055 / 0.024 sec
Active Host State Change:               0.000 / 9.210 / 0.107 %
Active Hosts Last 1/5/15/60 min:        120 / 163 / 166 / 166
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:                  167 / 2 / 0
Hosts Flapping:                         0
Hosts In Downtime:                      0

Active Host Checks Last 1/5/15 min:     200 / 949 / 1658
   Scheduled:                           9 / 48 / 93
   On-demand:                           302 / 1430 / 2224
   Parallel:                            200 / 949 / 1658
   Serial:                              0 / 0 / 0
   Cached:                              111 / 529 / 659
Passive Host Checks Last 1/5/15 min:    0 / 0 / 0
Active Service Checks Last 1/5/15 min:  319 / 1666 / 2682
   Scheduled:                           319 / 1666 / 2682
   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


So what's wrong? 

Cheers,

Gerd


-- 
Gerd Mueller                  
Senior Consultant

NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 Nürnberg 
Tel: +49 911 92885-0 | Fax: +49 911 92885-33 
GF: Julian Hein | AG Nürnberg HRB18461 
 
http://www.netways.de | gmueller at netways.de 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/




More information about the Developers mailing list