summaryrefslogtreecommitdiffstats
path: root/lib/Nagios/Plugin.pm
AgeCommit message (Collapse)AuthorFilesLines
2014-01-19renamed module into Monitoring::PluginSven Nierlein1-697/+0
since the complete monitoring team has been renamed, we also rename this module. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2011-12-23Updated version numbersTon Voon1-1/+1
2011-12-22check_threshold to check multiple values at onceTon Voon1-1/+4
2011-05-10fixed typo in podSven Nierlein1-2/+2
2010-12-03Fixed test failure with Test::More 0.96 (RT57709)nagios1-1/+1
2010-04-15Missed out the export_ok changetonvoon1-1/+1
2010-04-15Version 0.34tonvoon1-1/+1
2010-04-15Updated --extra-opts help text. Pod fix (Frank Wiegand - RT51872)tonvoon1-1/+1
2010-03-12shortname enhancementThomas Guyot-Sionnest1-13/+3
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.
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.net1-1/+1
2009-03-03Added parsing of labels with spaces (thanks to Kang)Ton Voon1-1/+1
2009-01-05Check for valid numerical value before returning perfdata objectTon Voon1-1/+1
2008-12-13Fixed parsing of numeric values with commas instead of periods. Fixed test planTon Voon1-1/+1
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 Voon1-1/+1
2008-11-21Update with new version numberTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@2090 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-19Add max_state_* interface warper to Nagios::Plugin objectThomas Guyot-Sionnest1-0/+11
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 Voon1-1/+1
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 Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1965 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-17Fixed parsing of negative values and support full range definitionsTon Voon1-1/+1
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 Voon1-2/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1922 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-18Use $^X for perl because of failures on CPAN TestersTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1878 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-13Bump to version 0.22Ton Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1869 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-240.21 release to CPANTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1797 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-05Version bump because of CPAN permission problemsTon Voon1-2/+2
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 Voon1-1/+2
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
2007-08-31Fixed bug where warn or crit = 0 will raise an error. Optional flag toTon Voon1-1/+2
tell nagios_die to use die instead of exit so trappable by eval git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1772 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-23Bump to version 0.17 to workaround cpan indexing stupidity.Gavin Carr1-1/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1648 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-16Cleanups, mostly to N::P::Range/Threshold/Performance.Gavin Carr1-2/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1641 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-18Expand MESSAGE METHODS docs in Nagios::Plugin.Gavin Carr1-1/+13
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1551 f882894a-f735-0410-b71e-b25c423dba1c
2006-11-21* POD updates to reflect Getopt and Threshold top level interface work.Nathan Vonnahme1-89/+190
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1540 f882894a-f735-0410-b71e-b25c423dba1c
2006-11-17* renamed N::P::arg to add_argNathan Vonnahme1-7/+38
* some POD work git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1539 f882894a-f735-0410-b71e-b25c423dba1c
2006-11-15made 'usage' unmandatory in N::P::new().Nathan Vonnahme1-30/+60
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1538 f882894a-f735-0410-b71e-b25c423dba1c
2006-11-10* exposed Getopt and Threshold functionality from top level Nagios::PluginNathan Vonnahme1-26/+102
* exchanged Class::Struct for Class::Accessor * POD is not updated yet. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1536 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-180.14 uploaded to CPAN. Version numbers changed and updated Changes fileTon Voon1-1/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1495 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-04Fix NP shortname defaulting; downgrade version requirements.Gavin Carr1-3/+13
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1489 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-04Tweak NP perldoc line widths; add missing chomp to NP::Functions.Gavin Carr1-54/+69
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1488 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-26Added requisite of Class::Accessor to Makefile.PL. Fixed compile problemTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1485 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-26Update Nagios::Plugin with NP::Function wrapper methods, and extras.Gavin Carr1-75/+311
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1483 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-26Rename NP::Base to NP::Functions; add check_messages() to NP::Functions.Gavin Carr1-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1482 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-25Fix Nagios::Plugin->new( shortname => "ANYTHING" ); (Wolfgang Barth)Ton Voon1-3/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1481 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-11Add constants, nagios_exit, and nagios_die to Nagios::Plugin::Base.Gavin Carr1-2/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1477 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-07adding example script and test for it, and fixing POD according to warnings ↵Nathan Vonnahme1-4/+22
from POD::Checker git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1476 f882894a-f735-0410-b71e-b25c423dba1c
2006-08-31Consistent version numbers across all modules. Inherited from ↵Ton Voon1-1/+1
Nagios::Plugin::Base git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1471 f882894a-f735-0410-b71e-b25c423dba1c
2006-08-04Lots of extra tests and subsequent fixes (Nathan Vonnahme)Ton Voon1-3/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1466 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-15Added rrdlabel method. Fixed parse_perfstring if value=0Ton Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1428 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-14Update for 0.11 releaseTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1424 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-08Initial revisionTon Voon1-0/+160
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1419 f882894a-f735-0410-b71e-b25c423dba1c