Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Small utility to send Nagios alerts on a mobile phone using OVH SMS API
Ruby
branch: master

This branch is even with renchap:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
MIT-LICENCE
README
conf.sample.yml
nagios_notify_sms_ovh.rb
single_checker.rb

README

== Summary ==
Small utility to send Nagios alerts on a mobile phone using OVH SMS API

== Files ==

* nagios_notify_sms_ovh.rb => sends SMS
* single_checker.rb => only checks for remaining credit

== Sample nagios config ==

define command {
        command_name    notify-host-by-sms
        command_line    /usr/bin/ruby /usr/local/nagios_notify_sms_ovh/nagios_notify_sms_ovh.rb -c /usr/local/nagios_notify_sms_ovh/conf.yml -m host -h $HOSTALIAS$ -d "$LONGDATETIME$" -t $NOTIFICATIONTYPE$ -a $HOSTSTATE$ -e '' -n "$CONTACTPAGER$"
}

define command {
        command_name    notify-service-by-sms
        command_line    /usr/bin/ruby /usr/local/nagios_notify_sms_ovh/nagios_notify_sms_ovh.rb -c /usr/local/nagios_notify_sms_ovh/conf.yml -m service -s "$SERVICEDESC$" -h $HOSTALIAS$ -d "$LONGDATETIME$" -t $NOTIFICATIONTYPE$ -a $HOSTSTATE$ -e "$SERVICEOUTPUT$" -n $CONTACTPAGER$
}

== Credits ==
Original author : Renaud Chaput
Contributors :
* Nicolas Szalay

== Licence ==
This script is licenced under MIT Licence
Something went wrong with that request. Please try again.