diff --git a/scripts/aws-backup.sh b/scripts/aws-backup.sh index 9fa7e7f..080b4e5 100644 --- a/scripts/aws-backup.sh +++ b/scripts/aws-backup.sh @@ -94,7 +94,7 @@ done < "$BACKUP" source /usr/local/bin/libs/notifications.sh if [[ "$BACKUP_SUCCESS" == true ]]; then - send_notification "AWS Backup: All files successfully backed up." + send_notification "💿 AWS Backup 💿 : All files successfully backed up." else - send_notification "AWS Backup: One or more files failed to back up. Check the log for details." + send_notification "💿 AWS Backup 💿 : One or more files failed to back up. Check the log for details." fi \ No newline at end of file diff --git a/scripts/disk-monitor.sh b/scripts/disk-monitor.sh index 8a472b2..b0b6337 100644 --- a/scripts/disk-monitor.sh +++ b/scripts/disk-monitor.sh @@ -27,8 +27,8 @@ send_notification "$( usage = $5; gsub("%", "", usage); if (usage > max) { - printf "Warning:\nDisk usage is at %d%%, which exceeds the threshold of %d%%.\n\n", usage, max; + printf "⚠️ Warning ⚠️:\nDisk usage is at %d%%, which exceeds the threshold of %d%%.\n\n", usage, max; } - printf "Disk Usage Information:\nTotal: %s, Used: %s, Available: %s\n", $2, $3, $4; + printf "💾 Disk Usage Information 💾 :\nTotal: %s, Used: %s, Available: %s\n", $2, $3, $4; }' )" diff --git a/scripts/sshd-login.sh b/scripts/sshd-login.sh index e12878e..a2aa9e1 100644 --- a/scripts/sshd-login.sh +++ b/scripts/sshd-login.sh @@ -31,10 +31,10 @@ source /usr/local/bin/libs/notifications.sh case "$PAM_TYPE" in open_session) - PAYLOAD=$(printf "Login Event\nUser %s logged in from %s at %s." "$PAM_USER" "$PAM_RHOST" "$(date)") + PAYLOAD=$(printf "🚨 Login Event 🚨\nUser %s logged in from %s at %s." "$PAM_USER" "$PAM_RHOST" "$(date)") ;; close_session) - PAYLOAD=$(printf "Logout Event\nUser %s logged out from %s at %s." "$PAM_USER" "$PAM_RHOST" "$(date)") + PAYLOAD=$(printf "🚨 Logout Event 🚨\nUser %s logged out from %s at %s." "$PAM_USER" "$PAM_RHOST" "$(date)") ;; esac