Re: Displaying the webpages properly

Stanley Hopcroft <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Dear Sir,

I am writing to say that I think you are out of luck.

On Fri, Aug 23, 2002 at 02:14:45PM +0000, Manohar Pradhan wrote:
> Hi,
> 
> I have many hosts and services being monitored. And i find it very difficult 
> to see all the hostgroups in a same window. I am wondering if I can 
> configure Netsaint to show defined Setof Hostgroup in each page so that I 
> could distribute the Hostgroups into various pages. I see the STATUS.CGI 
> file can take argument hostgroup with values ALL or HOSTGROUPNAME however, 
> wondering if I could have some combination of HOSTGROUP1, HOSTGROUP2 in same 
> page.

Firstly, the only correct answer is to read and understand the status.c 
program text (and the cgiutils.c if necessary) and see if this is 
feasable.

I think that you will need to modify these programs to do what you want.

You may consider re-coding them as Perl - if it's possible to get the
same display precision with CGI.pm - because doing so (and using CGI.pm) 
would eliminate the code that reads the CGI input from the web server.


> 
> And second part of the question is How can I configure the web server to 
> switch between these pages continuously so that (using some meta-tag 
> REFRESH) they keep on rotating all the pages one after another.

I think this would require a new CGI:

new_cgi?page1&page2&page3

that would display the each page for an interval and then cycle to the 
next.

You may be able to do this fairly simply yourself (calling status.cgi to
do the display).

> 
> Would appreciate if anyone can give me some hints.
> 
> Regards
> Manohar
> 
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Netsaint-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netsaint-users

-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.