This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
link="https://ntfy.XXX.com/upcheck" | |
# uuid generieren | |
uuid="$(uuidgen)" | |
# Nachricht senden | |
/bin/curl -s -w 5 -d "${uuid}" ${link} > /dev/null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/crowdsec/notifications/ntfy.yaml | |
type: http # Don't change | |
name: ntfy # Must match the registered plugin in the profile | |
# One of "trace", "debug", "info", "warn", "error", "off" | |
log_level: trace | |
# group_wait: # Time to wait collecting alerts before relaying a message to this plugin, eg "30s" | |
# group_threshold: # Amount of alerts that triggers a message before <group_wait> has expired, eg "10" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get remove docker docker-engine docker.io containerd runc | |
sudo apt-get update | |
sudo apt-get install ca-certificates curl gnupg -y | |
sudo install -m 0755 -d /etc/apt/keyrings | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg | |
sudo chmod a+r /etc/apt/keyrings/docker.gpg | |
echo \ |