diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 4134b2f..251529c 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -51,6 +51,7 @@ jobs: curl --fail http://127.0.0.1:9091/api/v1/query?query=disk_used_percent | grep disk_used_percent curl --fail http://127.0.0.1:9091/api/v1/query?query=netstat_tcp_listen | grep netstat_tcp_listen curl --fail http://127.0.0.1:9091/api/v1/query?query=dns_query_result_code | grep dns_query_result_code + curl --fail http://127.0.0.1:9091/api/v1/query?query=interrupts_total | grep interrupts_total - name: Logs if: always() diff --git a/README.md b/README.md index b4147e1..4ee5534 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,8 @@ curl --fail http://127.0.0.1:9091/api/v1/query?query=redfish_thermal_fans_readin curl --fail http://127.0.0.1:9091/api/v1/query?query=disk_used_percent | grep disk_used_percent curl --fail http://127.0.0.1:9091/api/v1/query?query=netstat_tcp_listen | grep netstat_tcp_listen curl --fail http://127.0.0.1:9091/api/v1/query?query=dns_query_result_code | grep dns_query_result_code +curl --fail http://127.0.0.1:9091/api/v1/query?query=interrupts_total | grep interrupts_total + ``` ## Running example diff --git a/config/telegraf.conf b/config/telegraf.conf index 97d0859..04b7379 100644 --- a/config/telegraf.conf +++ b/config/telegraf.conf @@ -26,6 +26,9 @@ collect_cpu_time = false report_active = false +[[inputs.interrupts]] + cpu_as_tag = true + [[inputs.mem]] # no configuration