Monitor IMAPs SSL expiry date



How do I monitor the SSL certificate expiration date for IMAPs. Can I use the check_http plugin for this ?


./check_imap -H -p 993 -S -D 2000
WARNING - Certificate expires in 1052 day(s) (02/13/2010 20:00).

Just set the -D to be how many days you want to be warned at.


Thanks Mike. That works !!.