Xymon Mailing List Archive search

Custom URL in header

10 messages in this thread

list Dave Morgan · Tue, 28 Oct 2008 08:57:21 -0400 ·
I would like to add a link to another monitoring system on our hobbit front
page.  One would think that this is possible, but the documentation doesn't
really make it clear to me as to where/how this can be done.  Can someone
point me in the right direction?
Dave

-- 
David S. Morgan CISSP, CCNP
aka: user-4691629dd582@xymon.invalid

"When the Winds of Change Blow Hard Enough,
the Most trivial of things can turn into deadly projectiles"
list Dan McDonald · Tue, 28 Oct 2008 08:18:18 -0500 ·
quoted from Dave Morgan
On Tue, 2008-10-28 at 08:57 -0400, Dave Morgan wrote:
I would like to add a link to another monitoring system on our hobbit
front page.  One would think that this is possible, but the
documentation doesn't really make it clear to me as to where/how this
can be done.  Can someone point me in the right direction?
On my system, /usr/lib/hobbit/server/www/menu appears to be the salient
directory


-- 
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com
list Stef Coene · Tue, 28 Oct 2008 14:44:54 +0100 ·
quoted from Dave Morgan
On Tuesday 28 October 2008, Dave Morgan wrote:
I would like to add a link to another monitoring system on our hobbit front
page.  One would think that this is possible, but the documentation doesn't
really make it clear to me as to where/how this can be done.  Can someone
point me in the right direction?
Take a look in the web direcory. You need file bb_header.

Stef
list Dave Morgan · Tue, 28 Oct 2008 10:18:14 -0400 ·
This is almost what I am looking for.

I was able to add in a line to this file under reports....(code snip)

...

['Reports', null, null,

...

 ['Mgmt Server', 'https://url here']

],

...

And clicking on this link takes me to the new URL.  Does anyone know
if I can have it pop up into a new window, as opposed to using the
hobbit window?

Dave
quoted from Dave Morgan

On Tue, 2008-10-28 at 08:57 -0400, Dave Morgan wrote:
I would like to add a link to another monitoring system on our hobbit
front page.  One would think that this is possible, but the
documentation doesn't really make it clear to me as to where/how this
can be done.  Can someone point me in the right direction?
On my system, /usr/lib/hobbit/server/www/menu appears to be the salient
directory

-- 
David S. Morgan CISSP, CCNP
aka: user-4691629dd582@xymon.invalid

"When the Winds of Change Blow Hard Enough,
the Most trivial of things can turn into deadly projectiles"
list Richard Wachter · Tue, 28 Oct 2008 09:25:26 -0500 ·
If you add the flag " target=_blank " to the href you will get the effect
you are looking for


*no new window* <a href="http://www.computerstuff.org/">; Computer stuff </a>

*new window* <a href="http://www.computerstuff.org/"; target=_blank >
Computer stuff </a>
quoted from Dave Morgan


On Tue, Oct 28, 2008 at 9:18 AM, Dave Morgan <user-4691629dd582@xymon.invalid> wrote:
This is almost what I am looking for.

I was able to add in a line to this file under reports....(code snip)

...

['Reports', null, null,

...

 ['Mgmt Server', 'https://url here']

],

...

And clicking on this link takes me to the new URL.  Does anyone know if I can have it pop up into a new window, as opposed to using the hobbit window?

Dave

On Tue, 2008-10-28 at 08:57 -0400, Dave Morgan wrote:
I would like to add a link to another monitoring system on our hobbit
front page.  One would think that this is possible, but the
documentation doesn't really make it clear to me as to where/how this
can be done.  Can someone point me in the right direction?
On my system, /usr/lib/hobbit/server/www/menu appears to be the salient
directory

--
David S. Morgan CISSP, CCNP
aka: user-4691629dd582@xymon.invalid

"When the Winds of Change Blow Hard Enough,
the Most trivial of things can turn into deadly projectiles"
-- 
===================================

