Forum Discussion
CHATEL_Eric_195
Nimbostratus
Sep 08, 2015Monitor ElasticSearch node
Hi,
I try to create a new monitor which be able to check availability of each node by searching "status" : 200
This, is an output of curl -v 10.10.10.20:9200
* About to connect() to 10.10...
Sep 08, 2015
Hi Jerome!
You can test your monitor with
echo -ne "GET / HTTP/1.1\r\nUser-Agent:\r\nHost:\r\nAccept: */*\r\nConnection: close\r\n" | nc [IP] [Port]
In your case I'd add an extra \r\n in the end:
GET / HTTP/1.1\r\nUser-Agent:\r\nHost:\r\nAccept: */*\r\nConnection: close\r\n\r\n
That should do the trick!
/Patrik
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
