author | Florian Forster <sifnfors@informatik.stud.uni-erlangen.de> | |
Thu, 12 Jun 2008 09:44:23 +0000 (11:44 +0200) | ||
committer | Florian Forster <sifnfors@informatik.stud.uni-erlangen.de> | |
Thu, 12 Jun 2008 09:44:23 +0000 (11:44 +0200) | ||
commit | 5478abf4a700844d115b0d9b75b51c4f509a49d2 | |
tree | 646c377cdf9cf0abd1990249bda6034228ca0e04 | tree | snapshot |
parent | fbf19197157cee85e6b10de37dffdb462ebeff12 | commit | diff |
src/plugin.[ch]: Add `notification meta data' to notification_t.
The plan is to have arbitrary values attached to notifications that user
defined actions can use to get machine parseable values for building
own notification strings or the like.
For example, the threshold checking stuff will (in the near future) add
the current (offending) value as well as the threshold values themselves
to the notification, so that notifying plugins don't need to parse the
(freely formatted) notification string to get that information.
The plan is to have arbitrary values attached to notifications that user
defined actions can use to get machine parseable values for building
own notification strings or the like.
For example, the threshold checking stuff will (in the near future) add
the current (offending) value as well as the threshold values themselves
to the notification, so that notifying plugins don't need to parse the
(freely formatted) notification string to get that information.
src/plugin.c | diff | blob | history | |
src/plugin.h | diff | blob | history |