http errors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

http errors

Post 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 
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: http errors

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: http errors

Post 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.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: http errors

Post 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.
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: http errors

Post by benhank »

thanks Ill run this and see how it turns out.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: http errors

Post by slansing »

Sounds good let us know what happens.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: http errors

Post 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 ?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: http errors

Post 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...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: http errors

Post by benhank »

ok you can lock this thanks again team!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Locked