[From nobody Wed Nov  4 15:57:04 2026
Received: (at submit) by bugs.debian.org; 22 Apr 2022 20:22:40 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
 (2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=4.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,
 FORGED_GMAIL_RCVD,FOURLA,FREEMAIL_FROM,GMAIL,HAS_PACKAGE,
 KHOP_HELO_FCRDNS,NML_ADSP_CUSTOM_MED,RCVD_IN_PBL,RDNS_DYNAMIC,
 SPF_SOFTFAIL,SPOOFED_FREEMAIL,SPOOF_GMAIL_MID,TXREP,XMAILER_REPORTBUG
 autolearn=no autolearn_force=no
 version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 52; hammy, 150; neutral, 171; spammy,
 0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--sk:taint_o, 0.000-+--sk:TAINT_O,
 0.000-+--bookworm
Return-path: &lt;atgayol@gmail.com&gt;
Received: from 22.84.117.91.dynamic.reverse-mundo-r.com ([91.117.84.22]:46744
 helo=[127.0.1.1]) by buxtehude.debian.org with esmtp (Exim 4.92)
 (envelope-from &lt;atgayol@gmail.com&gt;) id 1nhznb-0005Gi-U7
 for submit@bugs.debian.org; Fri, 22 Apr 2022 20:22:40 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Antonio Trueba &lt;atgayol@gmail.com&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: monitoring-plugins-basic: check_ide_smart introduces risk of data loss
Message-ID: &lt;165065895522.21315.2227369585075917062.reportbug@urco&gt;
X-Mailer: reportbug 11.4.1
Date: Fri, 22 Apr 2022 22:22:35 +0200
Delivered-To: submit@bugs.debian.org

Package: monitoring-plugins-basic
Severity: normal
Tags: upstream
X-Debbugs-Cc: atgayol@gmail.com

Dear maintainer,

I've been relying on check_ide_smart for some time to monitor my HDDs and up to
now there has never been a malfunction reported, with all disks being reported
as passing all tests and in the OK status. While setting up a new server I've
found two issues with this plugin that I think should be enough to mark it as
deprecated, both in Debian and in upstream:

- It just doesn't recognize drives connected through an HBA, even though
smartctl does. This is a known limitation of the plugin.

- When using a more up to date alternative, I've found that some of the HDDs
that check_ide_smart was reporting as OK have in fact reached some pre-failure
conditions and are worth replacing. This isn't related to the hardware
interface as those drives are in production and have been monitored with
check_ide_smart for quite some time, I've just changed the monitoring plugin.


So, as check_ide_smart isn't properly reporting HDD status (or, at least,
failing to report early warnings) I believe keeping it available as is
introduces the risk for a potential data loss. There are alternatives
available, so I suggest to consider substituting the plugin instead of updating
it. The best I've found is Kurt Yoder and Claudio Kuenzler's check_smart[1][2],
but I'm not sure of the licensing status (the code shows that &quot;This script was
initially created under contract for the US Government and is therefore Public
Domain&quot;, but there's no specific license mentioned).


Regards.


[1]https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php
[2]https://exchange.nagios.org/directory/Plugins/System-Metrics/Storage-
Subsystem/check_smart-2Epl--2D-physical-drive-monitoring/details


-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'testing'), (500, 'stable'), (100, 'bullseye-fasttrack'), (100, 'bullseye-backports-staging')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-6-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages monitoring-plugins-basic depends on:
ii  iputils-ping               3:20211215-1
ii  libc6                      2.33-7
ii  libssl1.1                  1.1.1n-1
pn  monitoring-plugins-common  &lt;none&gt;
ii  procps                     2:3.3.17-7+b1
ii  ucf                        3.0043

Versions of packages monitoring-plugins-basic recommends:
ii  libcap2-bin  1:2.44-1

Versions of packages monitoring-plugins-basic suggests:
pn  icinga2  &lt;none&gt;
]