It is a simple script that checks if a website is up.
If it's down, it notifies you via notify-send
(linux UI notification system)
curl
notify-send
(Ubuntu:sudo apt-get install notify-osd
| Archpacman -S libnotify
)
Simply copy all files to /opt/pingdome/
$ pingdome yoursite.com
: Checks ifyoursite.com
is up, if it isn't it displays a notification$ pingdomed yoursite.com
: Does thepingdome
check every 60 seconds$ pingdome-install yoursite.com
: Creates asystemd
service with the namepingdome_yoursite.com
, then enables and starts it which in turn runspingdomed yoursite.com
$ pingdome-remove yoursite.com
: Removes the created service
- The service will only work for the current user & if it has the UID 1000 (otherwise pingdome-setup has to be updated)