Add pushover-client and configuration.
This commit is contained in:
parent
95972c6d3b
commit
eb4db66bfd
5 changed files with 716 additions and 0 deletions
4
etc/local.d/pushover-alert.start
Executable file
4
etc/local.d/pushover-alert.start
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Alert that this host is up.
|
||||
( sleep 30; [[ -x /opt/sbin/pushover-client ]] && /opt/sbin/pushover-client -p -1 -m "Boot up: ${HOSTNAME%%.*}" ) &
|
||||
4
etc/local.d/pushover-alert.stop
Executable file
4
etc/local.d/pushover-alert.stop
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Alert that this host is going down.
|
||||
[[ -x /opt/sbin/pushover-client ]] && /opt/sbin/pushover-client -p -1 -m "Shut down: ${HOSTNAME%%.*}" &
|
||||
3
etc/pushover-client/default
Normal file
3
etc/pushover-client/default
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
QUIET="true"
|
||||
TOKEN="a484bt3qn6d78noowrik1rwhk3beuk"
|
||||
USER_KEYS="uscT77WKKzaNoLWXZDiBaECab3pE9z"
|
||||
Loading…
Add table
Add a link
Reference in a new issue