Richard Wachter
Just a guy
user-2fe3c77158da@xymon.invalid
<><   A good name is more desirable than great riches; to be esteemed is
better than silver or gold. (Pro 22:1)
list Dave Morgan · Tue, 28 Oct 2008 11:14:28 -0400 ·
*Dkim-signature*: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com;
s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender
:to:subject:in-reply-to:mime-version:content-type:references
:x-google-sender-auth; bh=GP4zmiOXk2G/EoOiboet5zkmbQsxbvh9VFS3rrEw7ZQ=;
b=qtEmRyW99J7qt9jKYFy3XzlvAHcxtdyevT2L61gloRKXSveGyGbcLHHk3zmOYqbTWd
DNA363P5f1Zw9jdV3ILUd/l6AbnP5SiRJe525TlT+zg/cQZxpERKawsT04NYjYx8vCMr
UDNYxkqZBcJLqauHWKstz0jaWZQhZKjB4EajE=
*Domainkey-signature*: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
h=message-id:date:from:sender:to:subject:in-reply-to:mime-version
:content-type:references:x-google-sender-auth;
b=ffIlEDTDXUNuxoQBwz4D8t3XuogRvTY8ACKpM7EhPcoPgWcmBRxFr58T2RjQZC1zNp
0sp3ndHmHaMyGvTkrHWMUm9Y/GZ8EXk/Zh0kNBKy9NhgUo8kR73GhVV7N5qIlOS9J2HV
gTub1lixg+KH0OV7Zx6otvSLDfB2cp0BVDSZA=
*References*: <user-bdf2e8710cfb@xymon.invalid>
Just tried using the <a stuff mentioned> and I get a java error.

Any other thoughts?
quoted from Richard Wachter
If you add the flag " target=_blank " to the href you will get the
effect you are looking for
*no new window* <a href="http://www.computerstuff.org/"; <http://www.computerstuff.org/%22>;>; Computer stuff </a>
*new window* <a href="http://www.computerstuff.org/"; <http://www.computerstuff.org/%22>;; target=_blank >
quoted from Richard Wachter
Computer stuff </a>

On Tue, Oct 28, 2008 at 9:18 AM, Dave Morgan <user-4691629dd582@xymon.invalid>
wrote:
This is almost what I am looking for.

I was able to add in a line to this file under reports....(code snip)

...

['Reports', null, null,

...

 ['Mgmt Server', 'https://url here']

],

...

And clicking on this link takes me to the new URL.  Does anyone know
if I can have it pop up into a new window, as opposed to using the
hobbit window?

Dave
-- 
David S. Morgan CISSP, CCNP
aka: user-4691629dd582@xymon.invalid

"When the Winds of Change Blow Hard Enough,
the Most trivial of things can turn into deadly projectiles"
list Rafal Roginela · Tue, 28 Oct 2008 10:51:41 -0500 ·
Hi,

 
Change this ['Mgmt Server', 'https://url <https://url/>;  here'] to
['Mgmt Server', 'https://url <https://url/>;  here', {'tw':'_blank'}]

 
Hope it helps. I just tried it on my server works great!

Rafal Roginela

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

 This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
quoted from Dave Morgan

From: Dave Morgan [mailto:user-4691629dd582@xymon.invalid] 
Sent: Tuesday, October 28, 2008 10:14 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Custom URL in header

 
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com;
s=gamma;
h=domainkey-signature:received:received:message-id:date:from:sender
:to:subject:in-reply-to:mime-version:content-type:references
:x-google-sender-auth; bh=GP4zmiOXk2G/EoOiboet5zkmbQsxbvh9VFS3rrEw7ZQ=;
b=qtEmRyW99J7qt9jKYFy3XzlvAHcxtdyevT2L61gloRKXSveGyGbcLHHk3zmOYqbTWd
DNA363P5f1Zw9jdV3ILUd/l6AbnP5SiRJe525TlT+zg/cQZxpERKawsT04NYjYx8vCMr
UDNYxkqZBcJLqauHWKstz0jaWZQhZKjB4EajE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
h=message-id:date:from:sender:to:subject:in-reply-to:mime-version
:content-type:references:x-google-sender-auth;
b=ffIlEDTDXUNuxoQBwz4D8t3XuogRvTY8ACKpM7EhPcoPgWcmBRxFr58T2RjQZC1zNp
0sp3ndHmHaMyGvTkrHWMUm9Y/GZ8EXk/Zh0kNBKy9NhgUo8kR73GhVV7N5qIlOS9J2HV
gTub1lixg+KH0OV7Zx6otvSLDfB2cp0BVDSZA=
References: <user-bdf2e8710cfb@xymon.invalid>

 
Just tried using the <a stuff mentioned> and I get a java error.

 
Any other thoughts?

 
If you add the flag " target=_blank " to the href you will get the 
effect you are looking for
 
