Date: Wed, 22 Jul 2015 17:44:39 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 201767] [patch] net-mgmt/nagios-check_smartmon Message-ID: <bug-201767-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201767 Bug ID: 201767 Summary: [patch] net-mgmt/nagios-check_smartmon Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dvl@FreeBSD.org CC: ports@bsdserwis.com CC: ports@bsdserwis.com Flags: maintainer-feedback?(ports@bsdserwis.com) Keywords: patch Created attachment 159074 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159074&action=edit patch for file/patch-check_smartmon Allow check_smartmon to work with da* devices Without this patch, this error is encountered: $ sudo /usr/local/libexec/nagios/check_smartmon -d /dev/da10 Traceback (most recent call last): File "/usr/local/libexec/nagios/check_smartmon", line 307, in <module> (healthStatus, temperature) = parseOutput(healthStatusOutput, temperatureOutput, devtype) File "/usr/local/libexec/nagios/check_smartmon", line 216, in parseOutput vprint(3, "Health status: %s" % healthStatus) UnboundLocalError: local variable 'healthStatus' referenced before assignment I've been using this patch at home for two years now. I recently encountered the bug on a new system. https://dan.langille.org/2013/07/25/nagios-check_smartmon-fails-with-sata-presented-as-scsi-devices/ -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201767-13>