Code

libvirtstats plugin: Added a plugin to collect virtual host statistics.
[collectd.git] / src / plugin.c
index 84b7e0be9f175e0f1ed6b0e4321e7e20c7a42e3f..6b17290f32dbe08a9a4bb6406cbc8fef35efdd01 100644 (file)
@@ -717,6 +717,11 @@ int plugin_dispatch_notification (const notification_t *notif)
        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);