# Register the function with the plugin registry
$PLUGINS{'ftp'} = \&check_ftp;

# Check FTP service using the built-in check_simple subroutine
sub check_ftp {
    my ($host) = @_;
    return &check_simple( $host, 21, "quit\n", "^\s*220", "ftp" );
}

1;
