Xymon Mailing List Archive search

http checks red with timeout, xymonnet fast

list Jeremy Laidman
Thu, 29 Apr 2021 19:05:37 +1000
Message-Id: <CACO=ejxi0a9fTqiGG8UD-hd7Vm31uxT8kNESX_=user-c5ff4831b7d0@xymon.invalid>

On Thu, 29 Apr 2021 at 18:54, Schrittenlocher, Rolf <
user-c8b69be9a15a@xymon.invalid> wrote:
I would exclude DNS as Solaris looks first in /etc/hosts before asking a
nameserver and some of the adressesare included in /etc/hosts. As well,
ping works fine.
Xymon (typically) uses its own DNS resolver library, so testing that DNS
works for Solaris commands might not give you the same results.

One option you might look into is to run truss (strace on Linux) and attach
it to the xymonnet process. Then when it performs its check, truss will
show you all of the system calls that it makes. You might see it pause on a
particular system call for 15 seconds before continuing on its way, and
knowing that system call might lead you to the cause of the problem.

(It's been many years since I've used truss. I think that dtrace might have
replaced it?)

Good luck with it.

Cheers
Jeremy