Recently got myself a new work phone - a Galaxy S3 4G. At the same time, I decided to do some research on what I could do about getting notifications to the phone. Notifications of things like RAID array problems, stuff going onto UPS power, that sort of thing.
Enter Pushover. This thing’s pretty awesome. Basically, you buy the app for whatever device it’s going on, and then you sign into their website and get your user key. From there, you can create an ‘application’, which is an API key you can use to send notifications from other things. You can use all sorts of languages to send notifications, and you can even send a special CURL request from a normall shell script to send alerts. Something like this;
curl -s -k \ -F "token=YOURAPIKEYHERE" \ -F "user=YOURUSERKEYHERE" \ -F "message=Content Here" \ -F "title=Title Here" \ -F "priority=0" \ https://api.pushover.net/1/messages.json
Fire that off, and tada! You get an alert to your phone! It’s pretty awesome. You can also tie it together with IFTTT to receive notifications from all sorts of things (your favourite RSS feed getting updated, email matching specific criteria landing in your inbox etc).
Give it a go.