Ask Your Question
0

How to check a service:port on another node

asked 2015-11-09 06:47:21 -0500

kariboe gravatar image

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.

Kind Regards,

Stefaan

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-11-09 07:34:39 -0500

Cristian Falcas gravatar image

What you need is a monitoring system (nagios, collectd) that should be configured by puppet.

Puppet has a lot resources for configuring nagios using exported resources.

edit flag offensive delete link more

Comments

Christian, Thanks for the reply. I'm using the collectd puppet forge module already to monitor http and mysql stuff. I'm not a network expert, what collectd plugin could i use to check service:port on other hosts?

kariboe gravatar imagekariboe ( 2015-11-13 04:23:21 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-11-09 06:47:21 -0500

Seen: 52 times

Last updated: Nov 09 '15