Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-04-20 | Update Getopt.pm | Paul Dugas | 1 | -1/+1 | |
Wrong case in ALRM regex. | |||||
2016-04-02 | make regular expression 5.8 compatible | Sven Nierlein | 1 | -1/+1 | |
\R was introduced in 5.10 too | |||||
2016-04-02 | make regular expression 5.8 compatible | Sven Nierlein | 1 | -1/+1 | |
2016-04-02 | add notifications for travis builds | Sven Nierlein | 1 | -0/+12 | |
2016-04-02 | update changelog | Sven Nierlein | 1 | -0/+1 | |
2016-04-02 | update gitignore | Sven Nierlein | 2 | -46/+19 | |
2016-04-02 | add travis file | Sven Nierlein | 1 | -0/+10 | |
2016-04-02 | Merge pull request #11 from pdugas/master | Sven Nierlein | 2 | -2/+15 | |
Fixed regex in plugin_exit() that handles hyphen for LONGOUTPUT. | |||||
2016-04-02 | Fixed regex in plugin_exit() that handles hyphen for LONGOUTPUT. | Paul Dugas | 2 | -2/+15 | |
Added tests. | |||||
2016-04-01 | Merge pull request #10 from pdugas/master | Sven Nierlein | 1 | -1/+4 | |
Support LONGTEXT output | |||||
2016-03-31 | Support LONGTEXT output | Paul Dugas | 1 | -1/+4 | |
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). | |||||
2015-12-03 | update changelog | Sven Nierlein | 1 | -0/+3 | |
2015-12-03 | Merge pull request #5 from daku3649/patch-1 | Sven Nierlein | 1 | -1/+8 | |
output empty values as "U" | |||||
2015-12-03 | output empty values as "U" | daku3649 | 1 | -1/+8 | |
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 | |||||
2015-10-02 | add description for getter / setter methods (#107370) | Sven Nierlein | 1 | -0/+26 | |
Signed-off-by: Sven Nierlein <sven@nierlein.de> Original-Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de> | |||||
2015-04-11 | released 0.39v0.39 | Sven Nierlein | 4 | -7/+5 | |
Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2015-04-11 | fix "Redundant argument in sprintf" in perl 5.21 (RT #103214) | Sven Nierlein | 2 | -7/+12 | |
Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2015-03-31 | Revert "fix warning in function tests" | Sven Nierlein | 1 | -1/+1 | |
This reverts commit 5b2ab7f928b17b2013bdc914e36f7c2314f7b922. | |||||
2015-03-30 | fix warning in function tests | Sven Nierlein | 1 | -1/+1 | |
fixes https://rt.cpan.org/Ticket/Display.html?id=103190 Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2014-12-28 | update changelog | Sven Nierlein | 1 | -0/+3 | |
Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2014-12-28 | Merge pull request #2 from evgeni/getopt_colon_spec | Sven Nierlein | 2 | -5/+43 | |
GetOpt::Long optional arguments using a colon instead of an equal sign | |||||
2014-12-28 | release 0.38v0.38 | Sven Nierlein | 4 | -4/+4 | |
Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2014-12-28 | update changelog | Sven Nierlein | 1 | -0/+3 | |
Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2014-12-28 | fix test in windows | Sven Nierlein | 1 | -1/+4 | |
on windows backslashes are expected instead of forward slashes. fixes https://rt.cpan.org/Ticket/Display.html?id=100708 Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2014-12-08 | fix link to documentation | Sven Nierlein | 1 | -1/+1 | |
Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2014-12-08 | correct getopt help | Sven Nierlein | 1 | -2/+2 | |
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> | |||||
2014-10-03 | format optional arguments in square brakets | Evgeni Golov | 2 | -7/+17 | |
2014-10-03 | GetOpt::Long optional arguments using a colon instead of an equal sign | Evgeni Golov | 2 | -3/+31 | |
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 | |||||
2014-01-20 | keep the old name in copyright for more transparencyv0.37 | Sven Nierlein | 14 | -69/+98 | |
Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2014-01-20 | renamed module into Monitoring::Plugin | Sven Nierlein | 38 | -1062/+1104 | |
since the complete monitoring team has been renamed, we also rename this module. Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2013-08-23 | Fixed rt.cpan.org bug #77399, No space allowed in section names | Richard Leitner | 1 | -1/+1 | |
Now allow the section names to contain all characters except "@" | |||||
2012-06-28 | Fix a bug where default file used is not shown | Thomas Guyot-Sionnest | 2 | -1/+7 | |
When a default file is used but no section is found (ex. below using "bad_section"), the plugin dies with: Invalid section 'bad_section' in config file '' This patch add a function to Nagios::Plugin::Config that returns the last used file, and use it to return a file name when we have none. | |||||
2012-06-28 | Add new test - match on "die" error message | Thomas Guyot-Sionnest | 3 | -1/+4 | |
1. Add new test "class" where expected data is the error string caught 2. Add new test exposing a bug where default file used is not shown, ex: Invalid section 'bad_section' in config file '' | |||||
2011-12-23 | Updated version numbers | Ton Voon | 2 | -2/+2 | |
2011-12-22 | check_threshold to check multiple values at once | Ton Voon | 4 | -6/+23 | |
2011-05-10 | fixed typo in pod | Sven Nierlein | 1 | -2/+2 | |
2010-12-03 | Fixed test failure with Test::More 0.96 (RT57709) | nagios | 4 | -4/+8 | |
2010-04-28 | Update extra-opts help text based on ML agreement | Thomas Guyot-Sionnest | 1 | -1/+1 | |
2010-04-18 | Fix POD error | Holger Weiss | 1 | -0/+2 | |
A "=back" command was missing. (Fixed by Ryan Niebur for Debian, forwarded by Ansgar Burchardt - RT56683) | |||||
2010-04-15 | Missed out the export_ok change | tonvoon | 1 | -1/+1 | |
2010-04-15 | Version 0.34 | tonvoon | 2 | -2/+2 | |
2010-04-15 | Test for exported variable %STATUS_TEXT (Andrew Ford - RT46048) | tonvoon | 2 | -0/+17 | |
2010-04-15 | Updated --extra-opts help text. Pod fix (Frank Wiegand - RT51872) | tonvoon | 3 | -2/+6 | |
2010-03-12 | shortname enhancement | Thomas Guyot-Sionnest | 3 | -19/+19 | |
This patch makes shortname use the defined plugin's name if set, otherwise the normal method should prevail. To do so I had to generate shortname during np initialization instead of at use time. | |||||
2010-03-09 | Fix nagios_die wrapper not properly passing last argument to nagios_exit | Thomas Guyot-Sionnest | 1 | -1/+1 | |
nagios_die() accepts many ways of specifying arguments. One of them is passing the message only, in which case the last argument added by Plugins.pm is on the 2nd position instead of the 3rd. One visible effect of this bug is the inability to print custom "shortname" with nagios_die when the exit code is not specified. | |||||
2009-10-09 | Fixed documentation bug (Mike Place) | Ton Voon | 1 | -2/+2 | |
2009-06-06 | Fixed parsing when two = signs within the performance data portion | tonvoon@users.sourceforge.net | 5 | -4/+18 | |
2009-03-03 | Added parsing of labels with spaces (thanks to Kang) | Ton Voon | 7 | -14/+132 | |
2009-01-22 | Die as UNKNOWN instead of CRITICAL when default file is not found | Thomas Guyot-Sionnest | 2 | -2/+7 | |
(NB: shall we should die at all?) | |||||
2009-01-05 | Check for valid numerical value before returning perfdata object | Ton Voon | 5 | -4/+23 | |