summaryrefslogtreecommitdiffstats
path: root/lib/Nagios/Plugin
AgeCommit message (Collapse)AuthorFilesLines
2008-02-01Version bump to 0.24Ton Voon1-1/+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-11-17Fixed handling of repeated ini argumentsThomas Guyot-Sionnest1-3/+1
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 Voon1-1/+1
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 Voon2-11/+19
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 Voon1-1/+1
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 Voon2-2/+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-31Convenience function to set use_die on use of N::P::PerformanceTon Voon1-1/+15
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1773 f882894a-f735-0410-b71e-b25c423dba1c
2007-08-31Fixed bug where warn or crit = 0 will raise an error. Optional flag toTon Voon2-6/+16
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/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1648 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-21Revert $SIG{__DIE__} handler in Functions - failing on later perls.Gavin Carr1-7/+0
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1645 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-21Finished initial --extra-opts support; added Getopt spec-to-help and ↵Gavin Carr3-71/+372
multiline help support. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1643 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-16Cleanups, mostly to N::P::Range/Threshold/Performance.Gavin Carr4-49/+85
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1641 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-14Refactor N::P::Performance; cleanups to Threshold and Range (mostly perldocs).Gavin Carr4-88/+188
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1640 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-08Fixed warnings when no uom specified for add_perfdataTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1618 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-08Add initial --default-opts implementation to Nagios::Plugin::Getopt.Gavin Carr1-9/+153
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1616 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-07Added max_state functionTon Voon1-3/+19
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1615 f882894a-f735-0410-b71e-b25c423dba1c
2006-11-11Add get_shortname to NP::Functions export_ok list; update perldocs.Gavin Carr1-2/+19
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1537 f882894a-f735-0410-b71e-b25c423dba1c
2006-11-10* exposed Getopt and Threshold functionality from top level Nagios::PluginNathan Vonnahme3-4/+4
* 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-16Copyrights given to the Nagios Plugin Development TeamTon Voon4-7/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1494 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-04Fix NP shortname defaulting; downgrade version requirements.Gavin Carr4-6/+10
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-1/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1488 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-26Update Nagios::Plugin with NP::Function wrapper methods, and extras.Gavin Carr1-7/+8
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 Carr7-208/+356
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1482 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-11Add missing Nagios::Plugin::ExitResult class.Gavin Carr1-0/+67
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1478 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-11Add constants, nagios_exit, and nagios_die to Nagios::Plugin::Base.Gavin Carr3-23/+135
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 Vonnahme3-3/+7
from POD::Checker git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1476 f882894a-f735-0410-b71e-b25c423dba1c
2006-08-31Support multiple -v options for verbosity levelTon Voon1-4/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1472 f882894a-f735-0410-b71e-b25c423dba1c
2006-08-31Consistent version numbers across all modules. Inherited from ↵Ton Voon5-9/+8
Nagios::Plugin::Base git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1471 f882894a-f735-0410-b71e-b25c423dba1c
2006-08-30Add first-pass Nagios::Plugin::Getopt.Gavin Carr1-0/+603
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1470 f882894a-f735-0410-b71e-b25c423dba1c
2006-08-04Lots of extra tests and subsequent fixes (Nathan Vonnahme)Ton Voon4-31/+65
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1466 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-15is_set method to see if a range has been setTon Voon2-4/+10
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1429 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-15Added rrdlabel method. Fixed parse_perfstring if value=0Ton Voon1-1/+23
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1428 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-09Fixed problems parsing in nagiosgraphTon Voon1-7/+10
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1423 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-08Initial revisionTon Voon4-0/+406
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1419 f882894a-f735-0410-b71e-b25c423dba1c