On Thu, Nov 3, 2011 at 12:14 PM, Darrik Mazey <darrik.lists at darmasoft.com>wrote:
On 11/03/2011 12:26 AM, Ralph Mitchell wrote:
Giving:
192.168.1.4I get an Apache log entry. Changing that to
192.168.1.4/ <http://192.168.1.4/>I get NO Apache log entry, nothing at all. Adding xymon to the end:
192.168.1.4/xymon <http://192.168.1.4/xymon>gets me green status and a log entry again.
Are you assuming that Xymon is installed at the top level, or are you appending anything to the hostname??
Technically speaking, I make the assumption that xymon is installed top-level. To get the page (depending on version of xymon and assuming ssl is checked) I basically do:
https://<HOSTNAME_SETTING>/nongreen.html
Where HOSTNAME_SETTING is "192.168.1.4/", this gives a request for:
https://192.168.1.4//nongreen.html
The apache Http module kicks up a Bad URI error on a double slash.
If xymon is not installed top-level, HOSTNAME_SETTING can be set to "192.168.1.4/PATH" (no trailing slash) and the request becomes:
https://192.168.1.4/PATH/nongreen.html
I will update the code to check for a trailing slash in the hostname and remove it, as a convenience.
Do you recommend a separate setting for the PATH part, or is it sufficient to append that to the hostname setting?
Perhaps just a note in the hostname setting box? Could it be labelled something like "Hostname and path", or just "Url for xymon"?
Ralph Mitchell
On 11/03/2011 01:31 PM, Ralph Mitchell wrote:
Perhaps just a note in the hostname setting box? Could it be labelled something like "Hostname and path", or just "Url for xymon"?
I wonder if it wouldn't just be less confusing to the end user to just add an optional Path setting for people with xymon installed somwhere other than top-level on the given hostname. "URL" implies the entire path, hostname, and protocol/scheme, so I'd hate to use that label.
Darrik
-- Darrik Mazey DarmaSoft, LLC. 1627 Marigold Avenue Akron, Ohio 44301-2627 tele: 330.238.1333 darrik at darmasoft.com http://www.darmasoft.com/
To obtain my public key, send an email to darrik at publickey.darmasoft.com.
If you access it at tehstatus.com/bb2.html, then your hostname setting should be tehstatus.com.
This is all correct. Browser works.
Prior to fetching bb2.html, XymonQV
I do have a redirect, that's for sure. I forced it to 4.2.3 and I still get a blank pop up.
If you're still having trouble, maybe tar.gz a copy of both / and bb2.html, so I can see if that's it.
I assume these work?
curl -u asdf:pooper http://tehstatus.com/ | gzip - > index.html.gz curl -u asdf:pooper http://tehstatus.com/bb2.html | gzip - > bb2.html.gz
I will email these in a moment.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Thu, Nov 3, 2011 at 1:31 PM, Ralph Mitchell <ralphmitchell at gmail.com> wrote:
On Thu, Nov 3, 2011 at 12:14 PM, Darrik Mazey <darrik.lists at darmasoft.com> wrote:
On 11/03/2011 12:26 AM, Ralph Mitchell wrote:
Giving:
192.168.1.4
I get an Apache log entry. Changing that to
192.168.1.4/ <http://192.168.1.4/>
I get NO Apache log entry, nothing at all. Adding xymon to the end:
192.168.1.4/xymon <http://192.168.1.4/xymon>
gets me green status and a log entry again.
Are you assuming that Xymon is installed at the top level, or are you appending anything to the hostname??
Technically speaking, I make the assumption that xymon is installed top-level. To get the page (depending on version of xymon and assuming ssl is checked) I basically do:
https://<HOSTNAME_SETTING>/nongreen.html
Where HOSTNAME_SETTING is "192.168.1.4/", this gives a request for:
https://192.168.1.4//nongreen.html
The apache Http module kicks up a Bad URI error on a double slash.
If xymon is not installed top-level, HOSTNAME_SETTING can be set to "192.168.1.4/PATH" (no trailing slash) and the request becomes:
https://192.168.1.4/PATH/nongreen.html
I will update the code to check for a trailing slash in the hostname and remove it, as a convenience.
Do you recommend a separate setting for the PATH part, or is it sufficient to append that to the hostname setting?
Perhaps just a note in the hostname setting box? Could it be labelled something like "Hostname and path", or just "Url for xymon"? Ralph Mitchell
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (3)
-
darrik.lists@darmasoft.com
-
josh@imaginenetworksllc.com
-
ralphmitchell@gmail.com