Welcome to the Pandora FMS Module Library

 
This is a library with modules, documentation and tools for Pandora FMS users, both public Open Source and Enterprise. Please use your support credentials (same as used to enter support/ticketing system) in the menu to your right. You will be granted access to a resourceful module library, such as Oracle, VMware, JBoss and others, ready to be used in production enviroments, with official professional support from Artica. If you do not own an enterprise account, you still can browse and download lots of modules, you can even register a free account and contribute with your own modules/tools for other public users.

Home > Miscelaneous

SMS Gateway script for WEB Service at cardboardfish.com

Author: slerena2 Create in: 02/24/2010 Update in: 02/24/2010
Rating:
Module type : Other


This is an implementation of the Perl API of Cardboardfish SMS service using HTTP. Is packaged and ready to be used with Pandora FMS for SMS alerting using the enterprise service at cardboardhist.com.


I made is because we use it, but we don't have any commercial relationship with cardboardfish.com, just adapted their API and implemented an easy to install script :-)


INSTALLATION

Run:

perl Makefile.pm
make
make install

SETUP

Edit /usr/local/bin/sendsms and set your service user & password

USAGE

Call /usr/local/bin/sendsms with three parameters

1. Source ID (Number or string).
2. Destination phone, with international code. For example (in spain) 34678282828
3. Message text with single quotes, for example 'This is my message text'

A sample call to this command will be

sendsms PandoraFMS 34627934456 'Your server is ready, thanks'

Included files