Skip to content
Snippets Groups Projects
Commit e06f93ad authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update director cli

parent 3d22d4e8
No related branches found
No related tags found
1 merge request!45OP#7617 Icinga client - Zertifikatsprüfung bei Senden an Sattelit prüfen https://projects.iml.unibe.ch/work_packages/7617
......@@ -25,10 +25,11 @@
# 2023-11-03 v0.10 ah fix json key for service link
# 2024-03-26 v0.11 ah on service creation: use http status code instead of exitcode
# 2024-04-09 v0.12 ah add host_notes_url on host
# 2024-11-20 v0.13 ah update rest api client; show --hs param in the help
# ======================================================================
_version="0.12"
_version="0.13"
which curl >/dev/null || exit 1
which jo >/dev/null || exit 1
......@@ -664,6 +665,9 @@ Host actions
--hostdelete
Delete [$MY_NAME] in the icinga director
--hs
--hostshow
Show generated JSON for cur current host what should be sent
Check actions
......@@ -743,7 +747,7 @@ else
. "$_cfg"
fi
. $(dirname $0)/inc_functions.sh
. $(dirname $0)/inc/rest-api-client.sh
. $(dirname $0)/inc/http.class.sh
if [ $# -eq 0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment