[Bug 201767] [patch] net-mgmt/nagios-check_smartmon
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 22 17:44:40 UTC 2015
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 at FreeBSD.org
Reporter: dvl at FreeBSD.org
CC: ports at bsdserwis.com
CC: ports at bsdserwis.com
Flags: maintainer-feedback?(ports at 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.
More information about the freebsd-ports-bugs
mailing list