summaryrefslogtreecommitdiffstats
path: root/mof
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2014-05-22 17:35:01 +0200
committerTomas Bzatek <tbzatek@redhat.com>2014-05-26 16:46:30 +0200
commit58dcc99707d1a3cb76fa4ec311af10d65d9cdede (patch)
tree6b3f8f2f103367a0deecda183440cb2b1044ca21 /mof
parentea20e9bcdbc943e088006992bd10b8c0b585cd9d (diff)
downloadopenlmi-providers-58dcc99707d1a3cb76fa4ec311af10d65d9cdede.tar.gz
openlmi-providers-58dcc99707d1a3cb76fa4ec311af10d65d9cdede.tar.xz
openlmi-providers-58dcc99707d1a3cb76fa4ec311af10d65d9cdede.zip
journald: Expose UID, GID, PID and syslog facility/severity fields
This is useful e.g. for indication filtering.
Diffstat (limited to 'mof')
-rw-r--r--mof/60_LMI_Journald.mof47
1 files changed, 46 insertions, 1 deletions
diff --git a/mof/60_LMI_Journald.mof b/mof/60_LMI_Journald.mof
index 938b3d2..7caddca 100644
--- a/mof/60_LMI_Journald.mof
+++ b/mof/60_LMI_Journald.mof
@@ -197,7 +197,7 @@ class LMI_JournalMessageLog: CIM_MessageLog
string IterationIdentifier);
};
-[ Version("0.4.1"), Provider("cmpi:cmpiLMI_Journald") ]
+[ Version("0.4.3"), Provider("cmpi:cmpiLMI_Journald") ]
class LMI_JournalLogRecord: CIM_LogRecord
{
[ Implemented(true), Override("LogCreationClassName"), Key ]
@@ -224,6 +224,51 @@ class LMI_JournalLogRecord: CIM_LogRecord
[ Implemented(true), Override("PerceivedSeverity") ]
uint16 PerceivedSeverity;
+
+ [ Implemented(true), Description (
+ "Denotes numerical effective user ID of the process that sent the "
+ "message. This ID is system specific and usually maps to a local "
+ "POSIX account." ) ]
+ uint64 UserID;
+
+ [ Implemented(true), Description (
+ "Denotes numerical effective group ID of the process that sent the "
+ "message. This ID is system specific and usually maps to a local "
+ "POSIX account." ) ]
+ uint64 GroupID;
+
+ [ Implemented(true), Description (
+ "Denotes numerical ID of the process that sent the message." ) ]
+ uint64 ProcessID;
+
+ [ Implemented(true), Description (
+ "A syslog facility level specifying what type of program is logging "
+ "the message. Values are defined by RFC 3164." ),
+ ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11",
+ "12", "13", "14", "15", "16", "17", "18", "19", "20", "21",
+ "22", "23" },
+ Values { "kern", "user", "mail", "daemon", "auth", "syslog", "lpr",
+ "news", "uucp", "clock", "authpriv", "ftp", "ntp", "audit",
+ "alert", "cron", "local0", "local1", "local2", "local3",
+ "local4", "local5", "local6", "local7" } ]
+ uint16 SyslogFacility;
+
+ [ Implemented(true), Description (
+ "A syslog severity level of the message, defined by RFC 5424." ),
+ ValueMap { "0", "1", "2", "3", "4", "5", "6", "7" },
+ Values { "Emergency", "Alert", "Critical", "Error", "Warning", "Notice",
+ "Informational", "Debug" } ]
+ uint16 SyslogSeverity;
+
+ [ Implemented(true), Description (
+ "A syslog identifier string, usually carrying process name that "
+ "logged the message." ) ]
+ String SyslogIdentifier;
+
+ [ Implemented(true), Description (
+ "The systemd unit name, not set when message has not been logged "
+ "natively through journald (i.e. through syslog transport)." ) ]
+ String SystemdUnit;
};
[ Version("0.4.1"), Provider("cmpi:cmpiLMI_Journald"),