Since is not possible configure Classic Teams Webhook (deprecated, and it does not work from teams gui), I just created a workflow for "Gatus" monitoring application. goto: https://make.powerautomate.com/ go to My flows > New flow > instant cloud flow select "When a Teams webhook request is received" > create configure: "Who can trigger the flow" > anyone add an action, search for: post message in a chat or channel configure: "post as": flow bot "post in": channel "team": dropdown select team "channel": dropdown select channel "content": Content: @...
[ERROR] [backup] Backup failed with an exception: Util.dump_instance: Argument #2: The AWS access and secret keys were not found in: environment variables mysql do not provide a good documentation about mysql operator. ORACLE WANT YOU TO USE OCI! USE OCI cmon. mysql operator wants aws "cretentials" file down the "/mysqlsh/.aws folder, it does this in pod through VolumeMount the secret file, nothing about to worry about. PS: If you are trying to backup to an s3 endpoint with self signed or with private ca certificate, loose all hopes. I do not find a solution about that. cat secret [default] aws_access_key_id=REDACTED aws_secret_access_key=REDACTED cat secret | base64 -w 0 W2RlZmF1bHRdIAphd3NfYWNjZXNzX2tleV9pZD1SRURBQ1RFRAphd3Nfc2VjcmV0X2FjY2Vzc19rZXk9UkVEQUNURUQKCg== ...
### backupscript.sh export RESTIC_REPOSITORY=sftp:administrator@172.16.7.1:/e:/resticroot ##this is a windows sftp server export RESTIC_PASSWORD=passwordstring restic --verbose backup /srv if [ $? -ne 0 ] then sed -i '1s/^/Subject: restic error\n/' /root/restic_jobs/transcript.log cat /root/restic_jobs/transcript.log | ssmtp -vvv email@provider.com fi restic --verbose forget --keep-last 2 --prune if [ $? -ne 0 ] then sed -i '1s/^/Subject: restic error\n/' /root/restic_jobs/transcript.log cat /root/restic_jobs/transcript.log | ssmtp -vvv email@provider.com fi #### ssmtp.conf # # Config file for sSMTP sendmail # # The person who gets all mail for userids < 1000 # Make this empty to disable rewriting. root=postmaster # The place where the mail goes. The actual machine name is required no # MX records are consulted. Commonly mailhosts are named mail.domain.com #mailhub=mail # Where will the mail seem to come from? #rewriteDomain= #...
Commenti
Posta un commento