--On Saturday, August 20, 2005 2:41 PM +0200 Miolinux <[EMAIL PROTECTED]> wrote:

Hi, i searched and googled quite, but i didn't find a monitor for
monitoring ssl services (i needed mail server one's: smtps,imaps,pop3s)
[SSL not TLS] and didn't want to create an ssl tunnel for each one of
them, so i modified tcpch.monitor and merget it with some parte of an
imap-ssl.monitor that i found.

Now are some weeks that i run it and seems to work, but i bet i made
some error since i'm not a perl programmer.

However since may be interesting (and someone could take a look at it)
i'll attach the code.

Ps. if someone does know an alternative to this code don't hesitate to
talk! ;)



I guess I never got around to adding CMU's imap tests to the contrib area. I've done that now, at least in CVS. As soon as the public copy of the sourceforge CVS repository is updated you'll find a imap directory visible here <http://cvs.sourceforge.net/viewcvs.py/mon/mon-contrib/monitors/> which will contain three tests, one for IMAP over SSL, one for IMAP with STARTTLS, and one for plain text password authentication over IMAP. (The PTP test has support for a new monitor-auth.cf file to specify username and password, but I haven't added the documentation for that to the Mon repository yet. I'll work on that. It also can take user/password on the commandline.)

The IMAP over SSL test has support for alerting when an SSL certificate is expired, or about to expire. We run two services with this test on our servers, one without certification notification, and one with. The one with certificate notification enabled is configured never to page, it just sends mail 10 days before the cert is going to expire.

I think I'll go look and see what other monitors I have now that I should export... I've probably got a dozen or so to add. (Plus the docs for the monitor-auth.cf syntax...)


-David

David Nolan                    <*>                    [EMAIL PROTECTED]
curses: May you be forced to grep the termcap of an unclean yacc while
     a herd of rogue emacs fsck your troff and vgrind your pathalias!

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to