*no new window* <a href="http://www.computerstuff.org/";
<http://www.computerstuff.org/%22>; ;> Computer stuff </a>
 
*new window* <a href="http://www.computerstuff.org/";
<http://www.computerstuff.org/%22>; ; target=_blank >
Computer stuff </a>
 
 
On Tue, Oct 28, 2008 at 9:18 AM, Dave Morgan <user-4691629dd582@xymon.invalid>
wrote:
 
This is almost what I am looking for.

I was able to add in a line to this file under reports....(code snip)

...

['Reports', null, null,

...

 ['Mgmt Server', 'https://url <https://url/>;  here']

],

...

And clicking on this link takes me to the new URL.  Does anyone know 
if I can have it pop up into a new window, as opposed to using the 
hobbit window?

Dave
-- 
David S. Morgan CISSP, CCNP
aka: user-4691629dd582@xymon.invalid

"When the Winds of Change Blow Hard Enough,
the Most trivial of things can turn into deadly projectiles"
list Martin Flemming · Tue, 28 Oct 2008 20:39:30 +0100 (CET) ·
Nice !!

.. but for me, i've got "only" a new tab .. not a new window

.. is that right or miss i something ?

cheers,
 	martin
quoted from Rafal Roginela


On Tue, 28 Oct 2008, Rafal Roginela wrote:
Hi,


Change this ['Mgmt Server', 'https://url <https://url/>;  here'] to
['Mgmt Server', 'https://url <https://url/>;  here', {'tw':'_blank'}]


Hope it helps. I just tried it on my server works great!

Rafal Roginela

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

From: Dave Morgan [mailto:user-4691629dd582@xymon.invalid]
Sent: Tuesday, October 28, 2008 10:14 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Custom URL in header


Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com;
s=gamma;
h=domainkey-signature:received:received:message-id:date:from:sender
:to:subject:in-reply-to:mime-version:content-type:references
:x-google-sender-auth; bh=GP4zmiOXk2G/EoOiboet5zkmbQsxbvh9VFS3rrEw7ZQ=;
b=qtEmRyW99J7qt9jKYFy3XzlvAHcxtdyevT2L61gloRKXSveGyGbcLHHk3zmOYqbTWd
DNA363P5f1Zw9jdV3ILUd/l6AbnP5SiRJe525TlT+zg/cQZxpERKawsT04NYjYx8vCMr
UDNYxkqZBcJLqauHWKstz0jaWZQhZKjB4EajE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
h=message-id:date:from:sender:to:subject:in-reply-to:mime-version
:content-type:references:x-google-sender-auth;
b=ffIlEDTDXUNuxoQBwz4D8t3XuogRvTY8ACKpM7EhPcoPgWcmBRxFr58T2RjQZC1zNp
0sp3ndHmHaMyGvTkrHWMUm9Y/GZ8EXk/Zh0kNBKy9NhgUo8kR73GhVV7N5qIlOS9J2HV
gTub1lixg+KH0OV7Zx6otvSLDfB2cp0BVDSZA=

References: <205395ec0810280718p12f2d967s548fa344ae67de12 (at)
mail.gmail.com>
quoted from Rafal Roginela


Just tried using the <a stuff mentioned> and I get a java error.


Any other thoughts?

If you add the flag " target=_blank " to the href you will get the
effect you are looking for
*no new window* <a href="http://www.computerstuff.org/";
<http://www.computerstuff.org/%22>; ;> Computer stuff </a>
*new window* <a href="http://www.computerstuff.org/";
<http://www.computerstuff.org/%22>; ; target=_blank >
Computer stuff </a>

