diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-06-10 04:55:31 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-06-10 04:55:31 +0000 |
commit | c33febc275e9278a6eccac63301234acd351c6f5 (patch) | |
tree | 1c01d63429ce8f780b5c4e68325f207c6014b281 /contrib | |
parent | 593a1af67bc1848725cddce84d0d4517f212ffb3 (diff) | |
download | monitoring-plugins-c33febc275e9278a6eccac63301234acd351c6f5.tar.gz |
add comment relating to https://sourceforge.net/tracker/index.php?func=detail&aid=661916&group_id=29880&atid=397597
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/release-1.3.0@542 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/urlize.pl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/urlize.pl b/contrib/urlize.pl index 8bb591f2..d622e870 100644 --- a/contrib/urlize.pl +++ b/contrib/urlize.pl | |||
@@ -5,6 +5,19 @@ | |||
5 | # | 5 | # |
6 | # A wrapper around Nagios plugins that provides a URL link in the output | 6 | # A wrapper around Nagios plugins that provides a URL link in the output |
7 | # | 7 | # |
8 | #Pay close attention to quoting to ensure that the shell passes the expected | ||
9 | # data to the plugin. For example, in: | ||
10 | # | ||
11 | # urlize http://example.com/ check_http -H example.com -r 'two words' | ||
12 | # | ||
13 | # the shell will remove the single quotes and urlize will see: | ||
14 | # | ||
15 | # urlize http://example.com/ check_http -H example.com -r two words | ||
16 | # | ||
17 | # You probably want: | ||
18 | # | ||
19 | # urlize http://example.com/ \"check_http -H example.com -r 'two words'\" | ||
20 | # | ||
8 | 21 | ||
9 | ($#ARGV < 1) && die "Incorrect arguments"; | 22 | ($#ARGV < 1) && die "Incorrect arguments"; |
10 | my $url = shift; | 23 | my $url = shift; |