WebPager
Rampant WebPager
Installation and Information Guide
Rampant, Inc!!
4700 Rockside Road, Suite 400
Independence, Ohio 44131
(216) 524-5577
www.rampant.com
Last Revised April 27, 1998
WebPager - ISP Monitoring Package
WebPager® is a set of tools developed and assembled by Rampant to continuously monitor its web servers. If service interruptions in NT services such as HTTP, FTP, DNS, Email, or others are encountered, technical support staff is alerted immediately by text pager.
Unlike traditional "ping" tools that can only detect if a computer is running, WebPager actually downloads pages from the server to insure that the specific Web and FTP Services are delivering information to your customers. This feature is a necessity because real world Web and FTP software such as Microsoft IIS, Netscape Commerce Server, Website, etc. do occasionally stop without warning or error. While the cause of the error should be researched, the critical need in an ISP environment is to restore services immediately.
The WebPager tool is smart enough to attempt to restart failed services without any manual intervention.
At each step, page recipients receive news on the status of the server. Typically, sites are checked every 60 seconds, but this can be adjusted to as little as 10 seconds.
WebPager can be run on several computers so that if any server fails, multiple messages will be sent. Windows NT servers have the ability to restart services on other network servers. The paging, monitoring and logging features runs on both Windows95 and Windows NT. Computers should be equipped with a local modem with a private phone line in order to use paging.
WebPager has the ability to continuously update an HTML report page showing the latest results.
As you monitor your site for extended periods you can collect key information on the success, time, bytes read and other details. Each request is added to a statistics file in a format used by major spreadsheets or databases. A Microsoft Access database is included which displays summary reports based on this historical information.
Overview
*Table of Contents
*Features
*License Pricing
*Product Contents
*Setup
*Installation
*Editing the INI file
*Operation
*Running From DOS
*Creating Shortcuts for common commands
*Command Line Features
*On-Line Documentation
*Alarm
*List / Loop
*Page
*Reboot / Abort Reboot (NT only!)
*Services (NT Only)
*Start/Stop Services (NT Only)
*Web Copy Utility
*WebPager Database
*Summary Reports under the sample Microsoft Access 7.0 database
*WebPager HTM Status
*Continuous monitoring via the WebPager HTM output.
*License to Use
*Your license to use the software…
*Limits of Liability
*Additional Copyright and Proprietary Rights
*
WebPager is a utility for monitoring web sites.
WebPager was developed by Rampant to continuously monitor the operation of hundreds of web sites. Rampant developed WebPager to provide critical capabilities necessary to commercial ISPs.
Rampant runs WebPager on multiple servers. If any service fails, each of the network servers try to restart the service. During any restart, text pages are sent to support staff to indicate the success/failure of any operation. In the event of serious service failure, WebPager can be used to reboot servers on the network from remote locations.
Key Features provided by WebPager
Tracking and statistics for commercial ISPs.
Message delivery, logging and statistics, on-line status.
The monitoring and command line features run under Windows 95.
Handy tools for tracking Internet sites.
WebPager is offered in two versions:
Standalone WebPager
$495Fully licensed software and utilities for monitoring and paging on one computer.
Commercial Web License
$695Includes C++ source code and unlimited site license.
WebPager is delivered with several powerful applications.
The main application runs as a command line utility. It copies web/ftp sites to the screen, a file, or simply checks that a file exists. Additional commands allow for sending text pages, rebooting servers remotely, and starting and stopping NT services.
WebPager incorporates excellent modem and paging routines developed by Tanner and Associates. In addition to the WebPager software you receive a copy of the general purpose paging utility and documentation sold under the name ConPage.
A logging feature in WebPager creates a statistics file showing the results of each request. The CSV (comma delimited file) can be used with all major spreadsheets, databases or word processors. A Microsoft Access 97 database is included which links to the statistics file and displays summary reports showing the success (or failures) of each site you are monitoring.
For further information call
Rampant at (216) 524-5577
Or visit the webpager site at
http://www.rampant.com/webpagerEverything necessary to run WebPager is located on the single floppy. The application runs from the WebPager directory on the hard disk.
Determine the "COM" port your modem is on. Be sure your modem is already working.
(NT Note: WebPager can use modems that are allocated to Remote Access Service. When paging, WebPager will temporarily shut down RAS to send the messages, then restart RAS on completion.)
Paging Information:
Your Pager number(s):
Your Pager access number:
Your modem’s Comm port:
Internet Sites and NT services to be monitored:
Example:
1.
http://www.rampant.com2. dns://mailA.rampant.com
(NT Note: You can use WebPager to generate a list of the exact names for NT services.)
Run
DOS> webpager servicesOr specify a remote network server:
DOS> webpager services ACTNG2WebPager is ready for service!
Edit the
WinPager.INI file with any standard text editor such as NotePad, Write, etc.
[WebPager]
ProgDesc=Rampant Web Monitor and Pager
Notice=(C)1998 Rampant,Inc.All Rights Reserved.
ContactInfo=(216)524-5577 Independence, Oh. 44131
ContactWeb=www.Rampant.com email:rampant@rampant.com
FirstCall=04/27/98 04:38:08
CallCount=1
[SiteMonitorList]
ListMaxEntries=25
ListTimerSeconds=
10ListOutputFile=NULL
1=
HTTP://myserver3=
DNS://NS1.myISP[Notify]
NotifyMaxEntries=10
Access_Number=
9121655500001=
9,,55512122=
9,,5551297[PagerCommunications]
PORT=
COM1BAUD=1200
Modem_Init_Str=
Modem_Dial_Str=
Max_chars_per_blk=230
Debug_File=C:\WebPager\powerp32.dbg
Minimize=N
[NTSERVICENAME]
HTTP=W3SVC
FTP=MSFTPSVC
[HTMLREPORT]
WEBFILE=C:\WebPager\WebPager.HTM
HTMSTATUS=ON
[LOGGING]
WARNING=Warning: logging can use up a large amount of disk space
CSVFILE=C:\WebPager\WebPager.CSV
CSVSTATUS=
ON
Example 1: WebPager.INI
Most of the items in the INI file are informational. Bolded items are typically changed. If you ever need to restore the original defaults, delete
C:\webpager\webpager.ini, and run WebPager one time.
WebPager is a command line utility with built in help. Additional documentation is pulled from the
http://www.rampant.com/webpager website to insure that you have the latest information and software.
You can run the command line WebPager from an MS-DOS Prompt. For a list of the specific commands see the Command Line Features section.
![]()

