Xymon Mailing List Archive search

Android 2.2 App

list Josh Luthman
Thu, 3 Nov 2011 13:44:02 -0400
Message-Id: <CAN9qwJ9f41H3MDkSw_JFZ+s=user-2c05608cd014@xymon.invalid>

If you access user-e234030011b3@xymon.invalid/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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Thu, Nov 3, 2011 at 1:31 PM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid> wrote:
On Thu, Nov 3, 2011 at 12:14 PM, Darrik Mazey <user-634f30452b72@xymon.invalid>
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