On Tue, Oct 28, 2008 at 9:18 AM, Dave Morgan <user-4691629dd582@xymon.invalid>
wrote:
This is almost what I am looking for.

I was able to add in a line to this file under reports....(code snip)

...

['Reports', null, null,

...

 ['Mgmt Server', 'https://url <https://url/>;  here']

],

...

And clicking on this link takes me to the new URL.  Does anyone know
if I can have it pop up into a new window, as opposed to using the
hobbit window?

Dave
-- 
David S. Morgan CISSP, CCNP
aka: user-4691629dd582@xymon.invalid

"When the Winds of Change Blow Hard Enough,
the Most trivial of things can turn into deadly projectiles"

list Richard Wachter · Tue, 28 Oct 2008 15:41:33 -0500 ·
That is a browser setting and not a problem with the HTML code.
quoted from Martin Flemming


On Tue, Oct 28, 2008 at 2:39 PM, Martin Flemming <user-f286aaa49a76@xymon.invalid>wrote:
Nice !!

.. but for me, i've got "only" a new tab .. not a new window

.. is that right or miss i something ?

cheers,
       martin


On Tue, 28 Oct 2008, Rafal Roginela wrote:

 Hi,

Change this ['Mgmt Server', 'https://url <https://url/>;  here'] to
['Mgmt Server', 'https://url <https://url/>;  here', {'tw':'_blank'}]


Hope it helps. I just tried it on my server works great!

Rafal Roginela

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

From: Dave Morgan [mailto:user-4691629dd582@xymon.invalid]
Sent: Tuesday, October 28, 2008 10:14 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Custom URL in header


Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com;
s=gamma;
h=domainkey-signature:received:received:message-id:date:from:sender
:to:subject:in-reply-to:mime-version:content-type:references
:x-google-sender-auth; bh=GP4zmiOXk2G/EoOiboet5zkmbQsxbvh9VFS3rrEw7ZQ=;
b=qtEmRyW99J7qt9jKYFy3XzlvAHcxtdyevT2L61gloRKXSveGyGbcLHHk3zmOYqbTWd
DNA363P5f1Zw9jdV3ILUd/l6AbnP5SiRJe525TlT+zg/cQZxpERKawsT04NYjYx8vCMr
UDNYxkqZBcJLqauHWKstz0jaWZQhZKjB4EajE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
h=message-id:date:from:sender:to:subject:in-reply-to:mime-version
:content-type:references:x-google-sender-auth;
b=ffIlEDTDXUNuxoQBwz4D8t3XuogRvTY8ACKpM7EhPcoPgWcmBRxFr58T2RjQZC1zNp
0sp3ndHmHaMyGvTkrHWMUm9Y/GZ8EXk/Zh0kNBKy9NhgUo8kR73GhVV7N5qIlOS9J2HV
gTub1lixg+KH0OV7Zx6otvSLDfB2cp0BVDSZA=
References: <205395ec0810280718p12f2d967s548fa344ae67de12 (at)
mail.gmail.com>


Just tried using the <a stuff mentioned> and I get a java error.


Any other thoughts?


 If you add the flag " target=_blank " to the href you will get the
effect you are looking for
 *no new window* <a href="http://www.computerstuff.org/";
<http://www.computerstuff.org/%22>; ;> Computer stuff </a>

 *new window* <a href="http://www.computerstuff.org/";
<http://www.computerstuff.org/%22>; ; target=_blank >
Computer stuff </a>


 On Tue, Oct 28, 2008 at 9:18 AM, Dave Morgan <user-4691629dd582@xymon.invalid>
 wrote:
 This is almost what I am looking for.
I was able to add in a line to this file under reports....(code snip)

...

['Reports', null, null,

...

 ['Mgmt Server', 'https://url <https://url/>;  here']

],

...

And clicking on this link takes me to the new URL.  Does anyone know
if I can have it pop up into a new window, as opposed to using the
hobbit window?

Dave

--
David S. Morgan CISSP, CCNP
aka: user-4691629dd582@xymon.invalid

"When the Winds of Change Blow Hard Enough,
the Most trivial of things can turn into deadly projectiles"

