[Xymon] http checks red with timeout, xymonnet fast

Jeremy Laidman jeremy at laidman.org
Wed Apr 28 18:20:34 CEST 2021


On Wed, 28 Apr 2021 at 17:37, Schrittenlocher, Rolf <
R.Schrittenlocher at ub.uni-frankfurt.de> wrote:

>
>
What is the status of the xymonnet test page for your Xymon server? (This
> will probably show the most recent messages from the xymonnet.log file,
> among other info.)
>
> not quite sure what that test page is.
>

Here's an example:

[image: image.png]

Click on the green dot to see the xymonnet test page.


> I added a http check
> http://our_xymon_server/xymon-cgi/svcstatus.sh?HOST=our_xymon_server&SERVICE=http
> for our xymon server (no certifcate, no https) and the result  is
> interesting. It alternates between less than 1 second and timeout
>
>
This seems to show a failure and then 6 seconds later a success. It's like
there are two xymonnet processes, one reporting a failure and the other
reporting success.

Can you please take a look at two status messages (click on the red/green
dot) that are a few seconds apart, and for each, check the IP address in
the message near the bottom that says, "Status message received from <IP>"
and see if they're both the same, and confirm that they are of the Xymon
server?

I'm not sure what's going on here. But I would try running a packet trace
(eg tcpdump) and inspecting the traffic for the two connections - one that
works and one that doesn't - and compare.

Also perhaps try running xymonnet manually again, but many times, to see if
it's an intermittent fault.

Check the execution parameters in tasks.cfg for the [xymonnet] section, and
make sure you're running xymonnet with the same parameters.

The problem might also be a DNS lookup issue. Try setting "testip" for the
web server in your hosts.cfg file and see if the delay goes away.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20210429/c03b18ab/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hfafegojgcgelkhi.png
Type: image/png
Size: 16332 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20210429/c03b18ab/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 9365 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20210429/c03b18ab/attachment-0001.png>


More information about the Xymon mailing list