https://bugzilla.novell.com/show_bug.cgi?id=640368
https://bugzilla.novell.com/show_bug.cgi?id=640368#c7
Lars Vogdt changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO
InfoProvider| |msvec@suse.com
--- Comment #7 from Lars Vogdt 2012-02-27 15:49:07 CET ---
I added the following patch now:
Index: plugins/check_ide_smart.c
===================================================================
--- plugins/check_ide_smart.c.orig
+++ plugins/check_ide_smart.c
@@ -230,7 +230,7 @@ main (int argc, char *argv[])
return STATE_CRITICAL;
}
- if (smart_cmd_simple (fd, SMART_CMD_ENABLE, 0, TRUE)) {
+ if (smart_cmd_simple (fd, SMART_CMD_ENABLE, 1, TRUE)) {
printf (_("CRITICAL - SMART_CMD_ENABLE\n"));
return STATE_CRITICAL;
}
and tested it on my own machine with no difference: the old and the new
check_ide_smart plugin returns correct values for my harddisk.
Can you please try to test it on your machine?
http://download.opensuse.org/repositories/home:/lrupp:/branches:/server:/mon...
contains the package with the fix. Last changelog entry for nagios-plugins from
that repo:
-------------------------------------------------------------------
Mon Feb 27 14:43:01 UTC 2012 - lars@linux-schulserver.de
- added nagios-plugins-1.4.15-check_ide_smart.patch : trying to
fix bnc#640368
- run %%set_permissions for newer distributions
-------------------------------------------------------------------
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.