[HELP] Search String - Pattern

2014-05-05
2014-05-10
  • Luis Carlos
    Luis Carlos
    2014-05-05

    Hi friends!

    Does anybody know how can I do to configure string on my application to match to the string on server configuration node in PHP Server Monitor control painel? I need to create a health check to verify all the application and if all right it's OK the correct string is generated. If the any part of application is not OK, another string is generated and won't match to the string on PHP Server Monitor and the node will down.

    Thanks for the help.

    Regards,

    Luis Carlos

     
  • Pep
    Pep
    2014-05-10

    Hi Luis,
    To create the health check, choose a piece of string that can be found in the HTML source of your application when it's running OK. You can then add that string to the monitor config, or create a regular expression to match it. If a match is found in the retrieved source from your application, the monitor will regard the application as up.

    If you need more help, please let me know, but please try to be more specific on which part you have problems with.

    Regards,
    Pep