NetXMS Support Forum

English Support => General Support => Topic started by: pace on April 26, 2015, 10:11:09 PM

Title: Test a load balanced website for content
Post by: pace on April 26, 2015, 10:11:09 PM
So I've got my load balanced web servers.  I'd like to check the health of the load balanced site on the local web server, but I need to be able to send a host header because if I use the actual site name, it gets sent to the load balancer and therefore I don't know if my individual webserver is having an issue.  From what I can tell ServiceCheck.HTTP and HTTPS, while they have a configuration option for host header, they do not actually use it.

Do any of the agent tests support host headers?  I see Service.Check is based on curl -- can I send it a --headers somehow?


pace