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... 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.