From 1f4757d1dc5b06b6baaae04603b57916524ff6a9 Mon Sep 17 00:00:00 2001 From: Christopher Kreft Date: Sun, 28 Apr 2013 20:07:27 +0300 Subject: [PATCH] Used markdown for readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a1216f7..0aed0a1 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,10 @@ Nagios plugin to check JSON attributes via http(s). This Plugin is a fork of the existing JSON Plugin from https://github.com/bbuchalter/check_json with the enhancements of using the Nagios::Plugin Perl Module, allowing to use thresholds and performancedata collection from various json attributes. -Usage: check_json -U -a [ -v|--verbose ] [-t ] [ -c|--critical ] [ -w|--warning ] +Usage: `check_json -U -a [ -v|--verbose ] [-t ] [ -c|--critical ] [ -w|--warning ]` Example: -check_json.pl -U http://192.168.5.10:9332/local_stats -a '{shares}->{dead}' -w :5 -c :10 +`check_json.pl -U http://192.168.5.10:9332/local_stats -a '{shares}->{dead}' -w :5 -c :10` + JSON OK - 2 | value=2;;