Creating Shortcuts for common commands
You can also create shortcuts for the most common commands such as
webpager loop
Under Windows, create a shortcut
Click
Start, Settings, TaskBarClick the
Add… button.

Type the command you want to run. Example:
C:\webpager\webpager loop


Place the shortcut in the appropriate Program folder
(use Startup to launch WebPager at system startup)
Give the shortcut a name and finish.
WebPager displays common commands when run without any arguments.
At the same time, WebPager reaches out to Rampant’s server to check the WebPager site for new information, or to verify that you are running the latest software update. Additional information from the web site will display as regular text.
C:\>
webpagerUsage: WebPager <fromURL> <toFILE>
<fromURL> - URL for FTP, Gopher, HTTP, HTTPS, or Gopher.
<toFile> - Output filename, 'NUL', or blank for screen.
Examples:
WebPager HTTP://www.rampant.com index.htm (copies to file)
WebPager FTP://ftp.rampant.com (displays to screen)
Continuous Site and Service Monitoring:
Define sites/services to monitor in [SiteMonitorList] of "WEBPAGER.INI"
WebPager LIST (check list one time)
WebPager LOOP (check list continuously)
Pager Notification: (see [PagerCommunications] in "WEBPAGER.INI")
WebPager PAGE "Send this message to everyone on the notify list"
WebPager ALARM (test the alarm sound)
WebPager Services:
WebPager REBOOT server1 (reboot in 60 seconds)
WebPager ABORT server1 (cancel reboot)
WebPager SERVICES server1 | MORE (list services and status)
WebPager STOP W3SVC server2 (stop WWW service on server2)
WebPager START MSFTPSVC (start FTP service on local machine)
For the latest information check http://www.rampant.com/webpager
Example 1: Running WebPager without arguments displays help information.
Sound the tone that signals the server cannot connect or restart a site.
' Listen to the warning tone
C:\WEBPAGER>
webpager alarmWebPager successful completion.
List runs one time through the sites and services specified in the
[MonitorList] in WebPager.INI.Loop runs continuously until stopped with
cntl-break.As the List/Loop runs, it displays statistics and updates the WebPager.HTM file.
In the example below, the leftmost number is the current running entry, followed by how many times it’s been run. The number before the byte count is the number of error loops that have occurred (used only while waiting for a service to restart)
' Continuously monitor web sites
C:\WEBPAGER>
webpager loop4 1 HTTP://www.rampant.com 0 4547 bytes
Send a text page to all users in the [NOTIFY] section of WebPager.INI. Enclose the text portion in double quotes.
' Sending a page
C:\WEBPAGER>
webpager page "Servers will reboot at noon"WebPager successful completion.
(NT only!)
Reboots NT servers across the network. You must issue the command from an NT server and have proper login privileges.
reboot
waits 60 seconds before initiating the shutdown. You can cancel the reboot with the abort command.
' Starting a reboot
C:\WEBPAGER>
webpager reboot deptserverInitiateSystemShutdown returned Success
Server elgin will shutdown in 60 Seconds!!!
To Abort:
dos> webpager abort deptserver
WebPager successful completion.
' Canceling a reboot
C:\WEBPAGER>
webpager abort deptserverAbortSystemShutdown returned Success
WebPager successful completion.
A note about NT login privileges:
If the machine you are running on is NOT a primary or backup domain controller, the authentication uses the local administrator account. You will need to login under that account to access system services on your local machine only. Although your network login may not give you access to the local machine, it does enable you to reboot and start/stop services on the primary and backup servers.
You may also be able to grant privileges to a Domain Admin group and assign logins from the primary domain controller to open access to system services.
Use WebPager to check the status of services on local or remote computers.
' Check the status of services
C:\WEBPAGER>
webpager services deptserverOK
Alerter OK Alerter
pcANYWHERE Host Service OK awhost32
Computer Browser OK Browser
EventLog OK EventLog
Server OK LanmanServer
Workstation OK LanmanWorkstation
License Logging Service OK LicenseService
TCP/IP NetBIOS Helper OK LmHosts
Messenger OK Messenger
Net Logon OK Netlogon
NT LM Security Support Provider OK NtLmSsp
Plug and Play OK PlugPlay
Protected Storage OK ProtectedStorage
Remote Procedure Call (RPC) Service OK RpcSs
Spooler OK Spooler
UPS OK UPS
STOPPED
ClipBook Server STOPPED ClipSrv
DHCP Client STOPPED DHCP
Network DDE STOPPED NetDDE
Network DDE DSDM STOPPED NetDDEdsdm
Directory Replicator STOPPED Replicator
Remote Procedure Call (RPC) Locator STOPPED RPCLOCATOR
Schedule STOPPED Schedule
Telephony Service STOPPED TapiSrv
WebPager successful completion.
' Example sending the output to a text file
C:\WEBPAGER>
webpager services > servicelist.txtWebPager successful completion.
(NT Only)
Start or Stop services on local or remote NT servers.
' Starting and stopping a service.
C:\WEBPAGER>
webpager stop msftpsvc deptserverStopping service "msftpsvc"
Status after stop = SERVICE_STOPPED
Service "msftpsvc" successfully stopped
WebPager successful completion.
C:\WEBPAGER>
webpager start msftpsvc deptserverStarting "msftpsvc" on deptserver
Service "msftpsvc" successfully started
WebPager successful completion.
WebPager can be used to copy files from the Internet using a simple command line.
This can be extremely handy in environments where DOS batch files are used to pull information from other computers. Computers can pull files from web servers without having to authenticate or physically connect to specific drives or drive shares.
The target filename can be
' A valid web page
C:\>
webpager http://www.rampant.com/index.htm indextest.htmWebPager successful completion.
' An invalid web page
C:\>
webpager http://www.rampant.com/INVALID.htmPort80 HTTP_STATUS_NOT_FOUND 404 // object not found
' Test a page but don’t make us try to read it on the screen.
C:\>
webpager http://www.rampant.com nullWebPager successful completion.
Example 1: Running WebPager to copy a page. Success and Failure shown.
Summary Reports under the sample Microsoft Access 7.0 database
In order to use the sample database, you must have collected data into a "CSV" file. If you don’t see a webpager.csv file, check the
[LOGGING] section in WebPager.ini .WebPager.MDB looks directly at the data in the CSV file.
Note: Running the database will lock the CSV files so that WebPager cannot write to it. You must exit the database for WebPager to be able to continue logging.

