There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

Rex::Commands::SimpleCheck - Simple tcp/alive checks

DESCRIPTION

With this module you can do simple tcp/alive checks.

Version <= 1.0: All these functions will not be reported.

All these functions are not idempotent.

SYNOPSIS

if(is_port_open($remote_host, $port)) {
  print "Port $port is open\n";
}

EXPORTED FUNCTIONS

is_port_open($ip, $port)

Check if something is listening on port $port of $ip.