I created a new cluster in hosts. When I assigned my active check (run from the local check_mk server), it tried to send the HOSTNAME of the cluster to the python script below. That did not work as the HOSTNAME is not real. I thought check_slick.py would run on ALL servers in the cluster and if at least one host replied, it would be placed on the cluster and not the hosts.
From: Andreas DÃ¶hler <***@gmail.com>
Sent: Thursday, June 14, 2018 11:45 PM
To: Eric Gurevitz <***@qti.qualcomm.com>
Subject: Re: [Check_mk (english)] active check on a cluster
With cluster do you mean a cluster object defined inside WATO?
If yes then you can assign the job in the same way as you assign it to the real host objects.
The cluster object name is the same as the normal host name for rules.
Eric Gurevitz <***@qti.qualcomm.com<mailto:***@qti.qualcomm.com>> schrieb am Do., 14. Juni 2018 um 16:43 Uhr:
I wrote an active check that runs from the check_mk server:
check_slick.py -H $HOSTNAME$ -P 27102
I made a WATO rule to assign this to the 3 license servers. It works.
I cannot find how to add my active check to a cluster. Is this possible?
IT Engineer, Staff
checkmk-en mailing list
Manage your subscription or unsubscribe