Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
Your review has been submitted and is pending approval.
This Script Allow you to send a sms via external API without Plugging in a GSM or Modem using Winsms
Current Version
Latest One
Last Release Date
2016-07-25
Owner
chris
Compatible With
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
You must be logged in to submit a review.
To:
From: