summaryrefslogtreecommitdiffstats
path: root/lib/Nagios/Plugin/Getopt.pm
AgeCommit message (Collapse)AuthorFilesLines
2014-01-19renamed module into Monitoring::PluginSven Nierlein1-873/+0
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-Sionnest1-0/+1
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.
2010-04-28Update extra-opts help text based on ML agreementThomas Guyot-Sionnest1-1/+1
2010-04-15Updated --extra-opts help text. Pod fix (Frank Wiegand - RT51872)tonvoon1-1/+1
2009-01-22Die as UNKNOWN instead of CRITICAL when default file is not foundThomas Guyot-Sionnest1-1/+5
(NB: shall we should die at all?)
2007-09-24Help, usage and version output go to stdout now, rather than stderrTon Voon1-3/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1795 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-21Finished initial --extra-opts support; added Getopt spec-to-help and ↵Gavin Carr1-69/+194
multiline help support. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1643 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
2006-11-10* exposed Getopt and Threshold functionality from top level Nagios::PluginNathan Vonnahme1-2/+2
* 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-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-11Add constants, nagios_exit, and nagios_die to Nagios::Plugin::Base.Gavin Carr1-4/+3
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-3/+1
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 Voon1-1/+2
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