Xymon Mailing List Archive search

Running Hobbit on custom apache port

6 messages in this thread

list Charles Jones · Mon, 23 Oct 2006 10:39:07 -0700 ·
Im running my Hobbit apache on a custom port. At the bottom of alerts, 
it does not specify the port number, and also does not use the FQDN:

"See http://hobbitserver/hobbit-cgi/bb-hostsvc.sh?HOST=somehost&SERVICE=cpu";

Where can I make a change so that instead I get the FQDN, and the port, 
like:

"See http://hobbitserver.mydomain.com:8000/hobbit-cgi/bb-hostsvc.sh?HOST=somehost&SERVICE=cpu";


-Charles
list Greg L Hubbard · Mon, 23 Oct 2006 13:01:44 -0500 ·
In the file ~server/etc/hobbitserver.cfg, change the setting of
BBSERVERWWWNAME to include your port -- i.e. change from
"myserver.myspot.com" to "myserver.myspot.com:8000" -- this should
propagate throughout Hobbit.
quoted from Charles Jones

-----Original Message-----
From: Charles Jones [mailto:user-e86b4aeade4e@xymon.invalid] 
Sent: Monday, October 23, 2006 12:39 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Running Hobbit on custom apache port

Im running my Hobbit apache on a custom port. At the bottom of alerts,
it does not specify the port number, and also does not use the FQDN:

"See
http://hobbitserver/hobbit-cgi/bb-hostsvc.sh?HOST=somehost&SERVICE=cpu";

Where can I make a change so that instead I get the FQDN, and the port,
like:

"See

http://hobbitserver.mydomain.com:8000/hobbit-cgi/bb-hostsvc.sh?HOST=some
host&SERVICE=cpu"


-Charles
list Charles Jones · Mon, 23 Oct 2006 11:27:41 -0700 ·
Thanks Greg! I should have thought to look there before asking :)

-Charle
quoted from Greg L Hubbard

Hubbard, Greg L wrote:
In the file ~server/etc/hobbitserver.cfg, change the setting of
BBSERVERWWWNAME to include your port -- i.e. change from
"myserver.myspot.com" to "myserver.myspot.com:8000" -- this should
propagate throughout Hobbit.

-----Original Message-----
From: Charles Jones [mailto:user-e86b4aeade4e@xymon.invalid] 
Sent: Monday, October 23, 2006 12:39 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Running Hobbit on custom apache port

Im running my Hobbit apache on a custom port. At the bottom of alerts,
it does not specify the port number, and also does not use the FQDN:

"See
http://hobbitserver/hobbit-cgi/bb-hostsvc.sh?HOST=somehost&SERVICE=cpu";

Where can I make a change so that instead I get the FQDN, and the port,
like:

"See
http://hobbitserver.mydomain.com:8000/hobbit-cgi/bb-hostsvc.sh?HOST=some
host&SERVICE=cpu"
list Charles Jones · Tue, 05 Dec 2006 14:11:29 -0700 ·
I just discovered a new issue. My Hobbit server Apache only runs in SSL 
mode, so the url is https, not http. At the bottom of alert emails, it 
says to go to http.  Is there anywhere to change this to https, other 
than hacking the source and recompiling?

-Charles
quoted from Charles Jones

Charles Jones wrote:
Thanks Greg! I should have thought to look there before asking :)

-Charle

Hubbard, Greg L wrote:
In the file ~server/etc/hobbitserver.cfg, change the setting of
BBSERVERWWWNAME to include your port -- i.e. change from
"myserver.myspot.com" to "myserver.myspot.com:8000" -- this should
propagate throughout Hobbit.

-----Original Message-----
From: Charles Jones [mailto:user-e86b4aeade4e@xymon.invalid] Sent: Monday, October 
23, 2006 12:39 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Running Hobbit on custom apache port

Im running my Hobbit apache on a custom port. At the bottom of alerts,
it does not specify the port number, and also does not use the FQDN:

