projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/utils_threshold.c: Added creation of a notification.
[collectd.git]
/
src
/
plugin.c
diff --git
a/src/plugin.c
b/src/plugin.c
index
84b7e0b
..
6b17290
100644
(file)
--- a/
src/plugin.c
+++ b/
src/plugin.c
@@
-717,6
+717,11
@@
int plugin_dispatch_notification (const notification_t *notif)
llentry_t *le;
/* Possible TODO: Add flap detection here */
llentry_t *le;
/* Possible TODO: Add flap detection here */
+ DEBUG ("plugin_dispatch_notification: severity = %i; message = %s; "
+ "time = %u; host = %s;",
+ notif->severity, notif->message,
+ (unsigned int) notif->time, notif->host);
+
/* Nobody cares for notifications */
if (list_notification == NULL)
return (-1);
/* Nobody cares for notifications */
if (list_notification == NULL)
return (-1);