New install - nagios-2.0b3

Lien, Mitch mitch.lien at medtronic.com
Fri May 27 17:13:01 CEST 2005


Hi.

I have been starting nagios as follows (using your nagios directory/file path(s)):

/usr/local/nagios/bin/nagios /etc/nagios/nagios.cfg &

I have only used the "-d" when starting the client agents/nrpe as a daemon.

Hope this helps.



-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Albert
Whale
Sent: Friday, May 27, 2005 10:02 AM
To: Arno Lehmann
Cc: aewhale at Spam-Zapper.com; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] New install - nagios-2.0b3


Thanks for the reply Arno!

Arno Lehmann wrote:

> Hello,
>
> Albert Whale wrote:
>
>> Here is my issues, a stock (textbook - from the Docs) indicates that 
>> the is complete, and clean:
>>
>> /usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg
>
> ...
>
>> Total Warnings: 0
>> Total Errors:   0
>>
>> Things look okay - No serious problems were detected during the 
>> pre-flight check
>>
>> Does anyone have a suggestion at what I need to review next?  
>> Obviously the overview process is missing something here.
>
>
> How do you start nagios? Make sure you use the same configuration file.
>
> Arno
>
>
I start it as follows:

 /usr/local/nagios/bin/nagios -d /etc/nagios/nagios.cfg

There is nothing on the command line, and also no process running, so I 
have to seek out the syslog information to find the following:

May 27 10:58:36 ns4 nagios: Nagios 2.0b3 starting... (PID=1633)
May 27 10:58:36 ns4 nagios: LOG VERSION: 2.0
May 27 10:58:36 ns4 nagios: Bailing out due to one or more errors 
encountered in the configuration files.  Run Nagios from the command 
line with the -v option to verify your config before restarting. (PID=1633)

Again, the vicious cycle begins.  Do I need any environment variables 
set for this to work???  I get the same errors from the init.script 
startup for nagios.

Any Ideas?



-- 
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network, Risk Assessment and Systems Consultant
-------------------------------------------------------------------
ABS Computer Technology, Inc. - www.ABS-CompTech.com
SPAM Zapper - No-JunkMail.com - Spam-Zapper.com - SPAM Stops Here.
President of the Pittsburgh InfraGard Alliance



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
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


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
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