"See
http://hobbitserver/hobbit-cgi/bb-hostsvc.sh?HOST=somehost&SERVICE=cpu";

Where can I make a change so that instead I get the FQDN, and the port,
like:

"See
http://hobbitserver.mydomain.com:8000/hobbit-cgi/bb-hostsvc.sh?HOST=some
host&SERVICE=cpu"
  
list Charles Jones · Tue, 05 Dec 2006 14:17:28 -0700 ·
*sigh*  Yet again I ask a question and almost immediately figure it out after I have already sent it.
The fix is to edit BBWEBHOST in hobbitserver.cfg (changing http to https).

-Charles
quoted from Charles Jones

Charles Jones wrote:
I just discovered a new issue. My Hobbit server Apache only runs in SSL mode, so the url is https, not http. At the bottom of alert emails, it says to go to http.  Is there anywhere to change this to https, other than hacking the source and recompiling?

-Charles

Charles Jones wrote:
Thanks Greg! I should have thought to look there before asking :)

-Charle

Hubbard, Greg L wrote:
In the file ~server/etc/hobbitserver.cfg, change the setting of
BBSERVERWWWNAME to include your port -- i.e. change from
"myserver.myspot.com" to "myserver.myspot.com:8000" -- this should
propagate throughout Hobbit.

-----Original Message-----
From: Charles Jones [mailto:user-e86b4aeade4e@xymon.invalid] Sent: Monday, October 23, 2006 12:39 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Running Hobbit on custom apache port

Im running my Hobbit apache on a custom port. At the bottom of alerts,
it does not specify the port number, and also does not use the FQDN:

"See
http://hobbitserver/hobbit-cgi/bb-hostsvc.sh?HOST=somehost&SERVICE=cpu";

Where can I make a change so that instead I get the FQDN, and the port,
like:

"See
http://hobbitserver.mydomain.com:8000/hobbit-cgi/bb-hostsvc.sh?HOST=some 
host&SERVICE=cpu"
  
list Michael A. Price · Wed, 06 Dec 2006 06:35:10 -0500 ·
Charles,

Update your hobbitserver.cfg file and change the BBWEBHOST variable to be this.

BBWEBHOST="https://$BBSERVERWWWNAME";

STOP/Start hobbit and this should work.

good luck, michael

Michael A. Price
Performance Network Engineering
NASA/GSFC Code 440.8/LMB
Greenbelt, Maryland 20770
            Phone:  XXX-XXX-XXXX
            Cell:   XXX-XXX-XXXX
            e-mail: user-2a9e3c790857@xymon.invalid
quoted from Charles Jones


Charles Jones wrote:
I just discovered a new issue. My Hobbit server Apache only runs in SSL mode, so the url is https, not http. At the bottom of alert emails, it says to go to http.  Is there anywhere to change this to https, other than hacking the source and recompiling?

-Charles

Charles Jones wrote:
Thanks Greg! I should have thought to look there before asking :)

-Charle

Hubbard, Greg L wrote:
In the file ~server/etc/hobbitserver.cfg, change the setting of
BBSERVERWWWNAME to include your port -- i.e. change from
"myserver.myspot.com" to "myserver.myspot.com:8000" -- this should
propagate throughout Hobbit.

-----Original Message-----
From: Charles Jones [mailto:user-e86b4aeade4e@xymon.invalid] Sent: Monday, October 23, 2006 12:39 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Running Hobbit on custom apache port

Im running my Hobbit apache on a custom port. At the bottom of alerts,
it does not specify the port number, and also does not use the FQDN:

"See
http://hobbitserver/hobbit-cgi/bb-hostsvc.sh?HOST=somehost&SERVICE=cpu";

Where can I make a change so that instead I get the FQDN, and the port,
like:

"See
http://hobbitserver.mydomain.com:8000/hobbit-cgi/bb-hostsvc.sh?HOST=some 
host&SERVICE=cpu"