Xymon Mailing List Archive search

Hobbit HTML issue

8 messages in this thread

list Joshua Krause · Fri, 4 Jan 2008 08:21:59 -0500 ·
I am wondering if there is a way to make the name of the host in the
bb-hosts file a link for http, telnet or ssh.  Or if there is another way of
getting something like that.

 
Josh
list H. Klomp · Fri, 4 Jan 2008 16:05:18 +0100 ·
We are using the notes file in the server/www/notes directory to hyperlink to the system in our CMDB

the contents of the notes files is

<html>
<head>
<title>sodn035u</title>
</head>
<frameset>
<frame src="http://servicedesk/ncm/index.php?N=sodn035u">;
</frameset>
</html>
which will open the corresponding webpage of the CMDB

Regards,

Bert Klomp
quoted from Joshua Krause

From: Joshua Krause [mailto:user-41d3365fe380@xymon.invalid]
Sent: vrijdag 4 januari 2008 14:22
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Hobbit HTML issue

I am wondering if there is a way to make the name of the host in the bb-hosts file a link for http, telnet or ssh.  Or if there is another way of getting something like that.

Josh
list Joshua Krause · Fri, 4 Jan 2008 10:28:53 -0500 ·
Are you saving that file as the name of the host in the bb-hosts file?
quoted from H. Klomp

 
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] Sent: Friday, January 04, 2008 10:05 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Hobbit HTML issue

 
We are using the notes file in the server/www/notes directory to hyperlink
to the system in our CMDB 
 
the contents of the notes files is 

<html>
<head>
<title>sodn035u</title>
</head>
<frameset>
<frame src="http://servicedesk/ncm/index.php?N=sodn035u">; </frameset> </html>

which will open the corresponding webpage of the CMDB

 
Regards, 
 
Bert Klomp

 
From: Joshua Krause [mailto:user-41d3365fe380@xymon.invalid] Sent: vrijdag 4 januari 2008 14:22
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Hobbit HTML issue

I am wondering if there is a way to make the name of the host in the
bb-hosts file a link for http, telnet or ssh.  Or if there is another way of
getting something like that.

 
Josh
list Stewart L · Fri, 4 Jan 2008 10:43:34 -0500 ·
We actually modified the source for hobbit to do that for us.  We have
over 500 firewalls with a common naming scheme, so anything that
starts with certain characters makes the host name a link to
https://ip-address.   But it did require some hacking.   If that
sounds appealing, I'll see about getting you a patch listing.

stewart
quoted from Joshua Krause

On Jan 4, 2008 8:21 AM, Joshua Krause <user-41d3365fe380@xymon.invalid> wrote:

I am wondering if there is a way to make the name of the host in the
bb-hosts file a link for http, telnet or ssh.  Or if there is another way of
getting something like that.


Josh

-- 

Stewart

The revolution will not be televised.
The revolution will be no re-run brothers;
The revolution will be live.
list Buchan Milne · Fri, 4 Jan 2008 17:55:53 +0200 ·
quoted from Joshua Krause
On Friday 04 January 2008 15:21:59 Joshua Krause wrote:
I am wondering if there is a way to make the name of the host in the
bb-hosts file a link for http, telnet or ssh.  Or if there is another way
of getting something like that.
We've configured bbgen to make the hostname a link to our CMDB:
CMD bbgen 
$BBGENOPTS --report --wml --rss --nopropyellow=updates,conn --docurl=http://sanity/hardware/search?criteria=hostname&search_string=%s

Regards,
Buchan
list H. Klomp · Fri, 4 Jan 2008 17:11:27 +0100 ·
yes, correct.

The files are automatically created from the database, so easy to maintain.

Regards,

Bert
quoted from Joshua Krause

From: Joshua Krause [mailto:user-41d3365fe380@xymon.invalid]
Sent: vrijdag 4 januari 2008 16:29
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit HTML issue

Are you saving that file as the name of the host in the bb-hosts file?

From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid]
Sent: Friday, January 04, 2008 10:05 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Hobbit HTML issue

We are using the notes file in the server/www/notes directory to hyperlink to the system in our CMDB

the contents of the notes files is

<html>
<head>
<title>sodn035u</title>
</head>
<frameset>
<frame src="http://servicedesk/ncm/index.php?N=sodn035u">;
</frameset>
</html>
which will open the corresponding webpage of the CMDB

Regards,

Bert Klomp

From: Joshua Krause [mailto:user-41d3365fe380@xymon.invalid]
Sent: vrijdag 4 januari 2008 14:22
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Hobbit HTML issue
I am wondering if there is a way to make the name of the host in the bb-hosts file a link for http, telnet or ssh.  Or if there is another way of getting something like that.

Josh
list Stef Coene · Fri, 4 Jan 2008 18:43:49 +0100 ·
quoted from Joshua Krause
On Friday 04 January 2008, Joshua Krause wrote:
I am wondering if there is a way to make the name of the host in the
bb-hosts file a link for http, telnet or ssh.  Or if there is another way
of getting something like that.


Josh
We use TWiki for documentation and changed the settings:

/home/users/hobbit/server/etc # grep -i twiki *
hobbitlaunch.cfg:       CMD bbgen $BBGENOPTS --report --docurl=/twiki/bin/view/Hobbit/DeviceLink%s?cover=print
hobbitserver.cfg:COLUMNDOCURL="/twiki/bin/view/Hobbit/CheckLink%s?cover=print"

If you click on a link that has no TWiki page, you can create a new one.  All pages starting with DeviceLink are documentation about the hosts in hobbit.  All pages starting with CheckLink are documentation about the checks in hobbit.  It is easy to create a TWiki page that creates an overview off all documentation.


Stef
list Bruce White · Fri, 4 Jan 2008 14:34:36 -0600 ·
We do a similar thing to imbed general links and host specific links.   I
have a script which takes in an ASCII file and creates notes pages for a
list of servers.
 
     .....Bruce
quoted from H. Klomp
 

From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] 
Sent: Friday, January 04, 2008 9:05 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Hobbit HTML issue


We are using the notes file in the server/www/notes directory to hyperlink
to the system in our CMDB 
 
the contents of the notes files is 

<html>
<head>
<title>sodn035u</title>
</head>
<frameset>
<frame src="http://servicedesk/ncm/index.php?N=sodn035u

<http://servicedesk/ncm/index.php?N=sodn035u>; "> 
quoted from H. Klomp
</frameset> 
</html>

which will open the corresponding webpage of the CMDB
 
Regards, 
 
Bert Klomp
 

From: Joshua Krause [mailto:user-41d3365fe380@xymon.invalid] 
Sent: vrijdag 4 januari 2008 14:22
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Hobbit HTML issue


I am wondering if there is a way to make the name of the host in the
bb-hosts file a link for http, telnet or ssh.  Or if there is another way of
getting something like that.

 
Josh


Note: The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this message is
not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and deleting it from
your computer. Thank you. Fellowes, Inc.