AVirCAP is a system for manual and / or automated detection of CodeRed and Nimda type of hack attempts and virtually all other kinds of "logable" intrusion attempts.
AVirCAP is designed on and for WIN32 platforms but with some PHP knowledge its not hard to port it to other platforms either.