[Xymon] Baffled by absence of "ssh" in certain "hosts.cfg" entries, yet SSH tests are run

Greg Earle earle at isolar.DynDNS.ORG
Thu Sep 30 07:19:25 CEST 2021


I'm setting up a new instance of Xymon 4.3.30 on a RHEL 7.9 system and 
something simple has me absolutely baffled.

--
[root at adm2 hosts.d]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.9 (Maipo)

[root at adm2 hosts.d]# rpm -q xymon
xymon-4.3.30-1.el7.x86_64
--

In the setup there are a couple of VMware vCenters and several VMware 
ESXi hosts.

The vCenter(s) have SSH and Web server access, but the ESXi hosts have 
had their SSH servers disabled and they only run the Web services.

A greatly oversimplified version of my 
"/etc/xymon/hosts.d/localhosts.cfg" file is as follows:

--
[root at adm2 hosts.d]# grep https localhosts.cfg
192.168.1.1		vcenter01		# ssh https://vcenter01=192.168.1.1/
192.168.1.100	esxi-1			# https://esxi-1=192.168.1.100/
192.168.1.101	esxi-2			# https://esxi-2=192.168.1.101/
--

After putting in these entries, the vCenter shows up fine in the Web 
interface but the ESXi hosts all show up with an "ssh" column - and red 
entries for all!

About 30 minutes later, they've turned to purple.

As you can see, I didn't put "ssh" into the (local)hosts.cfg file 
entries for the ESXi hosts; so why are they showing up as red alerts?

It's like as if the "https" test is implicitly causing an "ssh" test to 
be run, even if I didn't ask for it.

Color me baffled.  If I don't put "ssh" into the hosts.cfg entry, why is 
it running an "ssh" test?

Any clues?  I'm sure I could probably run "xymon 127.0.0.1 'drop <host> 
ssh'" for all of them, but I'd rather know why this is happening.

Thanks in advance for any help.

		- Greg


More information about the Xymon mailing list