Current Issue


Table of contents

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 12.0

Version 12.0 delivers every issue of Sys Admin from 1992 through 2006 and every
issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!

Sys Admin Magazine > Archives > 1996 > 9605

Automated System Administrator's Pager

David Dykes

See Sidebar 1

See Sidebar 2

Many system administrators are familiar with pagers. These inexpensive electronic leashes allow users to reach you anytime, anywhere for better or worse. Most often it is for worse, because when your users resort to paging you, something has usually gone awry.

One way to leverage this wireless technology, and perhaps remove some of the tension from being paged, is by enabling the systems themselves to page the administrator. Not only does this allow the administrator to receive system messages without being tethered to a console, but it may allow for more proactive responses to warnings rather than corrective responses to user complaints. For example, it would be preferable to have a daemon page you with a low disk space warning than a user page you complaining that he or she can't save a file.

Fortunately, today's alphanumeric (alpha) pagers are inexpensive and use a standardized protocol that make this functionality relatively straightforward and cheap to implement. In this article, I propose ASAP (Automated System Administrator's Pager) as a possible means of adding this connectivity. The article covers how ASAP works, the specifics of implementation, and some potential applications of this connectivity. Some specific OS-dependent examples are given in the context of a UNIX environment, but the real core of this system should be generalizable to almost any operating system.

How does it work?

ASAP is simply a couple of scripts that act as a gateway from Internet mail (i.e., SMTP) to an alpha pager. The first script, asap.pl, is a Perl script that parses SMTP (Simple Mail Transfer Protocol) message headers and then creates (or appends to) a "TAP friendly" spool file (see sidebar on The TAP Protocol).




MarketPlace

NEW! Numara FootPrints 9 - Service Desk Management
IT Service Management that Delivers. Real Value. Real Flexibility. Real Results. Free Demo.

BugSplat - Automatic Crash Analysis
Fast online exception analysis. Capture customer crash data online.

Flowcharts from C/C++ code -- Free trial download
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.

Visit Dell� Small and Medium Business Online Store
One Stop to Buy All Your Business IT Solutions. Browse Through Dell's Best Deals Online Now!

Wanna see your ad here?