Xymon Mailing List Archive search

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

2 messages in this thread

list Greg Earle · Wed, 29 Sep 2021 22:19:25 -0700 ·
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
list John Thurston · Thu, 30 Sep 2021 15:50:07 -0800 ·
I suggest it is because you once had 'ssh' on each of them. The test ran, then you took it off of all but one. 30-mins later, the test result on the unwanted hosts turned purple.

If you click on the purple bubble and look at the history, how long was it green? Exactly one test cycle?

--
Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Department of Administration
State of Alaska
quoted from Greg Earle

On 9/29/2021 9:19 PM, Greg Earle wrote:
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.