Hi, I had to adjust the script so it will replace the Space with %20 in the link composition.
I had to do mine like this:
ICINGAURL="https://icingahost/dashboard#!/monitoring/service/show?host=$HOSTNAME&service=$SERVICENAME"
ICINGAWEBURL=echo "$ICINGAURL" | sed 's/ /%20/g'
If you have a better approach you can update the script. I am not an expert and I did what was the easiest for me.
Also, I used show instead of history because I wanted to display something else to the user once clicked the link.
Overall you did a great job!
Hi, I had to adjust the script so it will replace the Space with %20 in the link composition.
I had to do mine like this:
ICINGAURL="https://icingahost/dashboard#!/monitoring/service/show?host=$HOSTNAME&service=$SERVICENAME"
ICINGAWEBURL=
echo "$ICINGAURL" | sed 's/ /%20/g'If you have a better approach you can update the script. I am not an expert and I did what was the easiest for me.
Also, I used show instead of history because I wanted to display something else to the user once clicked the link.
Overall you did a great job!