Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
andyfsimon
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);
}
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);
}
Owner's reply
fixed.