summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-12-28release 0.38v0.38Sven Nierlein4-4/+4
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2014-12-28update changelogSven Nierlein1-0/+3
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2014-12-28fix test in windowsSven Nierlein1-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-08fix link to documentationSven Nierlein1-1/+1
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2014-12-08correct getopt helpSven Nierlein1-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-01-20keep the old name in copyright for more transparencyv0.37Sven Nierlein14-69/+98
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2014-01-19renamed module into Monitoring::PluginSven Nierlein38-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-23Fixed rt.cpan.org bug #77399, No space allowed in section namesrefs/pull/1/headRichard Leitner1-1/+1
Now allow the section names to contain all characters except "@"
2012-06-29Fix a bug where default file used is not shownThomas Guyot-Sionnest2-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-29Add new test - match on "die" error messageThomas Guyot-Sionnest3-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-23Updated version numbersTon Voon2-2/+2
2011-12-22check_threshold to check multiple values at onceTon Voon4-6/+23
2011-05-10fixed typo in podSven Nierlein1-2/+2
2010-12-03Fixed test failure with Test::More 0.96 (RT57709)nagios4-4/+8
2010-04-28Update extra-opts help text based on ML agreementThomas Guyot-Sionnest1-1/+1
2010-04-18Fix POD errorHolger Weiss1-0/+2
A "=back" command was missing. (Fixed by Ryan Niebur for Debian, forwarded by Ansgar Burchardt - RT56683)
2010-04-15Missed out the export_ok changetonvoon1-1/+1
2010-04-15Version 0.34tonvoon2-2/+2
2010-04-15Test for exported variable %STATUS_TEXT (Andrew Ford - RT46048)tonvoon2-0/+17
2010-04-15Updated --extra-opts help text. Pod fix (Frank Wiegand - RT51872)tonvoon3-2/+6
2010-03-12shortname enhancementThomas Guyot-Sionnest3-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-10Fix nagios_die wrapper not properly passing last argument to nagios_exitThomas Guyot-Sionnest1-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-09Fixed documentation bug (Mike Place)Ton Voon1-2/+2
2009-06-06Fixed parsing when two = signs within the performance data portiontonvoon@users.sourceforge.net5-4/+18
2009-03-03Added parsing of labels with spaces (thanks to Kang)Ton Voon7-14/+132
2009-01-22Die as UNKNOWN instead of CRITICAL when default file is not foundThomas Guyot-Sionnest2-2/+7
(NB: shall we should die at all?)
2009-01-05Check for valid numerical value before returning perfdata objectTon Voon5-4/+23
2008-12-13One other test, from check_ntp_timeTon Voon1-1/+12
2008-12-13Fixed parsing of numeric values with commas instead of periods. Fixed test planTon Voon5-17/+85
for CPAN test failures of 0.29. Change to parse_perfstring to return back successfully parsed fields, rather than an empty field, when errors seen
2008-12-02Added clean_label, like rrdlabel, but without truncationTon Voon5-15/+33
2008-11-23Add .gitignore (imported from svn:ignore)Thomas Guyot-Sionnest1-0/+7
2008-11-21Update with new version numberTon Voon2-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@2090 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-21Fixed test problems against Test::More 0.86Ton Voon3-2/+9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@2089 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-19Get rid if CVS/SVN tags (this is an example anyway)Thomas Guyot-Sionnest1-4/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@2083 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-19Add max_state_* interface warper to Nagios::Plugin objectThomas Guyot-Sionnest3-2/+56
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@2082 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-14Fixed parsing of scientific notationTon Voon6-16/+40
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1993 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-28New release for test fixTon Voon3-2/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1965 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-27Missing section test was failing because of thisThomas Guyot-Sionnest1-0/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1964 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-17Fixed parsing of negative values and support full range definitionsTon Voon5-4/+38
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1952 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-01Version bump to 0.24Ton Voon2-3/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1922 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-01Fixed a test where a fractional number was stripped outTon Voon2-2/+10
of the hash key, causing test failures git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1921 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-18Use $^X for perl because of failures on CPAN TestersTon Voon4-3/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1878 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-13Added notes for releasingTon Voon1-0/+15
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1870 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-13Bump to version 0.22Ton Voon3-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1869 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-13Added testcase for > 2 repeated parametersTon Voon3-0/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1868 f882894a-f735-0410-b71e-b25c423dba1c
2007-11-17Fixed handling of repeated ini argumentsThomas Guyot-Sionnest2-3/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1828 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-240.21 release to CPANTon Voon4-4/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1797 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-24Help, usage and version output go to stdout now, rather than stderrTon Voon7-28/+38
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1795 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-05Version bump because of CPAN permission problemsTon Voon4-4/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1776 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-04Fixed CPAN test failures due to bad MANIFEST. Fixed version numberingTon Voon8-20/+32
Fixed a performance parsing problem where uom=% wasn't being recognised git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1775 f882894a-f735-0410-b71e-b25c423dba1c