Update checkmk.sh
This commit is contained in:
@@ -27,7 +27,7 @@ set -e
|
||||
CHECK_MK_SERVER="gauntcheckmk.home.johnhgaunt.com"
|
||||
SITE_NAME="Gaunt"
|
||||
API_URL="http://${CHECK_MK_SERVER}/${SITE_NAME}/check_mk/api/1.0"
|
||||
USERNMAE="automation"
|
||||
USERNMAE="agent_registration"
|
||||
PASSWORD="$1"
|
||||
AUTHORIZATION_HEADER="Authorization: Bearer ${USERNMAE} ${PASSWORD}"
|
||||
read -e -p "Enter Hostname: " -i "$(cat /etc/hostname)" HOSTNAME
|
||||
|
||||
Reference in New Issue
Block a user