summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-08-31Fixed bug where warn or crit = 0 will raise an error. Optional flag toTon Voon6-9/+42
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 Carr4-4/+10
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1648 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-23Update VERSION in META.yml to try and fix cpan indexing stupidity.Gavin Carr1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1647 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-21Add multi-entry help line to Changes.Gavin Carr1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1644 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-21Finished initial --extra-opts support; added Getopt spec-to-help and ↵Gavin Carr37-122/+553
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 Carr9-69/+154
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 Carr7-96/+233
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 Voon4-2/+16
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 (II).Gavin Carr21-0/+151
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1617 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-08Add initial --default-opts implementation to Nagios::Plugin::Getopt.Gavin Carr4-13/+189
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 Voon2-3/+40
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1615 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-19Add missing Test::Exception dependency.Gavin Carr1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1567 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-18Update Changes; remove Class::Struct dependency.Gavin Carr3-3/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1552 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-12-18Add t/Nagios-Plugin-04.t, which tests top level Getopt and Threshold methodsNathan Vonnahme1-0/+91
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1550 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 Vonnahme3-26/+64
* 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 Vonnahme4-48/+78
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1538 f882894a-f735-0410-b71e-b25c423dba1c
2006-11-11Add get_shortname to NP::Functions export_ok list; update perldocs.Gavin Carr2-3/+23
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 Vonnahme10-106/+160
* 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 Voon4-6/+15
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 Carr9-16/+46
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 Carr2-55/+75
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1488 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-26Add test requirement of Test::More at level 0.62 (may work for lower, but cannotTon Voon1-0/+1
test) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1486 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-26Added requisite of Class::Accessor to Makefile.PL. Fixed compile problemTon Voon2-1/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1485 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-26Add additional Nagios::Plugin tests.Gavin Carr3-0/+411
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1484 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-26Update Nagios::Plugin with NP::Function wrapper methods, and extras.Gavin Carr5-85/+342
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 Carr16-233/+549
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 Voon3-4/+10
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1481 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-18Add pre-requisite. Start removing individual author and using Nagiosplug teamTon Voon1-2/+2
instead git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1479 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 Carr9-36/+293
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 Vonnahme7-7/+275
from POD::Checker git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1476 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-07test commitNathan Vonnahme1-0/+9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1475 f882894a-f735-0410-b71e-b25c423dba1c
2006-08-31Support multiple -v options for verbosity levelTon Voon2-5/+16
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 Voon10-13/+27
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 Carr5-0/+801
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 Voon10-58/+394
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1466 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-15I think META.yml needs to be added to CVSTon Voon2-1/+11
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1431 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-15is_set method to see if a range has been setTon Voon5-13/+21
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 Voon5-2/+39
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 Voon2-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1424 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-09Fixed problems parsing in nagiosgraphTon Voon3-11/+24
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1423 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-08Initial revisionTon Voon14-0/+843
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1419 f882894a-f735-0410-b71e-b25c423dba1c
2002-02-28New repository initialized by cvs2svn.(no author)0-0/+0
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1 f882894a-f735-0410-b71e-b25c423dba1c