Example 1: Sample database report.
Note: If you change the location where the CSV file is written (by editing the WebPager.ini file) then the database will not be able to open the file without manual intervention.
Continuous monitoring via the WebPager HTM output.
If enabled in the
[HTMLREPORT] section in WebPager.ini the webpager loop will update the HTM file. The HTM file includes a refresh statement that causes it to reload on roughly the same schedule as WebPager loads files.
Your license to use the software…
In consideration for payment of the appropriate licensee fee, Rampant grants you (the licensee) the right to use the software on one (1) computer.
Commercial Web licensees are granted an additional right to use the software on any computer they own and operate. If you license the Commercial Web version, source code is provided for your use in developing, maintaining and running programs that are used on computers you own and operate.
Rampant, Inc. retains sole and exclusive ownership of the software. No part of the software, source code, documentation or other components may be distributed, sold, transferred, or included in whole or in part in any form that will be used on any computer you do not own and operate.
Rampant has the right to revoke your right to use the software in the event that you violate this agreement. Rampant will exercise additional remedies and seek damages as necessary to prevent unauthorized duplication. You are an honest person. You promise not to distribute this software!
Although the software is believed to provide valuable functionality it is licensed "AS IS". Rampant does not warranty this software for any particular use. You are solely responsible for determining its fitness for use and for insuring that no aspect of its operation or potential failure will result in any unacceptable risks or damages. You bear all responsibility for damages resulting from any use of the software and indemnify Rampant against any action by any individual or organization arising out of your use of the software.
For a period of 60 days, you are entitled to software updates and technical support. Your sole and exclusive remedy in the event that the product fails to meet your expectations is to return it for a partial refund. Rampant may refund a prorated portion of the license fee based on the first 60 days of use.
Additional Copyright and Proprietary Rights
Portions of the software were purchased from or developed under licenses from other companies including, but not limited to, Microsoft Corporation and Tanner and Associates. Your use of the software is subject to the terms and conditions of all licenses, and in particular, the licenses for Microsoft’s operating systems, copies of which are NOT included with the WebPager software. A copy of the license agreement for Tanner and Associates is included with the software.