Skip to content

[RFC] Add a logger to check web page content

Hi all !

At GRAP, we are running a service OnlyOffice selfhosted. When the service is broken, for some reasons, a web page is displayed (200 status code) with a warning message. So I'd like to have a check to verify that the body page is containing "Document Server is running" or not.

I'm thinking to add a new logger for that purpose with an argument ok_messages = ["message 1", "message 2"].

  • If all of the messages are present, INFO Code
  • if status code != 200, CRITICAL Code
  • otherwise, ERROR Code

Do you have similar needs ? Any idea of implementation ?

CC : @quentinDupont, @liZe, @arthru

regards !

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information