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

# Check the nntp service with the built-in check_simple routine
sub check_nntp {
    my ($host) = @_;
    return &check_simple( $host, 119, "", "^\s*200", "nntp" );
}

1;
