The Hadoop has multi DataNode, they all listened to a TCP port .
When I used Nagios , I only need to setted up one nagios-Server, one Nagio-client. And It use “check_tcp” to check each DataNode (Each nodes has a same check)
But How can I config Sensu For Hadoop without installing clients on the DataNodes?
Sensu makes the assumption that anything that can* run the Sensu client, does, as it provides keepalive/heartbeat functionality, as well as an check execution platform
. You could run the Sensu clients and use a check definition that targets the Hadoop DataNode subscription, a check definition that specified the local tcp socket. If you do not wish to run the clients, you could create a check definition for each DataNode or modify check_tcp to take an array of socket hosts to check, and make it a standalone check on a single node or use a subscription with only one consumer.
The Hadoop has multi DataNode, they all listened to a TCP port .
When I used Nagios , I only need to setted up one nagios-Server, one Nagio-client. And It use “check_tcp” to check each DataNode (Each nodes has a same check)
But How can I config Sensu For Hadoop without installing clients on the DataNodes?