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

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
2215
Files:
FileDescription
SendSMS.phpSendSMS.php
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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