Updated to properly show config/users[advanced]

dev
Eric Loyd 9 months ago
parent 8d3eed8981
commit 6c686a494a

@ -95,6 +95,7 @@ get_myAPIep() {
ss|servicestatus) myOptions[APIep]="servicestatus";; ss|servicestatus) myOptions[APIep]="servicestatus";;
sh|statehistory) myOptions[API]="objects"; myOptions[APIep]="statehistory";; sh|statehistory) myOptions[API]="objects"; myOptions[APIep]="statehistory";;
tp|timeperiod) myOptions[APIep]="timeperiod";; tp|timeperiod) myOptions[APIep]="timeperiod";;
u*) myOptions[APIep]="user";;
*) myOptions[APIep]="";; *) myOptions[APIep]="";;
esac esac
} }
@ -611,6 +612,7 @@ case "${myOptions[API]}/${myOptions[APIep]}" in
;; ;;
config/host) tmpQuick=".host_name,.address,.check_command";; config/host) tmpQuick=".host_name,.address,.check_command";;
config/contact) tmpQuick=".contact_name,.email";; config/contact) tmpQuick=".contact_name,.email";;
system/user) tmpQuick=".user_id,.username,.name,.email,.enabled";;
esac esac
do_debug 1 "myOptions[Options]=${myOptions[Options]}" do_debug 1 "myOptions[Options]=${myOptions[Options]}"

Loading…
Cancel
Save