Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

WINSMS

Rating
0 votes
Favoured:
0
Current Version
Latest One
Last Release Date
2016-07-25
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Owner
Hits
5971
Files:
FileDescription
SendSMS.phpSendSMS.php
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This Script Allow you to send a sms via external API without Plugging in a GSM or Modem using Winsms
This is really simple to use
Steps
1. First is to download the script SendSMS.php and then place it anywhere where on your server Example */sms/.
2. Edit your command.cfg Example:

define command{
command_name notify-host-by-sms
command_line php yourdirectory/sms/SendSMS.php user="your email" password="Yourpassword" cellno="Cellno" message=$CONTACTPAGER$ "$NOTIFICATIONTYPE$ $SERVICESTATE$ $SERVICEDESC$ $NOTIFICATIONCOMMENT$ Host($HOSTNAME$) Info($SERVICEOUTPUT$) Date($SHORTDATETIME$)"

define command{
command_name notify-service-by-sms
command_line php yourdirectory/sms/SendSMS.php user="your email" password="Yourpassword" cellno="Cellno" message=$CONTACTPAGER$ "$NOTIFICATIONTYPE$ $SERVICESTATE$ $SERVICEDESC$ $NOTIFICATIONCOMMENT$ Host($HOSTNAME$) Info($SERVICEOUTPUT$) Date($SHORTDATETIME$)"
}

3. Edit your contact.cfg Example:

define contact{
contact_name your user
use generic-contact
alias your user
service_notification_options s
host_notification_options s
email your email
host_notification_period 24x7
service_notification_period 24x7
host_notification_commands notify-host-by-sms
service_notification_commands notify-service-by-sms
}

Thats all easy ^_^

Ideal for downtime schedules for your servers