Giter VIP home page Giter VIP logo

fylr-plugin-monitoring's Introduction

This Plugin / Repo is being maintained by a community of developers. There is no warranty given or bug fixing guarantee; especially not by Programmfabrik GmbH. Please use the github issue tracking to report bugs and self organize bug fixing. Feel free to directly contact the committing developers.

fylr-plugin-monitoring

Custom monitoring-endpoint for fylr-API

The plugin provides a new API endpoint under "GET /api/v1/plugin/base/monitoring/monitoring".

You have to call this endpoint with a user that has been assigned the associated "Allow Monitoring-Endpoint" system right.

The user token has to be passed in the "X-Fylr-Authorization" header as usual.

Hint: The "validation"-section checks configuration of https://github.com/programmfabrik/fylr-plugin-custom-vzg-validationhub

installation

The latest version of this plugin can be found here.

The ZIP can be downloaded and installed using the plugin manager, or used directly (recommended).

Github has an overview page to get a list of all release.

configuration

  • baseconfig

    • enable (true|false)

    • sensibility: Show license-dates in response? (true|false)

    • weeks before escalation (int). Configures how many weeks before the license expires, "response.license.escalate" should be set to "true".

    • What to do: Email settings incomplete (nothing, warning,error)

    • What to do: License-Problems (nothing, warning,error)

    • What to do: Problems with validation (nothing, warning,error)

    • What to do: Purge is active (nothing, warning,error)

    • What to do: Loglevel is debug/trace (nothing, warning,error)

    • What to do: One or more plugins are disabled (nothing, warning,error)

  • systemright

    • assign new systemright "monitoring_endpoint" to user and allow thereby usage of this custom endpoint

example

X-Fylr-Authorization: Bearer ory_at__koe72_qYqjqi2C6AHYhiDLFjpWl4Cf_EbDVq399eCU.XtkKitMB3o7U1dhebX6WuK9123EkQ3W77zQeFTKPTAc

GET https://example.fylr.io/api/v1/plugin/extension/monitoring-endpoint/monitoring"

Result is as usual "application/json" and has the following structure

{
  "email": {
    "notifications": true,
    "email_server": "mailer.example.de:25",
    "adminEmails": [
      "r*a*a*.*e*m*@*c*.*a",
      "a*d*e*@*.*d"
    ]
  },
  "janitor": {
    "janitorActive": true,
    "eventDeletionEnabled": true,
    "escalate": false
  },
  "logLevel": "debug",
  "purge": {
    "allowPurge": false,
    "allowPurgeStorage": false
  },
  "objectstore": "-",
  "license": {
    "licenseCreatedAt": "2023-06-15T12:45:13+02:00",
    "licenseValidTo": "2024-06-15T12:45:13+02:00",
    "escalate": false
  },
  "plugins": [
    "custom-data-type-example",
    "custom-favicon",
    "custom-vzg-validationhub",
    "default-values-from-pool",
    "easydb-wordpress-plugin",
    "find-duplicate-field-values",
    "fylr_example",
    "monitoring-endpoint",
    "pdf-creator"
  ],
  "pendingSchemaCommits": false,
  "validation": {
    "validationEnabled": true,
    "tagFilterValid": true,
    "objecttypeFilterValid": false
  },
  "name": "8aa5f869-1111-41bc-aaaa-74a4b34616ef",
  "config_name": "fylr",
  "startup_time": "2023-06-26T12:57:55Z",
  "version": "v6.5.0",
  "build_commit": "46af7aa3a58c79244ee48145eb4f7e0f26880c61",
  "build_commit_time": "2023-06-20T18:58:36Z",
  "statistics": {
    "user": 8,
    "group": 12,
    "pool": 6,
    "objecttypes": {
      "test": 1,
      "hello": 1,
      "defaultvalues": 5,
      "bounce": 10,
      "here": 10,
      "object": 1,
      "wordpress": 10
    }
  },
  "status": "warning",
  "statusmessage": "Problems: Validation"
}

sources

The source code of this plugin is managed in a git repository at https://github.com/programmfabrik/fylr-plugin-monitoring-endpoint.

fylr-plugin-monitoring's People

Contributors

stiftungausnachlass avatar

Watchers

James Cloos avatar  avatar Martin Rode avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.