Skip to content
Permalink
Browse files

Log munin_asana script params

  • Loading branch information...
Devgrapher committed Jul 29, 2019
1 parent 0e39d79 commit 17603a2e43e2dedb25fd1f2d8a9cc50a46e6041e
Showing with 3 additions and 0 deletions.
  1. +3 −0 munin/run_uptime_warning.sh
@@ -6,6 +6,9 @@ source $base_dir/.env
# Run script with given prameters
$base_dir/uptime_warning.sh $@

# Log params for debuggin
echo $@ >> /var/log/munin/munin_asana.log

# Check the last return code
if [ $? != 0 ]; then
mail -s "Uptime warning script :: $(hostname)" ${EMAIL_ON_ERROR} <<< "Script Error."

0 comments on commit 17603a2

Please sign in to comment.
You can’t perform that action at this time.