Page 1 of 1

http errors

Posted: Mon Jan 14, 2013 11:59 am
by benhank
I am getting these errors in my http error logs:

Code: Select all

[error] [client 172.2.9.3] Directory index forbidden by Options directive: /usr/local/nagiosxi/html/includes/components/xicore/, referer: http://x.x.x./nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=MFD-UPS-IDF-2-1&service=Input+Voltage&dest=auto

and

[Sun Jan 13 04:18:34 2013] [error] [client x.x.x.x.] PHP Notice:  Undefined variable: class in /usr/local/nagiosxi/html/includes/components/opscreen/merlin.php on line 275, referer:
/usr/local/nagiosxi/html/includes/components/opscreen/merlin.php on line 275, referer: http://x.x.x.x/nagiosxi/includes/components/opscreen/opscreen.php 

Re: http errors

Posted: Mon Jan 14, 2013 12:22 pm
by abrist
What version of XI are you running? Have you tried a different browser? Are the problems with just the opscreen component are have you noticed issues with XI functionality?

Try restarting the apache server:

Code: Select all

service httpd restart

Re: http errors

Posted: Mon Jan 14, 2013 1:10 pm
by benhank
these errors are in the

Code: Select all

/var/log/httpd
I don't think the browser has any impact on this.

Nagios XI 2011R3.3
the problem is that these errors are causing me to have log files in the 600mb range on one day. i need to make sure all is ok before we do the upgrade.

Re: http errors

Posted: Mon Jan 14, 2013 1:28 pm
by scottwilkerson
I attached an updated component for opscreen which can be installed in Admin -> Manage Components

As for the other error, I'll need to know if there are other errors/notices surrounding it, and what pages are being accessed when it occurs.

thanks.

Re: http errors

Posted: Mon Jan 14, 2013 1:37 pm
by benhank
thanks Ill run this and see how it turns out.

Re: http errors

Posted: Mon Jan 14, 2013 5:41 pm
by slansing
Sounds good let us know what happens.

Re: http errors

Posted: Tue Jan 15, 2013 10:59 am
by benhank
Thanks guys. I checked my error log and the problem seems to have gone away. allset!

you guys would not happen to know why that happened ?

Re: http errors

Posted: Tue Jan 15, 2013 1:38 pm
by scottwilkerson
the issue I fixed in opscreen was just an undefined variable and was nothing that would block, but would make a log entry.

It would only occur if you didn't have any problems...

As for the other errors, they should have been related but would of needed more info to decipher the cause...

Re: http errors

Posted: Tue Jan 15, 2013 2:57 pm
by benhank
ok you can lock this thanks again team!