Git Product home page Git Product logo

monitor-bundle's Introduction

OpenConext

License

See the LICENSE file

Disclaimer

See the NOTICE.txt file

General Information

General information on OpenConext can be found at: https://www.openconext.org

OpenConext uses the GitHub OpenConext wiki for information regarding deployment and development of OpenConext.

OpenConext wants to kindly thank BrowserStack.com for providing a "Free for Open Source" license. This tool provides live, web-based browser testing and eliminates the need for maintaining several local VMs.

monitor-bundle's People

Contributors

chris53897 avatar chris8934 avatar mkodde avatar pablothedude avatar tacman avatar thijskh avatar tvdijen avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

chris53897 tacman

monitor-bundle's Issues

Warnings triggered on database-end by health-monitor

When going to https://engine.example.org/health, it triggers a warning on the database-end:

May 22 14:36:13 database-1 mysqld: 2018-05-22 14:36:13 140580659341056 [Warning] Aborted connection 8701 to db: 'engineblock' user: 'engineblock' host: '10.2.16.3' (Got an error reading communication packets)

This only happens for engine and can be easily reproduced by going to the health-endpoint in a browser.
I've excluded HAproxy, loadbalancer, host-firewall and SElinux as a possible cause.. It seems to be a Doctrine-thing, since a SELECT 1; from CLI or some graphical tool is running just fine.

backticks don't work in postgres for database health check

I think this works in MySQL, but not postgres:

                    // Perform a light-weight query on the chosen table
                    $query = 'SELECT * FROM `%s` LIMIT 1';
                    $this->entityManager->getConnection()->executeQuery(sprintf($query, $table->getName()));

when I remove the backticks, it works as expected for me, running postgres 16.

I thought doctrine had some sort of escape method that was database-specific, but I can't find it now.

FWIW, the table is doctrine_migrations_table

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.