Thanks Terry,

Here is the beginning and the tail end of the debug output generated by
adding the settings below.
It doesn't seem to indicate any reason why it stops.
I'm hoping that someone more familiar with Nagios than I can help.

Bob


[1251387030.622896] [001.0] [pid=16370] drop_privileges() start
[1251387030.622970] [004.0] [pid=16370] Original UID/GID: 0/0
[1251387030.623530] [004.0] [pid=16370] New UID/GID: 560/560
[1251387030.623674] [064.1] [pid=16370] Making callbacks (type 9)...
[1251387030.623750] [064.1] [pid=16370] Making callbacks (type 9)...
[1251387030.623820] [064.1] [pid=16370] Making callbacks (type 9)...
[1251387030.623907] [064.1] [pid=16370] Making callbacks (type 7)...
[1251387030.661720] [064.1] [pid=16370] Making callbacks (type 7)...
[1251387030.662334] [064.1] [pid=16371] Making callbacks (type 7)...
[1251387030.663411] [064.1] [pid=16371] Making callbacks (type 9)...
[1251387030.670339] [064.1] [pid=16371] Making callbacks (type 26)...
[1251387030.670367] [001.0] [pid=16371]
xrddefault_read_state_information() start
[1251387030.670587] [001.0] [pid=16371] check_for_host_flapping()
[1251387030.670602] [016.1] [pid=16371] Checking host '-global' for
flapping...
[1251387030.670615] [016.2] [pid=16371] LFT=5.00, HFT=20.00, CPC=0.00,
PSC=0.00%
[1251387030.670649] [016.1] [pid=16371] Host is not flapping (0.00%
state change).
[1251387030.670663] [064.1] [pid=16371] Making callbacks (type 19)...
[1251387030.670761] [001.0] [pid=16371] check_for_host_flapping()
[1251387030.670772] [016.1] [pid=16371] Checking host 'bender' for
flapping...
[1251387030.670784] [016.2] [pid=16371] LFT=5.00, HFT=20.00, CPC=0.00,
PSC=0.00%


1251387040      db0.colo        RAID on B       3.643   0.114   STORAGE:
OK'
[1251387040.148799] [2048.2] [pid=16371]   Processing part: '   '
[1251387040.148807] [2048.2] [pid=16371]   Not currently in macro.
Running output (72): '[SERVICEPERFDATA] 1251387040      db0.colo
RAID on B       3.643   0.114   STORAGE: OK     '
[1251387040.148818] [2048.2] [pid=16371]   Processing part:
'SERVICEPERFDATA'
[1251387040.148839] [2048.2] [pid=16371]   macro_x[19] (SERVICEPERFDATA)
match.
[1251387040.148850] [2048.2] [pid=16371]   New clean options: 3
[1251387040.148858] [2048.2] [pid=16371]   Processed 'SERVICEPERFDATA',
Clean Options: 3, Free: 1
[1251387040.148869] [2048.2] [pid=16371]   Processing part: ''
[1251387040.148878] [2048.2] [pid=16371]   Not currently in macro.
Running output (72): '[SERVICEPERFDATA] 1251387040      db0.colo
RAID on B       3.643   0.114   STORAGE: OK     '
[1251387040.148889] [2048.1] [pid=16371]   Done.  Final output:
'[SERVICEPERFDATA]      1251387040      db0.colo        RAID on B
3.643   0.114   STORAGE: OK     '
[1251387040.148899] [2048.1] [pid=16371] **** END MACRO PROCESSING
*************
[1251387040.148909] [016.2] [pid=16371] Processed service performance
data file output: [SERVICEPERFDATA]     1251387040      db0.colo
RAID on B       3.643   0.114   STORAGE: OK     
[1251387041.752774] [016.2] [pid=16393] Moving temp check result file
'/usr/local/nagios/var/spool/checkresults/checkfgHmYM' to queue file
'/usr/local/nagios/var/spool/checkresults/cuyk1oU'...
 

-----Original Message-----
From: Terry [mailto:[email protected]] 
Sent: Thursday, August 27, 2009 8:03 AM
To: VINCENT BOB-DMHG67
Subject: Re: [Nagios-users] Nagios Startup Failure

Check out the following nagios.cfg options:
debug_level
debug_verbosity
debug_file


On Thu, Aug 27, 2009 at 10:00 AM, VINCENT
BOB-DMHG67<[email protected]> wrote:
> Thanks Terry,
>
> I have tried starting it both with the init script and directly.
>
> It seems to start and then fail quietly after 4-5 seconds.
>
> Bob
>
> -----Original Message-----
> From: Terry [mailto:[email protected]]
> Sent: Thursday, August 27, 2009 7:47 AM
> To: VINCENT BOB-DMHG67
> Cc: [email protected]
> Subject: Re: [Nagios-users] Nagios Startup Failure
>
> On Thu, Aug 27, 2009 at 9:27 AM, VINCENT 
> BOB-DMHG67<[email protected]> wrote:
>> Hi,
>>
>> I am having a strange problem with my Nagios installation.
>>
>> Nagios has been running for about two years on our site.
>>
>> It was updated to 3.0.6 in January of this year.
>>
>> We just discovered that it stopped running and monitoring our
servers.
>>
>> We restarted the system and it immediately fails.
>>
>> Hoping to resolve the issue, I updated the system to 3.2, but it too 
>> fails within seconds of starting.
>>
>> I have been unable to find any log messages regarding the failure.
>>
>> Any suggestions or tips would be appreciated.
>>
>> Bob
>> ---------------------------------------------------------------------
>> -
>> --------
>
> Could just try starting it on the command line:
> nagios /etc/nagios/nagios.cfg
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to