-- 
===================================
Richard Wachter
Just a guy
user-2fe3c77158da@xymon.invalid
<><   A good name is more desirable than great riches; to be esteemed is
better than silver or gold. (Pro 22:1)
list Martin Flemming · Tue, 28 Oct 2008 22:29:17 +0100 (CET) ·
Of course,
  you're  right ! ;-)
quoted from Richard Wachter

martin

On Tue, 28 Oct 2008, Richard Wachter wrote:
That is a browser setting and not a problem with the HTML code.


On Tue, Oct 28, 2008 at 2:39 PM, Martin Flemming <user-f286aaa49a76@xymon.invalid>wrote:
Nice !!

.. but for me, i've got "only" a new tab .. not a new window

.. is that right or miss i something ?

cheers,
       martin


On Tue, 28 Oct 2008, Rafal Roginela wrote:

 Hi,

Change this ['Mgmt Server', 'https://url <https://url/>;  here'] to
['Mgmt Server', 'https://url <https://url/>;  here', {'tw':'_blank'}]


Hope it helps. I just tried it on my server works great!

Rafal Roginela

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

From: Dave Morgan [mailto:user-4691629dd582@xymon.invalid]
Sent: Tuesday, October 28, 2008 10:14 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Custom URL in header


Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com;
s=gamma;
h=domainkey-signature:received:received:message-id:date:from:sender
:to:subject:in-reply-to:mime-version:content-type:references
:x-google-sender-auth; bh=GP4zmiOXk2G/EoOiboet5zkmbQsxbvh9VFS3rrEw7ZQ=;
b=qtEmRyW99J7qt9jKYFy3XzlvAHcxtdyevT2L61gloRKXSveGyGbcLHHk3zmOYqbTWd
DNA363P5f1Zw9jdV3ILUd/l6AbnP5SiRJe525TlT+zg/cQZxpERKawsT04NYjYx8vCMr
UDNYxkqZBcJLqauHWKstz0jaWZQhZKjB4EajE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
h=message-id:date:from:sender:to:subject:in-reply-to:mime-version
:content-type:references:x-google-sender-auth;
b=ffIlEDTDXUNuxoQBwz4D8t3XuogRvTY8ACKpM7EhPcoPgWcmBRxFr58T2RjQZC1zNp
0sp3ndHmHaMyGvTkrHWMUm9Y/GZ8EXk/Zh0kNBKy9NhgUo8kR73GhVV7N5qIlOS9J2HV
gTub1lixg+KH0OV7Zx6otvSLDfB2cp0BVDSZA=
References: <205395ec0810280718p12f2d967s548fa344ae67de12 (at)
mail.gmail.com>


Just tried using the <a stuff mentioned> and I get a java error.


Any other thoughts?


 If you add the flag " target=_blank " to the href you will get the
effect you are looking for
 *no new window* <a href="http://www.computerstuff.org/";
<http://www.computerstuff.org/%22>; ;> Computer stuff </a>

 *new window* <a href="http://www.computerstuff.org/";
<http://www.computerstuff.org/%22>; ; target=_blank >
Computer stuff </a>


 On Tue, Oct 28, 2008 at 9:18 AM, Dave Morgan <user-4691629dd582@xymon.invalid>
 wrote:
 This is almost what I am looking for.
I was able to add in a line to this file under reports....(code snip)

...

['Reports', null, null,

...

 ['Mgmt Server', 'https://url <https://url/>;  here']

],

...

And clicking on this link takes me to the new URL.  Does anyone know
if I can have it pop up into a new window, as opposed to using the
hobbit window?

Dave

--
David S. Morgan CISSP, CCNP
aka: user-4691629dd582@xymon.invalid

"When the Winds of Change Blow Hard Enough,
the Most trivial of things can turn into deadly projectiles"

-- 
===================================
Richard Wachter
Just a guy
user-2fe3c77158da@xymon.invalid
<><   A good name is more desirable than great riches; to be esteemed is
better than silver or gold. (Pro 22:1)
Gruss

        Martin Flemming


Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : XXX - XXXX - XXXX
22603 Hamburg      mail   : user-f286aaa49a76@xymon.invalid