FreeBSD Bugzilla – Attachment 203237 Details for
Bug 236873
net-mgmt/nagios-check_smartmon: Device-dependent temperature responses cause ValueError
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
change parts-index from -3 to 9 for temperature
file_236873.txt (text/plain), 676 bytes, created by
Thomas Eckhardt
on 2019-03-29 09:52:50 UTC
(
hide
)
Description:
change parts-index from -3 to 9 for temperature
Filename:
MIME Type:
Creator:
Thomas Eckhardt
Created:
2019-03-29 09:52:50 UTC
Size:
676 bytes
patch
obsolete
>--- /usr/local/libexec/nagios/check_smartmon 2019-03-10 02:21:27.000000000 +0100 >+++ /tmp/check_smartmon 2019-03-29 10:46:02.501887000 +0100 >@@ -215,7 +215,7 @@ > if stat_re.search( line ): > parts = line.split() > vprint(3, "parseOutput: we are very keen on this line: '%s'" % line) >- temperature = int(parts[-3]) >+ temperature = int(parts[9]) > vprint(3, "parseOutput: Is this the temperature? '%s'" % temperature) > break > # fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 236873
: 203237 |
203518
|
203726