PDA

View Full Version : error in web interface


tnine
08-30-2007, 10:39 PM
Hi all,
I'm in the process of creating a vmware image of 1.4.1 (on centos 5) for distribution. I have everything installed, and I can add an server as administrator. However, I never see it in the web interface. When I view the error_log for apache, I see the following.


Thu Aug 30 06:19:52 2007] [error] [client 10.0.16.29] PHP Notice: Undefined variable: svc in /usr/local/oreon/www
/include/monitoring/engine/MakeXML.php on line 226, referer: http://monitor/oreon/oreon.php?p=2020101&o=svc_ok
[Thu Aug 30 06:19:53 2007] [error] [client 10.0.16.29] PHP Warning: filectime() [<a href='function.filectime'>func
tion.filectime</a>]: stat failed for /usr/local/nagios/var/status.log in /usr/local/oreon/www/include/monitoring/en
gine/MakeXML4statusCounter.php on line 157, referer: http://monitor/oreon/oreon.php?p=2020101&o=svc_ok=


When I look for /usr/local/nagios/var/status.log, the file does not exist, but there is a file named "nagios.log". Are these the same file, if so how do I change the name in nagios or centreon?

Thanks,
Todd

sgrynd
08-30-2007, 10:48 PM
Those are not the same file, you need to have a status.log file.

Make sure that the dir is writeable by nagios.