Whoops Error for no reason

Edgar Matzinger Edgar.Matzinger at valid.nl
Mon Feb 23 16:04:40 CET 2009


Hi Sebastian,

> ps faux shows me nagios running:
> nagios   30461  0.0  0.0  34384  1884 ?        SNsl 22:10   0:00
> /usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg

  here you're referring to nagios3...
> 
> nagios -v ...  tells me

and here to nagios... Are both executables the same? And did you (and
I assume you did, but just to verify) specify "/etc/nagios3/nagios.cfg"
for "..."? If so, then I'm stumped, but it could also be a problem
with any of the CGIs. Do the nagios status and log files report any
monitoring activity of the nagios daemon? Or are there any errors in
those files?

With regards to the CGIs, what is the value of main_config_file in
<your-config-dir-specified-during-build>/cgi.cfg? That should be
/etc/nagios3/nagios.cfg. And <your-config-dir-specified-during-build>
is normally "/etc/nagios", but can be changed during the ./configure
phase. Do a "strings /<path-to>/status.cgi | grep cgi.cfg" to verify
it's location.

HTH, cu l8r, Edgar.
-- 
    |\  /| :                                : Addr: Valid Eindhoven B.V.
 /  | \/ | :     Edgar R. Matzinger         :       t.a.v. E.R. Matzinger
/   |    | :                                :       Paradijslaan 36
\  /|  /\| :                                :       5611 KN Eindhoven
 \/   /  \ :     Valid Eindhoven BV         :
  \  /\  / :                                :
   \/ |\/  :                                :
      |    :                                :
Disclaimer: Any comments, opinions made are mine, etc ... 


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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