CheckEventLogCheckEventLog — CheckEventLog¶Check for errors and warnings in the event log.
Queries (Overview):
A list of all available queries (check commands)
| Command | Description |
|---|---|
check_eventlog |
Check for errors in the event log. |
checkeventlog |
Legacy version of check_eventlog |
Commands (Overview):
TODO: Add a list of all external commands (this is not check commands)
Configuration (Overview):
Common Keys:
| Path / Section | Key | Description |
|---|---|---|
/settings/eventlog |
buffer size |
BUFFER_SIZE |
/settings/eventlog |
debug |
DEBUG |
/settings/eventlog |
lookup names |
LOOKUP NAMES |
/settings/eventlog |
syntax |
SYNTAX |
/settings/eventlog/real-time |
debug |
DEBUG |
/settings/eventlog/real-time |
enabled |
REAL TIME CHECKING |
/settings/eventlog/real-time |
log |
LOGS TO CHECK |
/settings/eventlog/real-time |
startup age |
STARTUP AGE |
/settings/eventlog/real-time/filters |
default |
default |
Sample keys:
A quick reference for all available queries (check commands) in the CheckEventLog module.
check_eventlog¶CheckEventLogcheck_eventlogUsage:
| Option | Default Value | Description |
|---|---|---|
help |
N/A | Show help screen (this screen) |
help-pb |
N/A | Show help screen as a protocol buffer payload |
show-default |
N/A | Show default values for a given command |
help-short |
N/A | Show help screen (short format). |
debug |
N/A | Show debugging information in the log |
show-all |
N/A | Show debugging information in the log |
filter |
level in (‘error’, ‘warning’) | Filter which marks interesting items. |
warning |
count > 0 | Filter which marks items which generates a warning state. |
warn |
Short alias for warning | |
critical |
count > 5 | Filter which marks items which generates a critical state. |
crit |
Short alias for critical. | |
ok |
Filter which marks items which generates an ok state. | |
empty-state |
ok | Return status to use when nothing matched filter. |
perf-config |
Performance data generation configuration | |
unique-index |
Unique syntax. | |
top-syntax |
${status}: ${problem_count}/${count} ${problem_list} | Top level syntax. |
ok-syntax |
%(status): Event log seems fine | ok syntax. |
empty-syntax |
%(status): No entries found | Empty syntax. |
detail-syntax |
${file} ${source} (${message}) | Detail level syntax. |
perf-syntax |
${file}_${source} | Performance alias syntax. |
file |
File to read (can be specified multiple times to check multiple files. | |
scan-range |
Date range to scan. | |
truncate-message |
Maximum length of message for each event log message text. | |
unique |
1 | Shorthand for setting default unique index: ${log}-${source}-${id}. |
help (CheckEventLog, check_eventlog)¶help-pb (CheckEventLog, check_eventlog)¶show-default (CheckEventLog, check_eventlog)¶help-short (CheckEventLog, check_eventlog)¶debug (CheckEventLog, check_eventlog)¶show-all (CheckEventLog, check_eventlog)¶filter (CheckEventLog, check_eventlog)¶| Key | Value |
| category | TODO |
| computer | Which computer generated the message |
| customer | TODO |
| file | The logfile name |
| id | Eventlog id |
| level | Severity level (error, warning, info, success, auditSucess, auditFailure) |
| log | alias for file |
| message | The message rendered as a string. |
| rawid | Raw message id (contains many other fields all baked into a single number) |
| source | Source system. |
| type | alias for level (old, deprecated) |
| written | When the message was written to file |
| count | Number of items matching the filter |
| total | Total number of items |
| ok_count | Number of items matched the ok criteria |
| warn_count | Number of items matched the warning criteria |
| crit_count | Number of items matched the critical criteria |
| problem_count | Number of items matched either warning or critical criteria |
| list | A list of all items which matched the filter |
| ok_list | A list of all items which matched the ok criteria |
| warn_list | A list of all items which matched the warning criteria |
| crit_list | A list of all items which matched the critical criteria |
| problem_list | A list of all items which matched either the critical or the warning criteria |
| detail_list | A special list with critical, then warning and fainally ok |
| status | The returned status (OK/WARN/CRIT/UNKNOWN) |
warning (CheckEventLog, check_eventlog)¶| Key | Value |
| category | TODO |
| computer | Which computer generated the message |
| customer | TODO |
| file | The logfile name |
| id | Eventlog id |
| level | Severity level (error, warning, info, success, auditSucess, auditFailure) |
| log | alias for file |
| message | The message rendered as a string. |
| rawid | Raw message id (contains many other fields all baked into a single number) |
| source | Source system. |
| type | alias for level (old, deprecated) |
| written | When the message was written to file |
| count | Number of items matching the filter |
| total | Total number of items |
| ok_count | Number of items matched the ok criteria |
| warn_count | Number of items matched the warning criteria |
| crit_count | Number of items matched the critical criteria |
| problem_count | Number of items matched either warning or critical criteria |
| list | A list of all items which matched the filter |
| ok_list | A list of all items which matched the ok criteria |
| warn_list | A list of all items which matched the warning criteria |
| crit_list | A list of all items which matched the critical criteria |
| problem_list | A list of all items which matched either the critical or the warning criteria |
| detail_list | A special list with critical, then warning and fainally ok |
| status | The returned status (OK/WARN/CRIT/UNKNOWN) |
warn (CheckEventLog, check_eventlog)¶critical (CheckEventLog, check_eventlog)¶| Key | Value |
| category | TODO |
| computer | Which computer generated the message |
| customer | TODO |
| file | The logfile name |
| id | Eventlog id |
| level | Severity level (error, warning, info, success, auditSucess, auditFailure) |
| log | alias for file |
| message | The message rendered as a string. |
| rawid | Raw message id (contains many other fields all baked into a single number) |
| source | Source system. |
| type | alias for level (old, deprecated) |
| written | When the message was written to file |
| count | Number of items matching the filter |
| total | Total number of items |
| ok_count | Number of items matched the ok criteria |
| warn_count | Number of items matched the warning criteria |
| crit_count | Number of items matched the critical criteria |
| problem_count | Number of items matched either warning or critical criteria |
| list | A list of all items which matched the filter |
| ok_list | A list of all items which matched the ok criteria |
| warn_list | A list of all items which matched the warning criteria |
| crit_list | A list of all items which matched the critical criteria |
| problem_list | A list of all items which matched either the critical or the warning criteria |
| detail_list | A special list with critical, then warning and fainally ok |
| status | The returned status (OK/WARN/CRIT/UNKNOWN) |
crit (CheckEventLog, check_eventlog)¶ok (CheckEventLog, check_eventlog)¶| Key | Value |
| category | TODO |
| computer | Which computer generated the message |
| customer | TODO |
| file | The logfile name |
| id | Eventlog id |
| level | Severity level (error, warning, info, success, auditSucess, auditFailure) |
| log | alias for file |
| message | The message rendered as a string. |
| rawid | Raw message id (contains many other fields all baked into a single number) |
| source | Source system. |
| type | alias for level (old, deprecated) |
| written | When the message was written to file |
| count | Number of items matching the filter |
| total | Total number of items |
| ok_count | Number of items matched the ok criteria |
| warn_count | Number of items matched the warning criteria |
| crit_count | Number of items matched the critical criteria |
| problem_count | Number of items matched either warning or critical criteria |
| list | A list of all items which matched the filter |
| ok_list | A list of all items which matched the ok criteria |
| warn_list | A list of all items which matched the warning criteria |
| crit_list | A list of all items which matched the critical criteria |
| problem_list | A list of all items which matched either the critical or the warning criteria |
| detail_list | A special list with critical, then warning and fainally ok |
| status | The returned status (OK/WARN/CRIT/UNKNOWN) |
empty-state (CheckEventLog, check_eventlog)¶perf-config (CheckEventLog, check_eventlog)¶unique-index (CheckEventLog, check_eventlog)¶| Key | Value |
| %(category) | TODO |
| %(computer) | Which computer generated the message |
| %(customer) | TODO |
| %(file) | The logfile name |
| %(id) | Eventlog id |
| %(level) | Severity level (error, warning, info, success, auditSucess, auditFailure) |
| %(log) | alias for file |
| %(message) | The message rendered as a string. |
| %(rawid) | Raw message id (contains many other fields all baked into a single number) |
| %(source) | Source system. |
| %(type) | alias for level (old, deprecated) |
| %(written) | When the message was written to file |
| ${count} | Number of items matching the filter |
| ${total} | Total number of items |
| ${ok_count} | Number of items matched the ok criteria |
| ${warn_count} | Number of items matched the warning criteria |
| ${crit_count} | Number of items matched the critical criteria |
| ${problem_count} | Number of items matched either warning or critical criteria |
| ${list} | A list of all items which matched the filter |
| ${ok_list} | A list of all items which matched the ok criteria |
| ${warn_list} | A list of all items which matched the warning criteria |
| ${crit_list} | A list of all items which matched the critical criteria |
| ${problem_list} | A list of all items which matched either the critical or the warning criteria |
| ${detail_list} | A special list with critical, then warning and fainally ok |
| ${status} | The returned status (OK/WARN/CRIT/UNKNOWN) |
top-syntax (CheckEventLog, check_eventlog)¶| Key | Value |
| %(category) | TODO |
| %(computer) | Which computer generated the message |
| %(customer) | TODO |
| %(file) | The logfile name |
| %(id) | Eventlog id |
| %(level) | Severity level (error, warning, info, success, auditSucess, auditFailure) |
| %(log) | alias for file |
| %(message) | The message rendered as a string. |
| %(rawid) | Raw message id (contains many other fields all baked into a single number) |
| %(source) | Source system. |
| %(type) | alias for level (old, deprecated) |
| %(written) | When the message was written to file |
| ${count} | Number of items matching the filter |
| ${total} | Total number of items |
| ${ok_count} | Number of items matched the ok criteria |
| ${warn_count} | Number of items matched the warning criteria |
| ${crit_count} | Number of items matched the critical criteria |
| ${problem_count} | Number of items matched either warning or critical criteria |
| ${list} | A list of all items which matched the filter |
| ${ok_list} | A list of all items which matched the ok criteria |
| ${warn_list} | A list of all items which matched the warning criteria |
| ${crit_list} | A list of all items which matched the critical criteria |
| ${problem_list} | A list of all items which matched either the critical or the warning criteria |
| ${detail_list} | A special list with critical, then warning and fainally ok |
| ${status} | The returned status (OK/WARN/CRIT/UNKNOWN) |
ok-syntax (CheckEventLog, check_eventlog)¶empty-syntax (CheckEventLog, check_eventlog)¶| Key | Value |
| %(category) | TODO |
| %(computer) | Which computer generated the message |
| %(customer) | TODO |
| %(file) | The logfile name |
| %(id) | Eventlog id |
| %(level) | Severity level (error, warning, info, success, auditSucess, auditFailure) |
| %(log) | alias for file |
| %(message) | The message rendered as a string. |
| %(rawid) | Raw message id (contains many other fields all baked into a single number) |
| %(source) | Source system. |
| %(type) | alias for level (old, deprecated) |
| %(written) | When the message was written to file |
| ${count} | Number of items matching the filter |
| ${total} | Total number of items |
| ${ok_count} | Number of items matched the ok criteria |
| ${warn_count} | Number of items matched the warning criteria |
| ${crit_count} | Number of items matched the critical criteria |
| ${problem_count} | Number of items matched either warning or critical criteria |
| ${list} | A list of all items which matched the filter |
| ${ok_list} | A list of all items which matched the ok criteria |
| ${warn_list} | A list of all items which matched the warning criteria |
| ${crit_list} | A list of all items which matched the critical criteria |
| ${problem_list} | A list of all items which matched either the critical or the warning criteria |
| ${detail_list} | A special list with critical, then warning and fainally ok |
| ${status} | The returned status (OK/WARN/CRIT/UNKNOWN) |
detail-syntax (CheckEventLog, check_eventlog)¶| Key | Value |
| %(category) | TODO |
| %(computer) | Which computer generated the message |
| %(customer) | TODO |
| %(file) | The logfile name |
| %(id) | Eventlog id |
| %(level) | Severity level (error, warning, info, success, auditSucess, auditFailure) |
| %(log) | alias for file |
| %(message) | The message rendered as a string. |
| %(rawid) | Raw message id (contains many other fields all baked into a single number) |
| %(source) | Source system. |
| %(type) | alias for level (old, deprecated) |
| %(written) | When the message was written to file |
| ${count} | Number of items matching the filter |
| ${total} | Total number of items |
| ${ok_count} | Number of items matched the ok criteria |
| ${warn_count} | Number of items matched the warning criteria |
| ${crit_count} | Number of items matched the critical criteria |
| ${problem_count} | Number of items matched either warning or critical criteria |
| ${list} | A list of all items which matched the filter |
| ${ok_list} | A list of all items which matched the ok criteria |
| ${warn_list} | A list of all items which matched the warning criteria |
| ${crit_list} | A list of all items which matched the critical criteria |
| ${problem_list} | A list of all items which matched either the critical or the warning criteria |
| ${detail_list} | A special list with critical, then warning and fainally ok |
| ${status} | The returned status (OK/WARN/CRIT/UNKNOWN) |
perf-syntax (CheckEventLog, check_eventlog)¶| Key | Value |
| %(category) | TODO |
| %(computer) | Which computer generated the message |
| %(customer) | TODO |
| %(file) | The logfile name |
| %(id) | Eventlog id |
| %(level) | Severity level (error, warning, info, success, auditSucess, auditFailure) |
| %(log) | alias for file |
| %(message) | The message rendered as a string. |
| %(rawid) | Raw message id (contains many other fields all baked into a single number) |
| %(source) | Source system. |
| %(type) | alias for level (old, deprecated) |
| %(written) | When the message was written to file |
| ${count} | Number of items matching the filter |
| ${total} | Total number of items |
| ${ok_count} | Number of items matched the ok criteria |
| ${warn_count} | Number of items matched the warning criteria |
| ${crit_count} | Number of items matched the critical criteria |
| ${problem_count} | Number of items matched either warning or critical criteria |
| ${list} | A list of all items which matched the filter |
| ${ok_list} | A list of all items which matched the ok criteria |
| ${warn_list} | A list of all items which matched the warning criteria |
| ${crit_list} | A list of all items which matched the critical criteria |
| ${problem_list} | A list of all items which matched either the critical or the warning criteria |
| ${detail_list} | A special list with critical, then warning and fainally ok |
| ${status} | The returned status (OK/WARN/CRIT/UNKNOWN) |
file (CheckEventLog, check_eventlog)¶scan-range (CheckEventLog, check_eventlog)¶truncate-message (CheckEventLog, check_eventlog)¶unique (CheckEventLog, check_eventlog)¶checkeventlog¶CheckEventLogcheckeventlogUsage:
| Option | Default Value | Description |
|---|---|---|
help |
N/A | Show help screen (this screen) |
help-pb |
N/A | Show help screen as a protocol buffer payload |
show-default |
N/A | Show default values for a given command |
help-short |
N/A | Show help screen (short format). |
MaxWarn |
Maximum value before a warning is returned. | |
MaxCrit |
Maximum value before a critical is returned. | |
MinWarn |
Minimum value before a warning is returned. | |
MinCrit |
Minimum value before a critical is returned. | |
warn |
Maximum value before a warning is returned. | |
crit |
Maximum value before a critical is returned. | |
filter |
The filter to use. | |
file |
The file to check | |
debug |
1 | The file to check |
truncate |
Deprecated and has no meaning | |
descriptions |
1 | Deprecated and has no meaning |
unique |
1 | |
syntax |
%source%, %strings% | The syntax string |
top-syntax |
${list} | The top level syntax string |
scan-range |
TODO |
help (CheckEventLog, checkeventlog)¶help-pb (CheckEventLog, checkeventlog)¶show-default (CheckEventLog, checkeventlog)¶help-short (CheckEventLog, checkeventlog)¶MaxWarn (CheckEventLog, checkeventlog)¶MaxCrit (CheckEventLog, checkeventlog)¶MinWarn (CheckEventLog, checkeventlog)¶MinCrit (CheckEventLog, checkeventlog)¶warn (CheckEventLog, checkeventlog)¶crit (CheckEventLog, checkeventlog)¶filter (CheckEventLog, checkeventlog)¶file (CheckEventLog, checkeventlog)¶debug (CheckEventLog, checkeventlog)¶truncate (CheckEventLog, checkeventlog)¶descriptions (CheckEventLog, checkeventlog)¶unique (CheckEventLog, checkeventlog)¶syntax (CheckEventLog, checkeventlog)¶top-syntax (CheckEventLog, checkeventlog)¶scan-range (CheckEventLog, checkeventlog)¶/settings/eventlog (CheckEventLog)¶EVENT LOG SECTION
Section for the EventLog Checker (CheckEventLog.dll).
Key Default Value Description buffer size131072 BUFFER_SIZE debug0 DEBUG lookup names1 LOOKUP NAMES syntaxSYNTAX Sample:
# EVENT LOG SECTION # Section for the EventLog Checker (CheckEventLog.dll). [/settings/eventlog] buffer size=131072 debug=0 lookup names=1 syntax=
buffer size(CheckEventLog, /settings/eventlog)¶BUFFER_SIZE
The size of the buffer to use when getting messages this affects the speed and maximum size of messages you can recieve.Path: /settings/eventlog
Key: buffer size
Default value: 131072
Used by:
CheckEventLogSample:
[/settings/eventlog] # BUFFER_SIZE buffer size=131072
debug(CheckEventLog, /settings/eventlog)¶DEBUG
Log more information when filtering (useful to detect issues with filters) not useful in production as it is a bit of a resource hog.Path: /settings/eventlog
Key: debug
Default value: 0
Used by:
CheckEventLogSample:
[/settings/eventlog] # DEBUG debug=0
lookup names(CheckEventLog, /settings/eventlog)¶LOOKUP NAMES
Lookup the names of eventlog filesPath: /settings/eventlog
Key: lookup names
Default value: 1
Used by:
CheckEventLogSample:
[/settings/eventlog] # LOOKUP NAMES lookup names=1
syntax(CheckEventLog, /settings/eventlog)¶SYNTAX
Set this to use a specific syntax string for all commands (that don’t specify one).Path: /settings/eventlog
Key: syntax
Default value:
Used by:
CheckEventLogSample:
[/settings/eventlog] # SYNTAX syntax=
/settings/eventlog/real-time (CheckEventLog)¶CONFIGURE REALTIME CHECKING
A set of options to configure the real time checks
Key Default Value Description debug0 DEBUG enabled0 REAL TIME CHECKING logapplication,system LOGS TO CHECK startup age30m STARTUP AGE Sample:
# CONFIGURE REALTIME CHECKING # A set of options to configure the real time checks [/settings/eventlog/real-time] debug=0 enabled=0 log=application,system startup age=30m
debug(CheckEventLog, /settings/eventlog/real-time)¶DEBUG
Log missed records (useful to detect issues with filters) not useful in production as it is a bit of a resource hog.Path: /settings/eventlog/real-time
Key: debug
Default value: 0
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time] # DEBUG debug=0
enabled(CheckEventLog, /settings/eventlog/real-time)¶REAL TIME CHECKING
Spawns a background thread which detects issues and reports them back instantly.Path: /settings/eventlog/real-time
Key: enabled
Default value: 0
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time] # REAL TIME CHECKING enabled=0
log(CheckEventLog, /settings/eventlog/real-time)¶LOGS TO CHECK
Comma separated list of logs to checkPath: /settings/eventlog/real-time
Key: log
Default value: application,system
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time] # LOGS TO CHECK log=application,system
startup age(CheckEventLog, /settings/eventlog/real-time)¶STARTUP AGE
The initial age to scan when starting NSClient++Path: /settings/eventlog/real-time
Key: startup age
Default value: 30m
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time] # STARTUP AGE startup age=30m
/settings/eventlog/real-time/filters (CheckEventLog)¶REALTIME FILTERS
A set of filters to use in real-time mode
Key Default Value Description defaultdefault Sample:
# REALTIME FILTERS # A set of filters to use in real-time mode [/settings/eventlog/real-time/filters] default=
default(CheckEventLog, /settings/eventlog/real-time/filters)¶default
Filter for default. To configure this item add a section called: /settings/eventlog/real-time/filters/defaultPath: /settings/eventlog/real-time/filters
Key: default
Default value:
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters] # default default=
/settings/eventlog/real-time/filters/sample (CheckEventLog)¶REAL TIME FILTER DEFENITION
Definition for real time filter: sample
Key Default Value Description aliasALIAS commandCOMMAND NAME criticalCRITICAL FILTER debug0 DEBUG destinationDESTINATION detail syntaxSYNTAX empty messageeventlog found no records EMPTY MESSAGE filterFILTER is template0 IS TEMPLATE logFILE logsFILES maximum age5m MAGIMUM AGE okOK FILTER ok syntaxSYNTAX parentdefault PARENT perf configPERF CONFIG severitySEVERITY targetDESTINATION top syntaxSYNTAX warningWARNING FILTER Sample:
# REAL TIME FILTER DEFENITION # Definition for real time filter: sample [/settings/eventlog/real-time/filters/sample] alias= command= critical= debug=0 destination= detail syntax= empty message=eventlog found no records filter= is template=0 log= logs= maximum age=5m ok= ok syntax= parent=default perf config= severity= target= top syntax= warning=
alias(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶ALIAS
The alias (service name) to report to serverAdvanced (means it is not commonly used)
Path: /settings/eventlog/real-time/filters/sample
Key: alias
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # ALIAS alias=
command(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶COMMAND NAME
The name of the command (think nagios service name) to report up stream (defaults to alias if not set)Advanced (means it is not commonly used)
Path: /settings/eventlog/real-time/filters/sample
Key: command
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # COMMAND NAME command=
critical(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶CRITICAL FILTER
If any rows match this filter severity will escalated to CRITICALPath: /settings/eventlog/real-time/filters/sample
Key: critical
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # CRITICAL FILTER critical=
debug(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶DEBUG
Enable this to display debug information for this match filterAdvanced (means it is not commonly used)
Path: /settings/eventlog/real-time/filters/sample
Key: debug
Default value: 0
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # DEBUG debug=0
destination(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶DESTINATION
The destination for intercepted messagesAdvanced (means it is not commonly used)
Path: /settings/eventlog/real-time/filters/sample
Key: destination
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # DESTINATION destination=
detail syntax(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶SYNTAX
Format string for datesAdvanced (means it is not commonly used)
Path: /settings/eventlog/real-time/filters/sample
Key: detail syntax
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # SYNTAX detail syntax=
empty message(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶EMPTY MESSAGE
The message to display if nothing matches the filter (generally considered the ok state).Advanced (means it is not commonly used)
Path: /settings/eventlog/real-time/filters/sample
Key: empty message
Default value: eventlog found no records
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # EMPTY MESSAGE empty message=eventlog found no records
filter(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶FILTER
Scan files for matching rows for each matching rows an OK message will be submittedPath: /settings/eventlog/real-time/filters/sample
Key: filter
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # FILTER filter=
is template(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶IS TEMPLATE
Declare this object as a template (this means it will not be available as a separate object)Advanced (means it is not commonly used)
Path: /settings/eventlog/real-time/filters/sample
Key: is template
Default value: 0
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # IS TEMPLATE is template=0
log(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶FILE
The eventlog record to filter on (if set to ‘all’ means all enabled logs)Path: /settings/eventlog/real-time/filters/sample
Key: log
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # FILE log=
logs(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶FILES
The eventlog record to filter on (if set to ‘all’ means all enabled logs)Advanced (means it is not commonly used)
Path: /settings/eventlog/real-time/filters/sample
Key: logs
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # FILES logs=
maximum age(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶MAGIMUM AGE
How long before reporting “ok”.If this is set to “false” no periodic ok messages will be reported only errors.Path: /settings/eventlog/real-time/filters/sample
Key: maximum age
Default value: 5m
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # MAGIMUM AGE maximum age=5m
ok(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶OK FILTER
If any rows match this filter severity will escalated down to OKPath: /settings/eventlog/real-time/filters/sample
Key: ok
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # OK FILTER ok=
ok syntax(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶SYNTAX
Format string for datesAdvanced (means it is not commonly used)
Path: /settings/eventlog/real-time/filters/sample
Key: ok syntax
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # SYNTAX ok syntax=
parent(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶PARENT
The parent the target inherits fromAdvanced (means it is not commonly used)
Path: /settings/eventlog/real-time/filters/sample
Key: parent
Default value: default
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # PARENT parent=default
perf config(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶PERF CONFIG
Performance data configurationAdvanced (means it is not commonly used)
Path: /settings/eventlog/real-time/filters/sample
Key: perf config
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # PERF CONFIG perf config=
severity(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶SEVERITY
THe severity of this message (OK, WARNING, CRITICAL, UNKNOWN)Advanced (means it is not commonly used)
Path: /settings/eventlog/real-time/filters/sample
Key: severity
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # SEVERITY severity=
target(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶DESTINATION
Same as destinationPath: /settings/eventlog/real-time/filters/sample
Key: target
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # DESTINATION target=
top syntax(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶SYNTAX
Format string for datesAdvanced (means it is not commonly used)
Path: /settings/eventlog/real-time/filters/sample
Key: top syntax
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # SYNTAX top syntax=
warning(CheckEventLog, /settings/eventlog/real-time/filters/sample)¶WARNING FILTER
If any rows match this filter severity will escalated to WARNINGPath: /settings/eventlog/real-time/filters/sample
Key: warning
Default value:
Sample key: This key is provided as a sample to show how to configure objects
Used by:
CheckEventLogSample:
[/settings/eventlog/real-time/filters/sample] # WARNING FILTER warning=