ISpy v1.0
 
About
ISpy is a network monitoring tool for Linux and Unix systems. It watches a user-defined set of ports and sends an email alert when any of the monitored ports changes status. The latest version of this program can be found on the ISpy homepage. Comments are welcome, please send email to ahajnal@interport.net.

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. 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. You should have received a copy of the GNU General Public License along with this program; if not, write to:
  Free Software Foundation, Inc.
59 Temple Place
Suite 330
Boston, MA 02111-1307, USA.

Copyright © 2001 Alexander Hajnal

 
Requirements
ISpy depends on the following:
  • Perl - Version 5
  • IO::Socket - Socket library included with Perl 5
  • Getopt::Long - Perl command line option parser, available from http://cpan.org/modules/by-module/Getopt/x
  • mail - Standard unix mailer, must support the -s (subject) option and must accept message (the standard Unix mail command should suffice)
 
Installation
  1. Make sure the prerequisites mention in the previous section have been installed.
  2. Copy ispy to a directory in your path (e.g. /usr/bin)
  3. Copy ispy.1 to a directory in your manpath (e.g. /usr/man/man1)
  4. Copy ispy.conf.5 and ispy.state.5 to a directory in your manpath (e.g. /usr/man/man1)
  5. Copy ispy.conf to /etc (or another location, see ispy.1 for details) and edit it as appropriate (see ispy.conf.5).
  6. Initialie ISpy by running 'ispy --reset'
  7. Add an entry for ISpy in /etc/crontab Note that if the configuration and state files reside somewhere other than /etc then you may have to specify their locations on the command line using the -c and -s options.
    */1 * * * * username /usr/bin/perl /usr/local/bin/watch.pl
    See crontab(5) for details on doing this.
 
Configuration
See the ispy.1 manpage for details.

See also the ispy.conf.5 and ispy.state.5 manpages.

 
History
  • v1.0 - First public release (July 30, 2001)

 

Software index

Copyright © 2001 Alexander Hajnal

email: ahajnal@interport.net Home