diff --git a/monitoring.install b/monitoring.install
index 6f723f1..9f94d2d 100644
--- a/monitoring.install
+++ b/monitoring.install
@@ -68,6 +68,27 @@ function monitoring_install() {
     }
   }
 
+  // Declares captcha faild attempts count sensor.
+  if (\Drupal::moduleHandler()->moduleExists('captcha')) {
+    $sensor = SensorConfig::create(array(
+      'id' => 'captcha_failed_count',
+      'label' => 'Captcha failed Count',
+      'description' => 'Monitors the number of failed attempts for Captcha',
+      'plugin_id' => 'database_aggregator',
+      'value_label' => 'Attempt(s)',
+      'value_type' => 'number',
+      'category' => 'Captcha',
+      'status' => TRUE,
+      'settings' => array(
+        'table' => 'captcha_sessions',
+        'conditions' => array(
+          array('field' => 'status', 'value' => 0),
+        ),
+      ),
+    ));
+    $sensor->save();
+  }
+
   // Declares Watchdog events sensors.
   $severities = monitoring_event_severities();
   foreach (RfcLogLevel::getLevels() as $level => $name) {
diff --git a/src/Tests/MonitoringCaptchaTest.php b/src/Tests/MonitoringCaptchaTest.php
new file mode 100644
index 0000000..c7bc021
--- /dev/null
+++ b/src/Tests/MonitoringCaptchaTest.php
@@ -0,0 +1,52 @@
+<?php
+/**
+ * @file
+ * Contains \Drupal\monitoring\Tests\MonitoringCaptchaTest.
+ */
+
+namespace Drupal\monitoring\Tests;
+
+/**
+ * Tests for the captcha failed attempts.
+ */
+class MonitoringCaptchaTest extends MonitoringTestBase {
+
+  public static $modules = array('captcha');
+
+  public static function getInfo() {
+    return array(
+      'name' => 'Monitoring Captcha',
+      'description' => 'Monitoring captcha fails test.',
+      'group' => 'Monitoring',
+    );
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function setUp() {
+    parent::setUp();
+    // Add captcha.inc file.
+    module_load_include('inc', 'captcha');
+    // Set a CAPTCHA on login form.
+    captcha_set_form_id_setting('user_login_form', 'captcha/Math');
+  }
+  /**
+   * {@inheritdoc}
+   */
+  public function testCaptchaSensor() {
+
+    $user = $this->drupalCreateUser();
+    // Try to log in, with invalid captcha answer which should fail.
+    $edit = array(
+      'name' => $user->getUsername(),
+      'pass' => $user->pass_raw,
+      'captcha_response' => '?',
+    );
+    $this->drupalPostForm('user', $edit, t('Log in'));
+
+    // Run sensor and get the message.
+    $result = $this->runSensor('captcha_failed_count')->getMessage();
+    $this->assertEqual($result, '1 attempt(s)');
+  }
+}
