From b15adb7762b6caaecaa83637abfcf5fdb4802092 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 2 Sep 2013 13:16:24 +0200 Subject: Remove "contrib" plugins These days, sites such as "Nagios Exchange" are a much better place for publishing plugins not maintained by the Plugins Development Team. --- contrib/urlize.pl | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 contrib/urlize.pl (limited to 'contrib/urlize.pl') diff --git a/contrib/urlize.pl b/contrib/urlize.pl deleted file mode 100644 index 5acb52de..00000000 --- a/contrib/urlize.pl +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/perl -# -# urlize.pl -# jcw, 5/12/00 -# -# A wrapper around Nagios plugins that provides a URL link in the output -# -# -# Pay close attention to quoting to ensure that the shell passes the -# expected data to the plugin. For example, in: -# -# urlize http://example.com/ check_http -H example.com -r 'two words' -# -# the shell will remove the single quotes and urlize will see: -# -# urlize http://example.com/ check_http -H example.com -r two words -# -# You probably want: -# -# urlize http://example.com/ \"check_http -H example.com -r 'two words'\" -# -($#ARGV < 1) && die "Incorrect arguments"; -my $url = shift; - -chomp ($result = `@ARGV`); -print "$result\n"; - -# exit with same exit value as the child produced -exit ($? >> 8); -- cgit v1.2.3-74-g34f1