LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-26-2009, 12:25 PM   #1
DrStrangepork
LQ Newbie
 
Registered: Aug 2009
Posts: 22

Rep: Reputation: 15
Nagios always reloads home page


Someone must be experiencing this same problem, so hopefully there is a hack out there to fix this.

I recently updated my Nagios from 3.0.6 to 3.2. Now when I reload any page, instead of getting a reloaded page, Nagios loads the home page (main.php) - VERY annoying. Anyone know of a work around?
 
Old 10-26-2009, 05:45 PM   #2
lin*x
LQ Newbie
 
Registered: Aug 2009
Posts: 15

Rep: Reputation: 1
I have to agree, i had the same problem... i've not had the time to try and fix... but if you don't get any joy here i'd suggest looking at the http://www.nagios-portal.org/wbb/index.php forum... some great nagios people on there and your bound to find some help. Not saying no-one here knows the answer by any means... i've just found better answers from there regarding nagios in the past.

Its probably something to do with the fact they have gone to using main.php rather than what it used to be main.html.....

If you get an answer form the other forum... please post it here as well for all to see.

Its an annoying problem!
 
Old 08-08-2011, 03:33 AM   #3
Ernazar
LQ Newbie
 
Registered: Aug 2011
Location: Uzbekistan, Tashkent
Distribution: Gentoo, RedHat, Ubuntu, FreeBSD
Posts: 2

Rep: Reputation: Disabled
I solved it by deleting all php code from index.php and placing instead of
Code:
<frame src="<?php echo $corewindow;?>" name="main" frameborder="0">
this
Code:
<frame src="main.php" name="main" frameborder="0">
and then move index.php to index.html

Here is my index.html

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

<html>
<head>
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<title>Nagios Core</title>
<link rel="shortcut icon" href="images/favicon.ico" type="image/ico">
</head>


<frameset cols="180,*">
<frame src="side.php" name="side" frameborder="0">
<frame src="main.php" name="main" frameborder="0">

<noframes>
<!-- This page requires a web browser which supports frames. -->
<h2>Nagios Core</h2>
<p align="center">
<a href="http://www.nagios.org/">www.nagios.org</a><br>
Copyright &copy; 2010-2011 Nagios Core Development Team and Community Contributors.
Copyright &copy; 1999-2010 Ethan Galstad<br>
</p>
<p>
<i>Note: These pages require a browser which supports frames</i>
</p>
</noframes>

</frameset>

</html>
 
1 members found this post helpful.
Old 08-08-2011, 05:18 AM   #4
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 494

Rep: Reputation: 75
Quote:
Originally Posted by Ernazar View Post
I solved it by deleting all php code from index.php and placing instead of
Code:
<frame src="<?php echo $corewindow;?>" name="main" frameborder="0">
this
Code:
<frame src="main.php" name="main" frameborder="0">
Works like a charm

Thanks for the tips,
Angel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using nagios to check user login on web page venuwin Linux - Software 5 01-25-2009 08:11 AM
Westell wireless DSL modem reloads when I visit a specific website ovf Linux - Wireless Networking 4 08-16-2008 09:28 PM
embed table from nagios status page on differnet webpage with maybe iframe? sinbsd Programming 0 05-08-2008 01:57 PM
Page reloads continusly jtmillard LQ Suggestions & Feedback 4 12-08-2005 04:39 PM
lost start page (home page?) multiplaone Linux - Newbie 1 05-29-2005 07:10 PM


All times are GMT -5. The time now is 08:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration