Web Error

FrancescFrancesc
Hi,



Our web application shows the string ERROR when Oracle is not available.



Is there any way to execute a rule that falls if the string ERROR is found in a web?



Regards,

Francesc

Comments

  • AdministratorAdministrator
    The URL check only verifies if a predefined string can be found and generates an alert when not.



    In this case I would create in my webapp a clause that prints a string when database connection is OK. When not, then the hidden string (in html code as comment) is not printed and this could trigger the alert.



    Pseudo code:



    if Database fails then

    print <-- database failed -->

    else

    print <-- database ok -->
  • FrancescFrancesc
    I think would be interesting the possibility of use boolean operators like negation in the URL rule. This way it gets more flexible and you can activate an alert when a string is found or when it doesn't.



    Francesc

    Quote: Originally posted by Administrator on 28 June 2006

    The URL check only verifies if a predefined string can be found and generates an alert when not.



    In this case I would create in my webapp a clause that prints a string when database connection is OK. When not, then the hidden string (in html code as comment) is not printed and this could trigger the alert.



    Pseudo code:



    if Database fails then

    print <-- database failed -->

    else

    print <-- database ok -->




This discussion has been closed.