| Age | Commit message (Collapse) | Author | Files | Lines | 
|---|
|  | Added tests. | 
|  | Pass `TEXT OUTPUT\nLONGTEXT1\nLONGTEXT2` to as the second parameter to `plugin_exit()` to add LONGOUTPUT lines.  If the parameter is has a leading newline (i.e. `\nLONGTEXT1\nLONGTEXT2`), skip emitting the hyphen (dash). | 
|  | output empty performance data value as value "U" to "indicate that the actual value couldn't be determined" (defined in https://nagios-plugins.org/doc/guidelines.html#AEN200) and do valid output | 
|  | Signed-off-by: Sven Nierlein <sven@nierlein.de>
Original-Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de> | 
|  | Signed-off-by: Sven Nierlein <sven@nierlein.de> | 
|  | Signed-off-by: Sven Nierlein <sven@nierlein.de> | 
|  | GetOpt::Long optional arguments using a colon instead of an equal sign | 
|  | Signed-off-by: Sven Nierlein <sven@nierlein.de> | 
|  | Signed-off-by: Sven Nierlein <sven@nierlein.de> | 
|  | its not true that the options are available via the main
Monitoring::Plugin object. Instead you have to fetch them
from the opts object.
Signed-off-by: Sven Nierlein <sven@nierlein.de> | 
|  |  | 
|  | Instead of writing `foo|f=s` you can also write `foo|f:s` for a GetOpt::Long
option spec [1], thus making the argument optional.
The current implementation of `_spec_to_help` will wrongly render this as two
long options:
    --dirport, --d:9030
       directory port
instead of a short and a long one:
    -d, --dirport=INTEGER
       directory port
This commit fixes the the parsing of the spec, detection of the type and adds
tests for a few common cases this could be used in.
[1] http://perldoc.perl.org/Getopt/Long.html#Summary-of-Option-Specifications | 
|  | Signed-off-by: Sven Nierlein <sven@nierlein.de> | 
|  | since the complete monitoring team has been renamed, we
also rename this module.
Signed-off-by: Sven Nierlein <sven@nierlein.de> |