This module directs Drupal watchdog events to Sensu. The intent is to raise an alert in Sensu when events of a high severity happen in Drupal.
It is similar to the way the core syslog module directs watchdog events to syslog.
Drupal has seven levels of severity. Sensu has three levels (OK, Warning, Critical). The Log to Sensu module configuration page allows you to map Drupal's levels of severity to Sensu's. The defaults are reasonable:
| Drupal Severity | Sensu Value | Sensu Status |
|---|---|---|
| WATCHDOG_EMERGENCY | 2 | CRITICAL |
| WATCHDOG_ALERT | 2 | CRITICAL |
| WATCHDOG_CRITICAL | 2 | CRITICAL |
| WATCHDOG_ERROR | 1 | WARNING |
| WATCHDOG_WARNING | 1 | WARNING |
| WATCHDOG_NOTICE | 0 | OK |
| WATCHDOG_INFO | 0 | OK |
| WATCHDOG_DEBUG | 0 | OK |
Prerequisites: You must have a Sensu client listening so Drupal can send it events.
Project information
- Project categories: Administration tools, Developer tools
- Created by jvandyk on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.

