Displaying web pages


#1

Hi all.
I’ve installed Nagios 3.2.1 on my server.
My objective is to monitor either servers or switches.
Is it possible to make Nagios to display (switching) automatically between “Map page”, “Hosts page” and “Services page” on a single monitor?
Thanks to everyone who wants to help me.


#2

AFAIK nagios only cycles through it’s maps… but you could try some container page with a JS to steer a cycle loading nagios subpages in a FRAME/IFRAME


#3

Hi Luca,
first of all thanks for the help furnished me,
could you point out me (if you know it) a container js to reach my purpose?


#4

haven’t done this before…
but a sleep for 5 seconds and then a window.document.location.href = ‘http://www.mynewiurl.com’;
with each page havign a different iframe and a different new location should do it…


#5

Thanks Luca, has resolved my problem.


#6

Glad it helped, and if you have a couple of useful code snippets it’s very welcome :slight_smile:


#7

Hi Luca,
this is whot i’ve found.

Dashboard Example body, html { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; } iframe { border: none; }