Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/renchap/nagios_notify_sms_ovh
Small utility to send Nagios alerts on a mobile phone using OVH SMS API
https://github.com/renchap/nagios_notify_sms_ovh
Last synced: 15 days ago
JSON representation
Small utility to send Nagios alerts on a mobile phone using OVH SMS API
- Host: GitHub
- URL: https://github.com/renchap/nagios_notify_sms_ovh
- Owner: renchap
- License: mit
- Created: 2009-12-14T15:30:59.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2012-03-09T10:41:19.000Z (over 12 years ago)
- Last Synced: 2024-10-04T16:30:55.789Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 350 KB
- Stars: 12
- Watchers: 7
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
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