|
Installation
How to install the AlertMe Perl Interface script. PrerequisitesThe script requires two Perl modules in order to work; the RPC::XML::Client module and the Crypt::SSLeay module. These can be installed using CPAN for your system. You should be able to run AlertMePI on any platform that can run Perl scripts. UNIX-based systems only at the moment (Linux / OS X), as I've used specific file paths in the script. Mac OS XTested on Mac OS X v10.5.6 - 10.7.2.
sudo /usr/bin/cpan -i Crypt::SSLeay
sudo /usr/bin/cpan -i RPC::XML::Client You should be ready to go. InstallationThis is now automated. All you need to do is download the latest version and set the execute bit on it: chmod +x alertmepi.pl Run it from the command line and the first run will prompt you to enter your system password, as it needs to create some files in /etc. It will then prompt you for your AlertMe username and password. These are saved in /etc/alertme and read permission is given to the user that installed it, plus the 'www' group so that it can be used from a web interface. Please change these if you feel you need to. Should you change your AlertMe login details, you'll need to update your details for alertmepi. This can be done by rerunning the script with the -L flag, which will erase your old details and allow you to enter new ones. You could optionally create a link to wherever you keep the file in your $PATH to trigger it more directly, eg. sudo mkdir -p /usr/local/bin ln -s path/to/alertme.pl /usr/local/bin/alertme Enjoy! |
Hey. This looks great. However, i"m trying to install using activeperl and I cannot find the RPC::XML::Client module using PPM. any suggetsions?
Well, I'm three months late with a reply, but I'm afraid I have no experience with activeperl so I can't really be of any help!