health monitors
10 TopicsHTTPS Health monitor with post is failing...
Hello Guys, I trying to do an https monitor with post, with curl from TMSH is working since with standard https monitor is failing I followed other discussion about that unsuccessfull. This is the working curl: [keli078@cdm-sf-lb01:Active:Changes Pending] ~ # rdexec 50 curl -k 'https://sflnx006058.utenze.bankit.it:8088/services/collector/raw' --header 'Authorization: Splunk ab4cdbb0-e322-4a75-a182-668e9f7f30ed' --header 'Content-Type: application/json' --data 'lb-probe' {"text":"Success","code":0} [keli078@cdm-sf-lb01:Active:Changes Pending] ~ # This is my https monitor: send "POST /services/collector/raw HTTP/1.1\r\nAuthorization: Splunk ab4cdbb0-e322-4a75-a182-668e9f7f30ed\r\nContent-Type: application/json\r\n\r\n <LB_PROBE>" recv Success What I wrong? Many thanks for support. Fabrizio44Views0likes1CommentvCloud HTTPS monitor broke after upgrade of backend vCloud director
I have a very simple monitor for vCloud director. the Send String was GET /cloud/server_status \r\n and the receive String was Service is up. This was happy and fine, then we upgraded from vCloud 9.0 to 9.5 and suddenly the monitor started failing. We still have both versions running so I can do comparisons. Initially the monitor error stated that HTTP 0.9 wasn't supported on the backend server, so I modified the Send String to send that included HTTP 1.1 thinking this would sort me out. So now my Send String looks like GET /cloud/server_status HTTP/1.1\r\n\r\n and Receive String looks like Service is up. HTTP/1.1 The F5 monitor is saying its getting back a 400 bad request error but I'm really unsure why. Doing a verbose curl I get the following response. Legacy 9.0 < HTTP/1.1 200 OK < Date: Mon, 25 Feb 2019 19:37:47 GMT < X-VMWARE-VCLOUD-REQUEST-ID: 46386830-291d-45ab-89ce-c89188dc2746 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate < Pragma: no-cache < Expires: 0 < Strict-Transport-Security: max-age=31536000 ; includeSubDomains < X-XSS-Protection: 1; mode=block < X-Frame-Options: SAMEORIGIN < X-Content-Type-Options: nosniff < Transfer-Encoding: chunked < Service is up.* Connection 0 to host host.name left intact Updated 9.5 Response HTTP/1.1 200 OK < Date: Mon, 25 Feb 2019 19:37:02 GMT < X-VMWARE-VCLOUD-REQUEST-ID: b1e654da-ef3d-4560-aad3-6690509ce219 < Strict-Transport-Security: max-age=31536000 ; includeSubDomains < X-XSS-Protection: 1; mode=block < X-Frame-Options: SAMEORIGIN < X-Content-Type-Options: nosniff < Content-Security-Policy: default-src * data: blob: 'unsafe-inline' 'unsafe-eval'; script-src * 'unsafe-inline' 'unsafe-eval'; connect-src * 'unsafe-inline'; img-src * data: blob: 'unsafe-inline'; frame-src *; style-src * data: blob: 'unsafe-inline'; font-src * data: blob: 'unsafe-inline'; < Vary: Accept-Encoding, User-Agent < Transfer-Encoding: chunked < Service is up.* Connection 0 to host host.name left intact So I'm really confused as to what it is about the new response thats breaking the monitor. Any suggestions are appreciated.Solved849Views0likes3Commentshttps health monitor configured with only send strings but no receive strings - what it will check ?
Hi Team , If we have https health monitor configured with only send strings but no receive strings in it , what checks does it perform . can you please explain with below configuration as an example . Pool Member : 10.10.10.10 : 443 https Monitor Send string : GET /health\r\n Receive string : ( not configured )Solved1.1KViews0likes4CommentsLTM Health Monitors
Hi team. I want to ask a question about health monitors. I have a Web site (www.example.com) behind the Load Balancer. I created a health monitor and I wrote send string : ''GET / HTTP/1.1\r\nHost:www.example.com\r\nConnection: Close\r\n\r\n'' I wrote recieve string : HTTP 1.1 200 OK And application is avaliable. VS is online (green circle) Then I changed receive string to : ''GET / HTTP/1.1\r\nHost:www.f5lab.com\r\nConnection: Close\r\n\r\n. So I replaced host with an unrelated name. And application is available again :) VS is online (green circle) How should we interpret this? Do you know good article or videos about send and recieve string? Thank you..438Views0likes2CommentsGTM/LTM Monitors
Hi everyone, I have an interesting scenario with some questions. Wide IP - 1 Pool - 2 Pool Members The Pool Members are on LTMs (DC1 and DC2) The LTM Pools have custom health check monitors in place, and the servers in DC1 and DC2 are passing those health check monitors and are green on the LTMs. The GTM Pool also has a custom health check monitor defined. The odd behavior which I'm seeing though, is that DC1 Pool Member is Green (Online), while the DC2 Pool Member is Red (Offline). I can't seem to find out an explanation as to why. The GTM Pools health check is checking a particular file for a matching string. Both servers have the same exact file in their root directory, so in such a case, both should be either Online or Offline. I checked the health check file and technically, both should be failing the health check...I'm not entirely sure how the DC1 member is green. Any advice to tshoot this further and get to the bottom of it? Secondly, in a design scenario like the above, typically, I would only set up the health check monitors at the LTM level if there is only one GTM pool. My understanding is that the status of those LTMs would be communicated via iquery in between the LTM/GTM and those pool members would fail/recover according to the status of the LTMs. Wouldn't this be the leanest and simplest approach? If a GTM only has 1 pool, is there an actual need or point in configuring a health check monitor at the pool level? Wouldn't GTM Pool level health monitors only make sense when more than one pool is tied to a single FQDN? Why would this be set up in such a way and how does this benefit the design and deployment? Thanks!401Views0likes0CommentsHTTP monitor with specific curl command
Hello All, Is it possible to integrate specific curl command as send string in HTTP health monitor? I am able to run curl command from CLI and get good response, but similar command doesn't interprited in health monitor by F5. command is as below. curl -X GET http://10.10.10.3:8008/master -i -H 'Accept: application/json' -H 'Content-Type: application/json' RESULT IS HTTP/1.0 503 Service Unavailable4.9KViews0likes5Commentswhat are the different timers we can set for tcp monitor
Hi All , If I have to change the default TCP timers to greater than its default value (in new custom monitor) , what are the different timers I can set , Can I use the random values ? Say for default TCP monitor : Interval : 5sec timeout : 16 seconds .. So can we use interval : 30sec , timeout: 60 sec ?348Views0likes2CommentsSharepoint health monitors
Hey Everyone, I am currently load balancing two servers in my SharePoint setup. I am currently using the default "http" health monitor. Sometimes in the morning, one of the servers goes into an error and responds back with a 503 error. The F5 still sees the server as up and 50% of the people get the error page. I am looking for a health monitor that checks the ICMP of the server and also checks to see is the server responds back with a 503 error. If the server responds back with a 503 error I need the F5 not to send traffic to the server. In a perfect world I would also love to receive an email when this server shows a 503 response. I don't play with health monitors too often and was wondering if anyone out there could help me out. Cheers!1.1KViews0likes10Comments