<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Courier; font-size: 12pt; color: #006600'>Thanks Phil,<br><br>I do indeed have multiple http tests for the same host that go to <br>different URLs on the same host.  I know it looks funny at first but <br>the reason for this is by design.  You see, the application running <br>behind the apache webserver on this host is programmed to hand out a <br>different status on each URL that indicates the status of the database <br>yet further behind the application.<br><br>For example, database dbB, is shown to be up and running if (and<br>only if) the fetch of URL https://MyUrlB returns an HTTP Status of <br>200.  That is to say, if the application get's a database exception<br>then it is to throw a non-200 status.<br><br>This hosts.cfg entry does work well but it works one way on one <br>monitoring server and the other way on the other monitoring server:<br><br>> The strange thing, is that when dbC fails with a non 200.... <br>> on monitor3 dbC and http tests show red <br>> on monitor5 dbC shows red and http shows green <br><br><br>cheers,<br><br>Troy<br><br><br><br>----- Original Message -----<br>From: "Phil Crooker" <Phil.Crooker@orix.com.au><br>To: "Troy Adams" <troy@athabascau.ca>, xymon@xymon.com<br>Sent: Tuesday, June 28, 2011 1:16:44 AM GMT -07:00 US/Canada Mountain<br>Subject: Re: [Xymon] httpstatus inconsistency<br><br>A rather odd thing I see in your example - you have two http tests for<br>the same host. If you want  to have both I would think you'd need to<br>rename one of them by doing a separate portocols.cfg entry or putting it<br>under a differnet hostname.<br><br>It seems to me that you probably have some syntax error in your<br>hosts.cfg file to cause the different results. <br><br>cheers, Phil<br><br><br>>>> On 28/06/2011 at 4:03 AM, in message<br><1205542418.4630071309197825488.JavaMail.root@amundsen.cs.athabascau.ca>,<br>Troy<br>Adams <troy@athabascau.ca> wrote:<br>> I have two servers (monitor5 and monitor3) running Xymon 4.3.2 that<br>both have <br>> the same hosts.cfg entries for a particular host. The entry uses the<br><br>> httpstatus test and goes like this: <br>> <br>> <br>> 192.168.0.29 camilla # postgresql \ <br>> http://MyUrlA \ <br>> httpstatus=dbB;https://MyUrlB;200 \ <br>> httpstatus=dbC;https://MyUrlC;200 \ <br>> http://MyUrlD <br>> <br>> The strange thing, is that when dbC fails with a non 200.... <br>> on monitor3 dbC and http tests show red <br>> on monitor5 dbC shows red and http shows green <br>> <br>> Why do the two monitoring servers behave differently? <br>> Any idea where to look? <br>> <br>> <br>> thanks, <br>> <br>> Troy <br><br>-- <br><br>This message from ORIX Australia might contain confidential and/or<br>privileged information. If you are not the intended recipient, any use,<br>disclosure or copying of this message (or of any attachments to it) is<br>not authorised.<br><br>If you have received this message in error, please notify the sender<br>immediately and delete the message and any attachments from your<br>system. Please inform the sender if you do not wish to receive future<br>communications by email.<br><br>ORIX handles personal information according to a Privacy Policy that is<br>consistent with the National Privacy Principles. Please let us know if<br>you would like a copy. It is also available at http://www.orix.com.au .<br><br><br></div></body></html>