Forum Discussion

eben's avatar
eben
Icon for Nimbostratus rankNimbostratus
Jan 18, 2017

EAV Health Monitors

Hi Group,

I am trying to get a health monitor working, the client wants the monitor to make a call to the app and get a valid response based on how the app works. Below are the sample request and response. what kind of monitor will achieve this goal? and how do I go about it? Thanks.



    
        0011002344
    



    
        
            199.49
            599.49
            0
            199.49
            0
        
    

7 Replies

  • eben's avatar
    eben
    Icon for Nimbostratus rankNimbostratus

    Hi All, Can someone please help me with this? this is critical to the clients.

     

    Thanks in advance.

     

  • i think you need to provide a successful app response vs an unsuccessful app response... whats the value that will determine a successful health-check ?

     

  • eben's avatar
    eben
    Icon for Nimbostratus rankNimbostratus

    One of the values in the response will be made static. if the value is in the response = successful. if value is not in the response = unsuccessful.

     

  • Are you sure you need an EAV monitor for this and can't use HTTP? Try using this (change Path/Host as required) as the send string;-

    POST /yourappath HTTP/1.1\r\nHost: 1.1.1.1\r\nContent-Length: 175\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\n0011002344
    

    and then set your recv string to the string you are looking for.

    • eben's avatar
      eben
      Icon for Nimbostratus rankNimbostratus

      This is the error i get after changing path and host. "value may not contain literal newline characters" the box did not take the monitor.

       

    • eben's avatar
      eben
      Icon for Nimbostratus rankNimbostratus

      IheartF5, Per the article, i tried on firefox and also got an error. I fixed it by creating the monitor in the tmsh shell. I will test with this. really hope it works. get back to you shortly.

       

      Thanks.