execute: ruby ip_changed_notifier.rb <your email> arguments: -r if you want be notify only when your ip has changed. installation: You need the gems ActionMailer and tlsmail. (sudo gem install tlsmail actionmailer)
pedrombl/IP-Changed-Notifier
A ruby script to notify if the IP of your server computer had change
Ruby