aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts/check_netdns.pl
diff options
context:
space:
mode:
authorGravatar Jan Wagner <waja@cyconet.org> 2015-10-04 19:50:18 +0200
committerGravatar Jan Wagner <waja@cyconet.org> 2015-10-04 19:50:18 +0200
commit5ca1bff80cf86c290a0803f3cf37aee9bd57d41f (patch)
tree58ddc5f60319a596cec22715b2f6da5f59aa3c52 /plugins-scripts/check_netdns.pl
parent20d223119eb40bd1ecdd637eb845f5e16c87bd36 (diff)
downloadmonitoring-plugins-5ca1bff80cf86c290a0803f3cf37aee9bd57d41f.tar.gz
check_netdns.pl: Prototyping functions
Diffstat (limited to 'plugins-scripts/check_netdns.pl')
-rwxr-xr-xplugins-scripts/check_netdns.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins-scripts/check_netdns.pl b/plugins-scripts/check_netdns.pl
index af1456be..8c631089 100755
--- a/plugins-scripts/check_netdns.pl
+++ b/plugins-scripts/check_netdns.pl
@@ -32,6 +32,9 @@ use lib "$FindBin::Bin";
use utils;
my $PROGNAME = "check_netdns";
+sub print_help ();
+sub print_version();
+sub print_usage ();
$ENV{'PATH'}='@TRUSTED_PATH@';
$ENV{'BASH_ENV'}='';
@@ -43,7 +46,7 @@ GetOptions("V" => $opt_V, "version" => $opt_V,
"t=i" => $opt_t, "timeout=i" => $opt_t,
"s=s" => $opt_s, "server=s" => $opt_s,
"H=s" => $opt_H, "hostname=s" => $opt_H);
-
+
# -h means display verbose help screen
if($opt_h){ print_help(); exit 0; }