Hobbit alert URL in emails (Re: [hobbit] Running Hobbit on custom apache port)
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:jonescr at cisco.com] Sent: Monday, October 23, 2006 12:39 PM To: hobbit at hswn.dk 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"
*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
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:jonescr at cisco.com] Sent: Monday, October 23, 2006 12:39 PM To: hobbit at hswn.dk 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,
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: 240-684-1356 Cell: 410-507-7476 e-mail: mprice at hst.nasa.gov
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:jonescr at cisco.com] Sent: Monday, October 23, 2006 12:39 PM To: hobbit at hswn.dk 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"
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (2)
-
jonescr@cisco.com
-
mprice@hst.nasa.gov