Skip to content

A Pimcore plugin that performs various checks regarding system health.

License

Notifications You must be signed in to change notification settings

basilicom/pimcore-plugin-check-health

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CheckHealth Pimcore Plugin

Developer info: Pimcore at basilicom

Synopsis

This Pimcore http://www.pimcore.org plugin provides a controller/action where upon access a couple of checks regarding system health are performed. Output is SUCCESS or FAILURE - this is suitable for continuous monitoring via StatusCake, Pingdom or a similar service.

Code Example / Method of Operation

After installing the plugin, configuration options are exposed via the configure button in the Extension Manager.

More checks can be added by new blocks listing additional classes implementing the check() method of the CheckInterface. If a check fails, an exception must be thrown. Messages of CheckExceptions are publically visible. All other exceptions are logged via the Pimcore ApplicationLogger and identifiable via an unique id.

The URL to trigger the check is:

[domain]/plugin/CheckHealth/check/status

Motivation

Services like Pingdom and StatusCake should be used by detecting a specific success state instead of looking for closing body tags, status codes or similar indications. A dedicated list of checks helps ensuring a fully functioning web system.

Installation

Add "basilicom-pimcore/check-health" as a requirement to the composer.json in the toplevel directory of your Pimcore installation. Then enable and install the plugin in Pimcore Extension Manager (under Extras > Extensions)

Note: The xml config file property "enabled" must be set to "1" in order to enable the checks.

Example:

{
    "require": {
        "basilicom-pimcore-plugin/protected-admin": ">=1.0.0"
    }
}

Contributors

License

  • GNU General Public License version 3 (GPLv3)

About

A Pimcore plugin that performs various checks regarding system health.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages