How to check a service:port on another node
Hello Puppet folks,
I'm looking for ideas to implement inter-node connections/checks to my Puppet code.
For example: we have multiple Apache webservers connecting to several MariaDB servers, Memcached servers, .. and various other services. We have multiple administrative servers (ELK stack, Puppet master, Jenkins, ..) contacting/running agent services on other nodes.
I would like to run some kind of agent or command on each node to see if it can still connect to services(:port) on other nodes. Ideally all this information sits in hieradata (we use roles/profiles setup) and writes its output to Logstash/Elasticsearch.
Goal is not to check uptime of the services but more like firewall rules/ACLs configured by our network team. We don't have control over those rules or the changes they make ;-)
All suggestions or ideas are welcome.