projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
710d930
)
thresholds: Log the current value of a DS value when generating an OKAY notification
author
Jan Kundrát
<jan.kundrat@cesnet.cz>
Tue, 11 Mar 2014 09:59:32 +0000
(10:59 +0100)
committer
Jan Kundrát
<jan.kundrat@cesnet.cz>
Tue, 11 Mar 2014 09:59:32 +0000
(10:59 +0100)
src/threshold.c
patch
|
blob
|
history
diff --git
a/src/threshold.c
b/src/threshold.c
index
2173fa8
..
a444974
100644
(file)
--- a/
src/threshold.c
+++ b/
src/threshold.c
@@
-629,7
+629,9
@@
static int ut_report_state (const data_set_t *ds,
": Value is no longer missing.");
else
status = ssnprintf (buf, bufsize,
- ": All data sources are within range again.");
+ ": All data sources are within range again. "
+ "Current value of \"%s\" is %f.",
+ ds->ds[ds_index].name, values[ds_index]);
buf += status;
bufsize -= status;
}