From 0e6fe9111273721bd7cb6f04994a6f9d8e063a12 Mon Sep 17 00:00:00 2001 From: Christopher Kreft Date: Mon, 29 Sep 2014 13:34:35 +0200 Subject: [PATCH] version bump to 0.5 --- check_json.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_json.pl b/check_json.pl index f33b170..9c9000b 100755 --- a/check_json.pl +++ b/check_json.pl @@ -17,7 +17,7 @@ my $np = Nagios::Plugin->new( . "[ -T|--contenttype ] " . "[ --ignoressl ] " . "[ -h|--help ] ", - version => '0.4', + version => '0.5', blurb => 'Nagios plugin to check JSON attributes via http(s)', extra => "\nExample: \n" . "check_json.pl --url http://192.168.5.10:9332/local_stats --attributes '{shares}->{dead}' " @@ -92,7 +92,7 @@ if ($np->opts->verbose) { (print Dumper ($np))}; ## GET URL my $ua = LWP::UserAgent->new; -$ua->agent('check_json/0.3'); +$ua->agent('check_json/0.5'); $ua->default_header('Accept' => 'application/json'); $ua->protocols_allowed( [ 'http', 'https'] ); $ua->parse_head(0);