Trying to get Nagios going!

Kenneth.ray kenneth.ray at travelersla.com
Thu Aug 22 21:42:32 CEST 2002


ok, here is what you need to check..
check your webserver logs, it should have the access times of when you
looked at the page.. that might tell you what is happening to you..
two.
how are you starting Nagios? are you using daemon mode?
if you are, try it  just by opening a window, i found that if the
/var/rw/nagios.lock file exists. the system has a hard time of starting,
and will actually appear as if it is running till you get to the  page
where you attempt to display any data from the monitored hosts..
instead of typing nagios -d ../etc/nagios.cfg  try " nagios
../etc/nagios.cfg"
this assumes you are in the bin directory of the location you installed
nagios into, by default this is /usr/local/nagios/bin
and also assumes that your nagios.cfg file is in the etc directory of
the same main directory..
after checking the logs and provided you do not get the error. saying it
cannot create or write to nagios.lck....

when you start nagios, and do a ps what do you get..
these are the things i have run accross in my working with Nagios so
far..




From: Greg Vickers <g.vickers at qut.edu.au>
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Trying to get Nagios going!

--=====================_9226234==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Arrgh! This is similar the error I'm getting! I'll reiterate Warren's
request :)

Nagios completes it's pre-flight checks (-v) all OK, then I start it
manually and it opens the log file fine, I can browse the main web page
and
the documentation, then when I try to access any monitoring page I get
this:

Error: Could not read host and service status information!

Under the reporting menu, I get the same message up to the Alert History

link, when viola! I can see the history of what nagios has been trying
to
do (with my dummy alert monitors etc) Through the web interface I can
view
all the configuration objects that i've put in, so I know that is
working.

I've checked all the config information and can't find any errors. And
ideas about the above?

Thanks,

At 17:45 22/08/2002, you wrote:
>Hi
>
>I am trying install Nagios everything 'seems' to install OK but when I
>connect to the server through my browser from a remote PC I get the
>following error:
>
>Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg'
for
>reading!
>
>I think I have checked all the paths etc and I am unable to find an
error.
>Obviously there is a problem here. Appreciate any pointers you can give
me.
>
>regards
>
>Warren






-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list