<div class="gmail_quote">On Thu, Nov 3, 2011 at 12:14 PM, Darrik Mazey <span dir="ltr"><<a href="mailto:darrik.lists@darmasoft.com">darrik.lists@darmasoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 11/03/2011 12:26 AM, Ralph Mitchell wrote:<br>
> Giving:<br>
><br>
>       192.168.1.4<br>
><br>
> I get an Apache log entry.  Changing that to<br>
><br>
</div>>       <a href="http://192.168.1.4/" target="_blank">192.168.1.4/</a> <<a href="http://192.168.1.4/" target="_blank">http://192.168.1.4/</a>><br>
<div class="im">><br>
> I get NO Apache log entry, nothing at all.  Adding xymon to the end:<br>
><br>
</div>>       <a href="http://192.168.1.4/xymon" target="_blank">192.168.1.4/xymon</a> <<a href="http://192.168.1.4/xymon" target="_blank">http://192.168.1.4/xymon</a>><br>
<div class="im">><br>
> gets me green status and a log entry again.<br>
><br>
> Are you assuming that Xymon is installed at the top level, or are you<br>
> appending anything to the hostname??<br>
<br>
</div>Technically speaking, I make the assumption that xymon is installed<br>
top-level.  To get the page (depending on version of xymon and assuming<br>
ssl is checked) I basically do:<br>
<br>
https://<HOSTNAME_SETTING>/nongreen.html<br>
<br>
Where HOSTNAME_SETTING is "<a href="http://192.168.1.4/" target="_blank">192.168.1.4/</a>", this gives a request for:<br>
<br>
<a href="https://192.168.1.4//nongreen.html" target="_blank">https://192.168.1.4//nongreen.html</a><br>
<br>
The apache Http module kicks up a Bad URI error on a double slash.<br>
<br>
If xymon is not installed top-level, HOSTNAME_SETTING can be set to<br>
"<a href="http://192.168.1.4/PATH" target="_blank">192.168.1.4/PATH</a>" (no trailing slash) and the request becomes:<br>
<br>
<a href="https://192.168.1.4/PATH/nongreen.html" target="_blank">https://192.168.1.4/PATH/nongreen.html</a><br>
<br>
I will update the code to check for a trailing slash in the hostname and<br>
remove it, as a convenience.<br>
<br>
Do you recommend a separate setting for the PATH part, or is it<br>
sufficient to append that to the hostname setting?<br></blockquote><div><br></div><div>Perhaps just a note in the hostname setting box?  Could it be labelled something like "Hostname and path", or just "Url for xymon"?</div>
<div><br></div><div>Ralph Mitchell </div></div>