# emerwen
emerwen is a WIP host and service monitoring solution.
emerwen stands for *shepherdess* in Quenya.
It's architected as one Master server, which configures Workers who notify the
Master about the status of their targets.
gRPC is used for the Master<->Worker connection. A custom TCP protocol was
planned and experimented with, but scrapped due to *me* not having done it before
and not wanting to deal with the burden of managing all the connections manually etc, etc.
tldr: gRPC was easier lmao.
## Future
* TLS
* Graceful shutdown for Workers when SIGINT is received
* Send Master(s) a message that you're exiting, and wait for Master(s)
to end the connection
* Once no connections are active, exit with 0
* Master should notify if a Worker becomes unreachable
* Without sending the message described above "graceful shutdown"