Skip to content

Puppet resources to evauluate the health and status of things.

Notifications You must be signed in to change notification settings

Mylezeem/puppet-healthcheck

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puppet-healthcheck

Types

tcp_conn_validator

tcp_conn_validator is used to verify that a service is listening on a given port. It could be used to test either a remote or a local service. It support both IPv4 and IPv6 connection strings. It also works with hostname.

tcp_conn_validator { 'foo-machine ssh service' :
  host => '192.168.0.42',
  port   => 22,
}

The namevar of this resource can also be the connection string. It comes handy when one already have an array of ip:port or hostname:port string to test.

mongodb_cluster_nodes = ['192.168.0.2:27017', 'node02.foo.bar.com:27017']
tcp_conn_validator { $mongodb_cluster_nodes : }

####host

IP address or server DNS name on which the service is supposed to be bound to. Required if the namevar is not a connection string.

####port

Port on which the service is supposed to listen. Required if the namevar is not a connection string.

####try_sleep

The time to sleep in seconds between ‘tries’. Default: 1

####timeout

Number of seconds to wait before timing out. Default: 60

About

Puppet resources to evauluate the health and status of things.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%