FreeBSD Bugzilla – Attachment 105515 Details for
Bug 146003
[patch] port net-mgmt/nagios-check_smartmon add performance data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch_nagios-check_smartmon.txt
patch_nagios-check_smartmon.txt (text/plain), 1.32 KB, created by
Olli Hauer
on 2010-04-23 22:10:04 UTC
(
hide
)
Description:
patch_nagios-check_smartmon.txt
Filename:
MIME Type:
Creator:
Olli Hauer
Created:
2010-04-23 22:10:04 UTC
Size:
1.32 KB
patch
obsolete
>--- /dev/null >+++ files/patch-check_smartmon >@@ -0,0 +1,20 @@ >+--- ./check_smartmon.orig 2010-03-18 18:56:53.000000000 +0100 >++++ ./check_smartmon 2010-04-23 22:53:13.000000000 +0200 >+@@ -229,11 +229,14 @@ >+ # fi >+ >+ if temperature > criticalThreshold: >+- return (2, "CRITICAL: device temperature (%d) exceeds critical temperature threshold (%s)" % (temperature, criticalThreshold)) >++ return (2, "CRITICAL: device temperature (%d) exceeds critical temperature threshold (%s)|TEMP=%d;%d;%d;" >++ % (temperature, criticalThreshold, temperature, warningThreshold, criticalThreshold)) >+ elif temperature > warningThreshold: >+- return (1, "WARNING: device temperature (%d) exceeds warning temperature threshold (%s)" % (temperature, warningThreshold)) >++ return (1, "WARNING: device temperature (%d) exceeds warning temperature threshold (%s)|TEMP=%d;%d;%d;" >++ % (temperature, warningThreshold, temperature, warningThreshold, criticalThreshold)) >+ else: >+- return (0, "OK: device is functional and stable (temperature: %d)" % temperature) >++ return (0, "OK: device is functional and stable (temperature: %d)|TEMP=%d;%d;%d;" >++ % (temperature, temperature, warningThreshold, criticalThreshold)) >+ # fi >+ # end >+
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 146003
: 105515