> cool solutions home   > cool tools home
Babymon 2 for NetMail on Linux
System monitor and email alarm.
Reader Rating    from ratings rate this article
View a Printer Friendly Version of this Page Send this page to a friend
Posted: 15 Aug 2002
File Size: 12KB
License: Free
Download 1:  babymon_20_linux.tgz
Publisher: Micah Gorrell
Please read the note from our friends in legal before using this file.

Babymon will watch a NetMail (previously called NIMS) server and alert you if there are any problems. It does this by authenticating to SMTP, POP, IMAP and ModWeb. A valid username and password are required for this.

This utility is provided as is, with no warranty whatsoever. To the best of my knowledge it performs the task it was written for. If there is a bug or the program does not perform as you would like it to you may send a bug report or a suggestion to me, but I make no promise the issue will be resolved.

Usage: babymon [-t:<> -u:<> -p:<> -a:<> -e:<> -h:<> -d -np -ns -nh -ni -s -l]

  • -t: Timeout in seconds
  • -u: Username for authentication
  • -p: Password for authentication
  • -a:
    Address or Hostname of server to test
  • -e: Email address to send errors to
  • -h: Hostname of SMTP server to send errors to
  • -i: Interval to sleep between tests
  • -s Use SSL
  • -l If a NetMail load threshold is reached send an error
  • -np No POP3 test
  • -ns No SMTP test
  • -nh No HTTP test
  • -ni No IMAP test
  • -nf Use the old style HTTP Auth instead of a form login. When this switch is used the HTTP test will work against a NIMS 2.x server running the webmail agent.
  • -d Debug. This switch may be repeated to set the desired level of output.
    0: No debug, 1: basic, 2: detailed, 3: trace

If Interval is not set Baby Monitor will run each test once and exit. This is useful if you want to use a crontab entry to control when it is run.

Example crontab entry:
1-60/7 * * * * babymon -u:babymon -p:test -a:MyNIMSServer.com -e:me@pager.com -h:smtp.pager.com\n

- The cygwin DLL is no longer required for running babymon on windows
- babymon for netware is now included
- The HTTP test now uses a form login so that it can be used on servers that use a Modweb public template. To force babymon to use the old HTTP Auth style the switch "-nf" has been added. This switch must be used for babymon to work with a NIMS 2.x server running the webmail agent.
- Support has been added for SSL. When the -s option is added to the command line all communication will be done securely
- Three levels of Debug are now avaliable. If the -d switch is not on the command line there will be no output. If it appears once debug output will show you when each test is begun, and the result of each test. If it appears twice detailed information about what the test is doing will be displayed. If it appears three times all network traffic will be displayed.