File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ zbxApiAuth()
8686 \" id\" : 1,
8787 \" auth\" : null
8888 }
89- " $ZABBIX_API_URL 2> /dev/null
89+ " " $ZABBIX_API_URL " 2> /dev/null
9090 )
9191
9292 if ! [ -z " $ZABBIX_AUTH " ]; then
@@ -128,7 +128,7 @@ zbxApiGetGraphId()
128128 \" auth\" : \" $ZABBIX_AUTH_TOKEN \" ,
129129 \" id\" : 1
130130 }
131- " $ZABBIX_API_URL 2> /dev/null
131+ " " $ZABBIX_API_URL " 2> /dev/null
132132 )
133133
134134 if ! [ -z " $ZABBIX_GRAPH " ]; then
@@ -280,7 +280,7 @@ tlgResult()
280280pushToLog ()
281281{
282282 if [[ $# -eq 1 ]]; then
283- echo -e " [$( date +%Y-%m-%d\ %H:%M:%S) ] Zabbix Telegram alertscript: $1 " >> $SCRIPT_LOG_PATH
283+ echo -e " [$( date +%Y-%m-%d\ %H:%M:%S) ] Zabbix Telegram alertscript: $1 " >> " $SCRIPT_LOG_PATH "
284284 fi
285285}
286286
You can’t perform that action at this time.
0 commit comments