gotify alert not working from anywhere, not sure why... #1

Open
opened 3 months ago by taha · 0 comments
taha commented 3 months ago
Owner

So this used to work:

taha@asks2:~
$ sleep 9 ; ssh luxor -t /home/taha/.local/bin/gotify push --quiet --title 'Alert' --priority 5 'Testing'

Now it just gives connection to <host> closed and no notifications appear to reach the gotify server.

I only noticed because I wanted to add something like this to .bash_aliases:

# Better alert using Gotify server
alias gotify='ssh luxor -t /home/taha/.local/bin/gotify push --quiet --title "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\
+\s*//;s/[;&|]\s*alert$//'\'')" --priority 5 "testing from aliases"'

But that failed as well, obviously. Noting this here for future reference.

So this used to work: ``` taha@asks2:~ $ sleep 9 ; ssh luxor -t /home/taha/.local/bin/gotify push --quiet --title 'Alert' --priority 5 'Testing' ``` Now it just gives `connection to <host> closed` and no notifications appear to reach the gotify server. I only noticed because I wanted to add something like this to `.bash_aliases`: ``` # Better alert using Gotify server alias gotify='ssh luxor -t /home/taha/.local/bin/gotify push --quiet --title "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\ +\s*//;s/[;&|]\s*alert$//'\'')" --priority 5 "testing from aliases"' ``` But that failed as well, obviously. Noting this here for future reference.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.