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