Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Advanced Tables - Table Plus
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse
Node nameValue

Mgnl n
<voter name>

Name of the voter

Mgnl p
class

Should be info.magnolia.health.voters.HealthEventPropertyVoter

Mgnl p
enabled

true (the default if not specified) or false

If false, the voter will not be evaluated

Mgnl p
not

true or false (the default if not specified)

If true, the result of the voter will be negated (e.g. !result).

Mgnl p
identifier

The identifier of the health event

Health events have the following identifiers: 

loggedMessage - the health event was created from a log message

publicationError - the health event was created from a publication error

If not specified, the identifier will be loggedMessage.

Mgnl p
propertyName

(required) The name of the health event property whose value will be checked 

Mgnl p
propertyValue

(required) The expected value of the health event property

Mgnl p
predicate

Specifies how the value of propertyName will be compared to the expected propertyValue

The following comparisons are available: 

  • isDefined: property propertyName is defined in the health event
  • equals: propertyValue equals the actual property value
  • notEquals: propertyName is defined in the health event and propertyValue does not equal the actual property value
  • matches: propertyValue is a regular expression that matches the actual property value
  • doesNotMatch: property propertyName is defined in the health event and propertyName does not match the actual property value

Mgnl p
threshold

The number of health events matching the identifier, propertyName, propertyName and predicate. If more health events are found, the voter will return true, otherwise false.

If not specified, threshold will be 0.

Mgnl p
interval

Defines an interval in milliseconds from the current time when the health voter is checked for health events 

Health events outside of the interval will not be checked. 

Use interval intervals to limit the health events considered (e.g. publication errors within the last 30 minutes). 

If interval is less than than 0, all health events will be checked (the default if not specified). 

...

Advanced Tables - Table Plus
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse
Node nameValue

Mgnl n
<voter name>

Name of the voter

Mgnl p
class

Should be info.magnolia.health.voters.HealthEventPropertyVoter

Mgnl p
enabled

true (the default if not specified) or false

If false, the voter will not be evaluated

Mgnl p
not

true or false (the default if not specified)

If true, the result of the voter will be negated (e.g. !result).

Mgnl p
workspace

(required) The workspace that will be searched

Mgnl p
query

A valid JCR SQL 2 query that will be evaluated in the workspace

Mgnl p
threshold

The number of nodes expected to be found for the health voter to return true.

If not specified, threshold will be 0 (one or more node is nodes are found by the query).

Health events

...

Both sources can provide valuable insight in into what has happened in a Magnolia instance outside of the time Magnolia's health is being checked.

...

These loggers will select WARN level messages from the Magnolia Multi-Site module (specifically info.magnolia.multisite.sites.MultiSiteManager) and the Magnolia SiteMesh cacheing caching module (specifically info.magnolia.sitemesh.config.MagnoliaConfigurableSiteMeshFilter) and sends them to the HealthMonitor appender named "license-monitor". MultiSiteManager and MagnoliaConfigurableSiteMeshFilter both report expired licenses at WARN level.

...