---
title: ''
description: Telegraf plugin for collecting metrics from RAS Daemon
url: https://docs.influxdata.com/telegraf/v1/input-plugins/ras/
estimated_tokens: 743
product: Telegraf Controller
version: v1
publisher: InfluxData
canonical: https://docs.influxdata.com/telegraf/v1/input-plugins/ras/
date: '2026-05-21T20:10:18+02:00'
lastmod: '2026-05-21T20:10:18+02:00'
---

==========

* Telegraf v1.16.0+

[Plugin source](https://github.com/influxdata/telegraf/tree/v1.39.0/plugins/inputs/ras/)[Download configuration](https://raw.githubusercontent.com/influxdata/telegraf/refs/tags/v1.39.0/plugins/inputs/ras/sample.conf)

# RAS Daemon Input Plugin

This plugin gathers statistics and error counts provided by the local[RAS (reliability, availability and serviceability)](https://github.com/mchehab/rasdaemon) daemon.

> [!Note]
> This plugin requires access to SQLite3 database from `RASDaemon`. Please make
> sure the Telegraf user has the required permissions to this database!

**Introduced in:** Telegraf v1.16.0**Tags:** server**OS support:** linux

## Global configuration options

Plugins support additional global and plugin configuration settings for tasks
such as modifying metrics, tags, and fields, creating aliases, and configuring
plugin ordering. See [CONFIGURATION.md](/telegraf/v1/configuration/#plugins) for more details.

## Configuration

```toml
# RAS plugin exposes counter metrics for Machine Check Errors provided by RASDaemon (sqlite3 output is required).
# This plugin ONLY supports Linux on 386, amd64, arm, and arm64
[[inputs.ras]]
  ## Optional path to RASDaemon sqlite3 database.
  ## Default: /var/lib/rasdaemon/ras-mc_event.db
  # db_path = ""
```

In addition `RASDaemon` runs, by default, with `--enable-sqlite3` flag. In case
of problems with SQLite3 database please verify this is still a default option.

## Metrics

* ras
  * tags:
    * socket\_id

  * fields:
    * memory\_read\_corrected\_errors
    * memory\_read\_uncorrectable\_errors
    * memory\_write\_corrected\_errors
    * memory\_write\_uncorrectable\_errors
    * cache\_l0\_l1\_errors
    * tlb\_instruction\_errors
    * cache\_l2\_errors
    * upi\_errors
    * processor\_base\_errors
    * processor\_bus\_errors
    * internal\_timer\_errors
    * smm\_handler\_code\_access\_violation\_errors
    * internal\_parity\_errors
    * frc\_errors
    * external\_mce\_errors
    * microcode\_rom\_parity\_errors
    * unclassified\_mce\_errors

Please note that `processor_base_errors` is aggregate counter measuring the
following MCE events:

* internal\_timer\_errors
* smm\_handler\_code\_access\_violation\_errors
* internal\_parity\_errors
* frc\_errors
* external\_mce\_errors
* microcode\_rom\_parity\_errors
* unclassified\_mce\_errors

## Example Output

```text
ras,host=ubuntu,socket_id=0 external_mce_base_errors=1i,frc_errors=1i,instruction_tlb_errors=5i,internal_parity_errors=1i,internal_timer_errors=1i,l0_and_l1_cache_errors=7i,memory_read_corrected_errors=25i,memory_read_uncorrectable_errors=0i,memory_write_corrected_errors=5i,memory_write_uncorrectable_errors=0i,microcode_rom_parity_errors=1i,processor_base_errors=7i,processor_bus_errors=1i,smm_handler_code_access_violation_errors=1i,unclassified_mce_base_errors=1i 1598867393000000000
ras,host=ubuntu level_2_cache_errors=0i,upi_errors=0i 1598867393000000000
```
