Random Project

Bug?

I believe there’s an error. It always responds “CRITICAL”, even when pool is online.

Possibly this should be N_OK instead of N_CRITICAL?

sub nagios_response()
{
my $msg = shift || “Unknown”;
my $exit_status = shift || N_CRITICAL; [$exit_status], $msg);
exit($exit_status);
}