Reply to this topicStart new topic
> Sms Modem Based Paging Example, Using ActiveXperts SMS paging ToolKit
David Leith
post Dec 13 2006, 06:51 PM
Post #1


Guru
****

Group: Uptime Software
Posts: 166
Joined: 1-September 06
From: Toronto, Ontario
Member No.: 25



This example makes use of up.time's custom 'Script Alert' option within an alert profile. This custom script uses a Windows tool named ActiveXperts SMS paging ToolKit to send out SMS text message alerts via a modem installed on the monitoring station. Unfortunately the SMS ToolKit isn't free but a number of other tools can be used ranging from freeware to corporate messaging engines.

How it works.

First, install the SMS Toolkit from ActiveXperts here

Now to setup this custom alert script simply create a new alert profile and enter the path to the attached 'alert.bat' script within the 'Script Alert' section. For example create a new alert profile with these settings:

Name of Alert Profile: Send SMS Pager Alert
Script Alert: Checked
Script Path: c:\scripts\alert.bat
Available Notification Group: NotifySysAdmins (or whatever groups you like)

When up.time triggers this alert profile it will run the 'alert.bat' script one time for each user within the various notification groups you have selected. It will pass the service monitor message and the target users 'Pager Number' to the script via the environment variables 'UPTIME_MESSAGE' and 'UPTIME_MOBILE'. The alert.bat script will then run the commands specific to the SMS Pager toolkit binaries in order to send the page to your users.

Attached Files
smsexample.zip contains:
- alert.bat: a simple wrapper batch file to execute the vbs script that sends the SMS message. up.time executes the batch file directly and the batch worries about the specifics of launching the vbs script.
- sendsms.vbs: the core logic to send off the SMS message using the SMS ToolKit resources.

alert.bat may need to be updated if you use different paths to the included files.

sendsms.vbs may need to be updated to the specifics of your installed modem, it includes some commenting to point you in the right direction. It also includes a debugging option to direct testing messages to a log file.

Please note that debugging of this file is not supported directly by uptime.
Attached File(s)
Attached File  smsexample.zip ( 1.98K ) Number of downloads: 157
 


--------------------
David Leith
Technical Product Manager

uptime software ...because downtime is not an option
Go to the top of the page
 
+Quote Post
Arti
post Aug 29 2010, 10:24 AM
Post #2


Member
*

Group: Members
Posts: 6
Joined: 5-August 10
Member No.: 1,145



Hello David, Thanks a lot. The attached file has only one smsexample file but the bat files are missing.

Is it possible to provide the file again.

regards,
Arti

QUOTE (David Leith @ Dec 13 2006, 07:51 PM) *
This example makes use of up.time's custom 'Script Alert' option within an alert profile. This custom script uses a Windows tool named ActiveXperts SMS paging ToolKit to send out SMS text message alerts via a modem installed on the monitoring station. Unfortunately the SMS ToolKit isn't free but a number of other tools can be used ranging from freeware to corporate messaging engines.

How it works.

First, install the SMS Toolkit from ActiveXperts here

Now to setup this custom alert script simply create a new alert profile and enter the path to the attached 'alert.bat' script within the 'Script Alert' section. For example create a new alert profile with these settings:

Name of Alert Profile: Send SMS Pager Alert
Script Alert: Checked
Script Path: c:\scripts\alert.bat
Available Notification Group: NotifySysAdmins (or whatever groups you like)

When up.time triggers this alert profile it will run the 'alert.bat' script one time for each user within the various notification groups you have selected. It will pass the service monitor message and the target users 'Pager Number' to the script via the environment variables 'UPTIME_MESSAGE' and 'UPTIME_MOBILE'. The alert.bat script will then run the commands specific to the SMS Pager toolkit binaries in order to send the page to your users.

Attached Files
smsexample.zip contains:
- alert.bat: a simple wrapper batch file to execute the vbs script that sends the SMS message. up.time executes the batch file directly and the batch worries about the specifics of launching the vbs script.
- sendsms.vbs: the core logic to send off the SMS message using the SMS ToolKit resources.

alert.bat may need to be updated if you use different paths to the included files.

sendsms.vbs may need to be updated to the specifics of your installed modem, it includes some commenting to point you in the right direction. It also includes a debugging option to direct testing messages to a log file.

Please note that debugging of this file is not supported directly by uptime.

Go to the top of the page
 
+Quote Post
David Leith
post Sep 7 2010, 07:17 PM
Post #3


Guru
****

Group: Uptime Software
Posts: 166
Joined: 1-September 06
From: Toronto, Ontario
Member No.: 25



Hi Arti,
I just double checked the posted zip and it does contain the example vbs and example bat within a folder in the zip archive.

Cheers,

Dave.
Go to the top of the page
 
+Quote Post
esparragoj
post Sep 9 2011, 06:14 PM
Post #4


Member
*

Group: Members
Posts: 1
Joined: 3-August 11
Member No.: 1,390



QUOTE (David Leith @ Sep 7 2010, 08:17 PM) *
Hi Arti,
I just double checked the posted zip and it does contain the example vbs and example bat within a folder in the zip archive.

Cheers,

Dave.


Hello, this zip files says it is empty? Can you somebody please post the batch file? Thanks.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd May 2013 - 11:00 AM