Go to the source code of this file.
Defines | |
#define | ME_UID_STRING "2f737514-1d1b-4edb-9cd4-adffc433d56e" |
#define | ME_EVENT_TYPE_BASE 500 |
#define | ME_EVENT_CANCELED (ME_EVENT_TYPE_BASE+0) |
previous event canceled (Monitor_ID or inlinemon_id). More... | |
#define | ME_EVENT_VALUE_ABOVE (ME_EVENT_TYPE_BASE+1) |
observed value > threshold. More... | |
#define | ME_EVENT_VALUE_AT_OR_ABOVE (ME_EVENT_TYPE_BASE+2) |
observed value >= threshold. More... | |
#define | ME_EVENT_VALUE_AT (ME_EVENT_TYPE_BASE+3) |
observed value == threshold + or - tolerance. More... | |
#define | ME_EVENT_VALUE_AT_OR_BELOW (ME_EVENT_TYPE_BASE+4) |
observed value <= threshold. More... | |
#define | ME_EVENT_VALUE_BELOW (ME_EVENT_TYPE_BASE+5) |
observed value < threshold. More... | |
#define | ME_EVENT_VALUE_NOT_AT_BELOW (ME_EVENT_TYPE_BASE+6) |
observed value != threshold, is below threshold - tolerance. More... | |
#define | ME_EVENT_VALUE_NOT_AT_ABOVE (ME_EVENT_TYPE_BASE+7) |
observed value != threshold, is above threshold + tolerance. More... | |
#define | ME_EVENT_COUNTER_RATE_EXCEEDED (ME_EVENT_TYPE_BASE+8) |
rate of counter increase is has been exceeded, the leaky bucket is empty. More... | |
#define | ME_EVENT_SUBSYSTEM_CONFIGURATION_CHANGE (ME_EVENT_TYPE_BASE+9) |
daemon processed a subsystem availability change. More... | |
#define | ME_EVENT_RESOURCE_CONFIGURATION_CHANGE (ME_EVENT_TYPE_BASE+10) |
daemon processed a resource availability change. More... | |
#define | ME_LOG_EMERG 0 |
system is unusable. More... | |
#define | ME_LOG_ALERT 1 |
action must be taken immediately. More... | |
#define | ME_LOG_CRIT 2 |
critical conditions. More... | |
#define | ME_LOG_ERR 3 |
error conditions. More... | |
#define | ME_LOG_WARNING 4 |
warning conditions. More... | |
#define | ME_LOG_NOTICE 5 |
normal but significant condition. More... | |
#define | ME_LOG_INFO 6 |
informational. More... | |
#define | ME_LOG_DEBUG 7 |
debug-level messages. More... | |
#define | ME_ThresholdEventLogMessageFormat "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s\|Resource_ID=%u|Statistic_ID=%u\|Observed_Value=%u|Threshold_Value=%u|\n" |
#define | ME_ThresholdEventLogMessageFormatWithNames "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s|Subsystem_Name=%s\|Resource_ID=%u|Resource_Name=%s|Statistic_ID=%u|Statistic_Name=%s\|Observed_Value=%u|Threshold_Value=%u|\n" |
#define | ME_ThresholdEventLogMessageSignedFormat "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s\|Resource_ID=%u|Statistic_ID=%u\|Observed_Value=%u|Threshold_Value=%u|\n" |
#define | ME_ThresholdEventLogMessageSignedFormatWithNames "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s|Subsystem_Name=%s\|Resource_ID=%u|Resource_Name=%s|Statistic_ID=%u|Statistic_Name=%s\|Observed_Value=%d|Threshold_Value=%d|\n" |
#define | ME_ThresholdEventLogMessageFormat64 "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s\|Resource_ID=%u|Statistic_ID=%u\|Observed_Value=%llu|Threshold_Value=%llu|\n" |
#define | ME_ThresholdEventLogMessageFormat64WithNames "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s|Subsystem_Name=%s\|Resource_ID=%u|Resource_Name=%s|Statistic_ID=%u|Statistic_Name=%s\|Observed_Value=%llu|Threshold_Value=%llu|\n" |
#define | ME_ThresholdEventLogMessageSignedFormat64 "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s\|Resource_ID=%u|Statistic_ID=%u\|Observed_Value=%lld|Threshold_Value=%lld|\n" |
#define | ME_ThresholdEventLogMessageSignedFormat64WithNames "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s|Subsystem_Name=%s\|Resource_ID=%u|Resource_Name=%s|Statistic_ID=%u|Statistic_Name=%s\|Observed_Value=%lld|Threshold_Value=%lld|\n" |
#define | ME_LeakyBuckeEventLogMessageFormat "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s\|Resource_ID=%u|Statistic_ID=%u\|Bucket_Size=%u|Fill_Value=%u|Fill_Interval=%u seconds\|Bucket_Level(%u) <= Observed_Value(%u) - Last_Value(%u)|\n" |
#define | ME_LeakyBucketEventLogMessageFormatWithNames "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s|Subsystem_Name=%s\|Resource_ID=%u|Resource_Name=%s|Statistic_ID=%u|Statistic_Name=%s\|Bucket_Size=%u|Fill_Value=%u|Fill_Interval=%u seconds\|Bucket_Level(%u) <= Observed_Value(%u) - Last_Value(%u)|\n" |
#define | ME_LeakyBuckeEventLogMessageSignedFormat "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s\|Resource_ID=%u|Statistic_ID=%u\|Bucket_Size=%u|Fill_Value=%u|Fill_Interval=%u seconds\|Bucket_Level(%u) <= Observed_Value(%u) - Last_Value(%u)|\n" |
#define | ME_LeakyBucketEventLogMessageSignedFormatWithNames "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s|Subsystem_Name=%s\|Resource_ID=%u|Resource_Name=%s|Statistic_ID=%u|Statistic_Name=%s\|Bucket_Size=%d|Fill_Value=%d|Fill_Interval=%u seconds\|Bucket_Level(%d) <= Observed_Value(%d) - Last_Value(%d)|\n" |
#define | ME_LeakyBucketEventLogMessageFormat64 "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s\|Resource_ID=%u|Statistic_ID=%u\|Bucket_Size=%llu|Fill_Value=%llu|Fill_Interval=%u seconds\|Bucket_Level(%llu) <= Observed_Value(%llu) - Last_Value(%llu)|\n" |
#define | ME_LeakyBucketEventLogMessageFormat64WithNames "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s|Subsystem_Name=%s\|Resource_ID=%u|Resource_Name=%s|Statistic_ID=%u|Statistic_Name=%s\|Bucket_Size=%llu|Fill_Value=%llu|Fill_Interval=%u seconds\|Bucket_Level(%llu) <= Observed_Value(%llu) - Last_Value(%llu)|\n" |
#define | ME_LeakyBucketEventLogMessageSignedFormat64 "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s\|Resource_ID=%u|Statistic_ID=%u\|Bucket_Size=%lld|Fill_Value=%lld|Fill_Interval=%u seconds\|Bucket_Level(%lld) <= Observed_Value(%lld) - Last_Value(%lld)|\n" |
#define | ME_LeakyBucketEventLogMessageSignedFormat64WithNames "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Monitor_ID=%s|Subsystem_ID=%s|Subsystem_Name=%s\|Resource_ID=%u|Resource_Name=%s|Statistic_ID=%u|Statistic_Name=%s\|Bucket_Size=%lld|Fill_Value=%lld|Fill_Interval=%u seconds\|Bucket_Level(%lld) <= Observed_Value(%lld) - Last_Value(%lld)|\n" |
#define | ME_ResourceChangeEventLogMessageFormat "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Subsystem_ID=%s|Resource_ID=%u\n" |
#define | ME_ResourceChangeLogMessageFormatWithNames "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Subsystem_ID=%s|Subsystem_Name=%s\|Resource_ID=%u|Resource_Name=%s\n" |
#define | ME_RM_CancelEvent "Cancel threshold exception" |
#define | ME_RM_ThresholdEvent "Threshold exception" |
#define | ME_RM_LeakyBucketEvent "Leaky Bucket exception" |
#define | ME_RM_SubsystemAdded "Subsystem Added" |
#define | ME_RM_ResourceAdded "Resource Added" |
#define | ME_RM_DataCaptureAdded "Data Capture Library Added" |
#define | ME_RM_SubsystemRemoved "Subsystem Removed" |
#define | ME_RM_ResourceRemoved "Resource Removed" |
#define | ME_RM_DataCaptureRemoved "Data Capture Library Removed" |
#define | PL_ME_Facility LOG_LOCAL5 |
#define | CSM_UID_STRING "c581b242-600e-4444-8378-584e7a251f0c" |
#define | RMGT_EVENT_TYPE_BASE 12500 |
#define | RMGT_SubsystemAdded (RMGT_EVENT_TYPE_BASE+0) |
#define | RMGT_ResourceAdded (RMGT_EVENT_TYPE_BASE+1) |
#define | RMGT_SubsystemRemoved (RMGT_EVENT_TYPE_BASE+2) |
#define | RMGT_ResourceRemoved (RMGT_EVENT_TYPE_BASE+3) |
#define | CSM_SubsystemAdded "New Subsystem Registered" |
#define | CSM_ResourceAdded "New Resource Registered" |
#define | CSM_SubsystemRemoved "Subsystem Removed" |
#define | CSM_ResourceRemoved "Resource Removed" |
#define | CSM_SubsystemChangeEventLogMessageFormat "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Subsystem_ID=%s\|Management_Module_ID=c581b242-600e-4444-8378-584e7a251f0c\n" |
#define | CSM_SubsystemChangeLogMessageFormatWithNames "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Subsystem_ID=%s|Subsystem_Name=%s\|Management_Module_ID=c581b242-600e-4444-8378-584e7a251f0c\|Management_Module_Name=Common Statistics Management Module\n" |
#define | CSM_ResourceChangeEventLogMessageFormat "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Subsystem_ID=%s|Resource_ID=%s\|Management_Module_ID=c581b242-600e-4444-8378-584e7a251f0c\n" |
#define | CSM_ResourceChangeLogMessageFormatWithNames "%s\|facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e\|Subsystem_ID=%s|Subsystem_Name=%s\|Resource_ID=%s\|Management_Module_ID=c581b242-600e-4444-8378-584e7a251f0c\|Management_Module_Name=Common Statistics Management Module\n" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
previous event canceled (Monitor_ID or inlinemon_id).
|
|
rate of counter increase is has been exceeded, the leaky bucket is empty.
|
|
daemon processed a resource availability change.
|
|
daemon processed a subsystem availability change.
|
|
Monitoring Event Types (event_type) The event type base offset "500" is used to place the event type values for Monitoring Events in a range that is less likely to be duplicated by other event conventions. |
|
observed value > threshold.
|
|
observed value == threshold + or - tolerance.
|
|
observed value >= threshold.
|
|
observed value <= threshold.
|
|
observed value < threshold.
|
|
observed value != threshold, is above threshold + tolerance.
|
|
observed value != threshold, is below threshold - tolerance.
|
|
action must be taken immediately.
|
|
critical conditions.
|
|
debug-level messages.
|
|
system is unusable. Monitoring Event Severity (severity) The Monitoring Event severity codes are adopted from the POSIX severity codes. They are hard-coded here unless the POSIX log header is included. In that case, the POSIX values are used just to insure compatibility (see POSIX logging section below). |
|
error conditions.
|
|
informational.
|
|
normal but significant condition.
|
|
warning conditions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
formatted Monitoring Event event message templates The following event message templates are used to build compliant text-based monitoring event messages by the Resource Monitor daemon. These event meesage formats are used by the application to form query strings for the event log. Subsystems implementing inline monitors should be using the same format. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Monitoring Event schema UUID (facility_id) This UUID indicates that this event message complies with the Monitoring Event Schema as documented in this header file. All Monitoring Events include this ID in the message in the form "facility_id=2f737514-1d1b-4edb-9cd4-adffc433d56e"
|
|
POSIX log attribute conventions When a Monitoring Event-compliant subsystem logs events into a POSIX 1003.25-compliant event management system, the subsystem must set the POSIX-specific event logging call arguments using the following conventions: POSIX logging argument - Value
|
|
|
|
|
|
|
|
|
|
|