home / experts / perl / scripts / moniker

Moniker

Moniker is a simple command-line Perl script that was born at motherofperl.com. It's being actively developed there by me, Jonathan Eisenzopf . It is intended to be simple to install and use, but is not intended to be a full-featured replacement for more advanced monitoring tools.

DOWNLOAD

The latest version is 0.2. The source can be downloaded from http://www.motherofperl.com/scripts/moniker/

CONTENTS

HISTORY

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

REQUIREMENTS

You should have Perl 5.004 or greater installed on your system. You will also need the following modules:

SYNTAX

moniker -h host -s service [-e email]
moniker -f 

Moniker is executed from the command-line with the following required options:

	-h hostname you want to monitor
	-s name of the service which can include: ftp,
	   ssh, telnet, domain, www, pop, nntp, imap,
	   irc, smtp
	-e email address to send error notification to
	-f filename of a csv file containing a list of
	   hosts to monitor. The csv file should contain
	   3 columns containing: hostname, service, email.

EXAMPLE CSV FILE

foo.bar.so,www,"yahoo@bar.so"
foo.bar.so,pop,"pophelp@bar.so"
foo.bar.so,domain,"dns@bar.so"
foo.bar.so,smtp,"help@bar.so"

EXAMPLES

moniker.pl -h foo.bar.so -s www
moniker.pl -h foo.bar.so -s smtp -e "eisen@pobox.com"
moniker.pl -f moniker.csv

REFERENCE

http://www.motherofperl.com/tutorial/6

CONTACTS

If you have problems, patches, additions, send them to eisen@pobox.com

http://www.internet.com

Produced by Jonathan Eisenzopf and
All Rights Reserved. Legal Notices.

URL: http://www.webreference.com/perl/scripts/moniker/