aboutsummaryrefslogtreecommitdiff
path: root/contrib/urlize.pl
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-09-02 13:16:24 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-09-02 13:16:24 +0200
commitb15adb7762b6caaecaa83637abfcf5fdb4802092 (patch)
tree64eddbe2aa1a7f98a140be0f7973f05d7a781ae0 /contrib/urlize.pl
parentc4d5882b9e1d07c7b61091062b7d085fa5f00284 (diff)
downloadmonitoring-plugins-b15adb7762b6caaecaa83637abfcf5fdb4802092.tar.gz
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.
Diffstat (limited to 'contrib/urlize.pl')
-rw-r--r--contrib/urlize.pl29
1 files changed, 0 insertions, 29 deletions
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 "<A HREF=\"$url\">$result</A>\n";
-
-# exit with same exit value as the child produced
-exit ($? >> 8);