Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /netdata/packaging/docker/ drwxr-xr-x | |
| Viewing file: Select action/file-type: #!/bin/sh
#
# This is the script that gets run for our Docker image health checks.
if [ -z "${NETDATA_HEALTHCHECK_TARGET}" ] ; then
# If users didn't request something else, query `/api/v1/info`.
NETDATA_HEALTHCHECK_TARGET="http://localhost:19999/api/v1/info"
fi
case "${NETDATA_HEALTHCHECK_TARGET}" in
cli)
netdatacli ping || exit 1
;;
*)
curl -sSL "${NETDATA_HEALTHCHECK_TARGET}" || exit 1
;;
esac
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0055 ]-- |