Xymon Mailing List Archive search

SSH - Make Red if ACTIVE

list John Thurston
Thu, 21 Jul 2016 13:10:18 -0800
Message-Id: <user-2286b301eabe@xymon.invalid>

On 7/21/2016 7:58 AM, FreeSoftwareServers wrote:
I want XYMon to go RED if SSH is ENABLED
0.0.0.0  foo.bar.com  # !ssh

 From the man page for hosts.cfg
By prefixing a test with "!" it becomes a reverse test: Xymon will
expect the service NOT to be available, and send a green status if it
does NOT respond. If a connection to the service succeeds, the status
will go red.
-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska