Можно использовать dmesg
команда для поиска любых ошибок устройства, зарегистрированных ядром.
Здесь подобный вопрос для другого дистрибутива Linux, но должен быть применим к Вам:
Проверьте на ошибки жесткого диска / знаки отказа на Сервере CentOS
Probably, the http_auth_request module is suitable for your task. Repo. Docs.
For rate limiting login attempts you can easily utilize nginx limit req module. For custom log: nginx log module. All these modules would be suitable for you in combination with the location directive.