Code Red Warn is a perl script which runs as a daemon and watches apache logs to notify you each time you are scanned with code red.
You can download it from the following link: https://packetstormsecurity.com/files/download/25146/coderedwarn0.0b.tar.gz
Source: https://packetstormsecurity.com/files/25146/coderedwarn0.0b.tar.gz.html