Build precise queries to find exactly what you need
Press ESC to close
#!/usr/bin/perl -w # check_dcm.pl
#define command{ # command_name check_dcm # command_line /usr/lib/nagios/plugins/check_dcm -a $HOSTADDRESS$ -n $ARG1$ -p $ARG2$ # }
use Getopt::Std; use strict; use lib “/usr/lib/nagios/plugins”; ## directory where I can find “utils.pm” use utils qw{%ERRORS};
my $echoscu = “/usr/bin/echoscu”;
my ($USAGE) = ult =~ /Association Rejected/) { print “CRITICAL: $resultn”; exit($ERRORS{‘CRITICAL’}); }
}
print “CRITICAL: Indeterminate Error.n”; exit($ERRORS{‘CRITICAL’});
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!