commit monitoring-plugins-contentage for openSUSE:Factory
Hello community, here is the log from the commit of package monitoring-plugins-contentage for openSUSE:Factory checked in at 2020-01-12 23:25:41 Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-contentage (Old) and /work/SRC/openSUSE:Factory/.monitoring-plugins-contentage.new.6675 (New) Package is "monitoring-plugins-contentage" Sun Jan 12 23:25:41 2020 rev:4 rq:763391 version:0.7 Changes: --- /work/SRC/openSUSE:Factory/monitoring-plugins-contentage/monitoring-plugins-contentage.changes 2014-08-13 17:08:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.monitoring-plugins-contentage.new.6675/monitoring-plugins-contentage.changes 2020-01-12 23:26:35.238865017 +0100 @@ -1,0 +2,8 @@ +Sat Jan 4 22:18:08 UTC 2020 - Lars Vogdt + +- update to 0.7: + + add debug output option + + add option to ignore specific files + + updated copyright notice + +--- Other differences: -- ++ monitoring-plugins-contentage.spec ++ --- /var/tmp/diff_new_pack.z3fDp4/_old 2020-01-12 23:26:35.630865162 +0100 +++ /var/tmp/diff_new_pack.z3fDp4/_new 2020-01-12 23:26:35.634865164 +0100 @@ -1,7 +1,7 @@ # # spec file for package monitoring-plugins-contentage # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,18 +12,17 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # - Name: monitoring-plugins-contentage -Version:0.6 -Release:1 -License:BSD-3-Clause +Version:0.7 +Release:0 Summary:Check age of files in a directory -Url:http://en.opensuse.org/Monitoring-plugins-contentage +License:BSD-3-Clause Group: System/Monitoring +Url:http://en.opensuse.org/Monitoring-plugins-contentage Source0:check_contentage BuildRequires: nagios-rpm-macros Provides: nagios-plugins-contentage = %{version}-%{release} @@ -42,12 +41,15 @@ Note: the plugin checks the mtime of files, not the ctime. -Usage: check_dircontent.pl -w 24 -c 48 -p /tmp +Usage: check_dircontent.pl -w 24 -c 48 -p /tmp,/var/tmp -i foo,bar Options: -w|--warning : time for warnings (minutes) -c|--critical : time for critical warnings (minutes) -p|--pathnames : absolute path to the folders, split mutliple pathnames with commata -t|--timeout : timeout (default: 15) + -i|--ignore: ignore filenames (comma separated) + -d|--debug : print debug output + %prep # ++ check_contentage ++ --- /var/tmp/diff_new_pack.z3fDp4/_old 2020-01-12 23:26:35.650865169 +0100 +++ /var/tmp/diff_new_pack.z3fDp4/_new 2020-01-12 23:26:35.650865169 +0100 @@ -4,6 +4,7 @@ # check_contentage - nagios plugin # # Copyright (C) 2012, SUSE Linux Products GmbH +# Copyright (C) 2020, SUSE LCC # Author: Lars Vogdt # # All rights reserved. @@ -34,8 +35,6 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id$ -# use lib "/usr/lib/nagios/plugins"; use utils qw{$TIMEOUT %ERRORS print_revision}; @@ -47,11 +46,12 @@ use File::stat; use POSIX qw(strftime); -our $version="0.4"; +our $version="0.7"; our $time_warn=1440; our $time_crit=4880; our @pathnames=qw(); our $help=0; +our @ignores=qw(); our $rev=0; our $recursive=0; our $errorstr=""; @@ -74,20 +74,22 @@ sub print_usage { print "This plugin checks one or more directory for files older than a specified age.\n"; print "You can define the age of files for warning and critical states.\n\n"; - print "Usage: ".basename($0)." -w $time_warn -c $time_crit -p /tmp\n"; + print "Usage: ".basename($0)." -w $time_warn -c $time_crit -p /tmp,/var/tmp -i /tmp/foo,/tmp/bar\n"; print "Options:\n"; print " -w|--warning : time for warnings (minutes)\n"; print " -c|--critical : time for critical warnings (minutes)\n"; print " -p|--pathnames : absolute path to the folders, split mutliple pathnames with commata\n"; # print " -r|--recursive : dive into subfolders\n"; print " -t|--timeout : timeout (default: $TIMEOUT)\n"; + print " -i|--ignore: ignore filenames (comma separated)\n"; + print "
commit monitoring-plugins-contentage for openSUSE:Factory
Hello community, here is the log from the commit of package monitoring-plugins-contentage for openSUSE:Factory checked in at 2014-08-13 17:08:04 Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-contentage (Old) and /work/SRC/openSUSE:Factory/.monitoring-plugins-contentage.new (New) Package is monitoring-plugins-contentage Changes: --- /work/SRC/openSUSE:Factory/monitoring-plugins-contentage/monitoring-plugins-contentage.changes 2014-08-01 14:34:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.monitoring-plugins-contentage.new/monitoring-plugins-contentage.changes 2014-08-13 17:08:08.0 +0200 @@ -2 +2 @@ -Wed Jul 30 15:04:04 UTC 2014 - l...@linux-schulserver.de +Wed Jul 30 23:17:29 UTC 2014 - l...@linux-schulserver.de @@ -4 +4 @@ -- renamed to monitoring-plugins-contentage +- renamed package to monitoring-plugins-contentage Other differences: -- ++ monitoring-plugins-contentage.spec ++ --- /var/tmp/diff_new_pack.8uX7ZA/_old 2014-08-13 17:08:09.0 +0200 +++ /var/tmp/diff_new_pack.8uX7ZA/_new 2014-08-13 17:08:09.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package monitoring-plugins-contentage # -# Copyright (c) 2012-2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit monitoring-plugins-contentage for openSUSE:Factory
Hello community, here is the log from the commit of package monitoring-plugins-contentage for openSUSE:Factory checked in at 2014-08-01 14:34:41 Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-contentage (Old) and /work/SRC/openSUSE:Factory/.monitoring-plugins-contentage.new (New) Package is monitoring-plugins-contentage Changes: New Changes file: --- /dev/null 2014-07-24 01:57:42.080040256 +0200 +++ /work/SRC/openSUSE:Factory/.monitoring-plugins-contentage.new/monitoring-plugins-contentage.changes 2014-08-01 14:34:41.0 +0200 @@ -0,0 +1,37 @@ +--- +Wed Jul 30 15:04:04 UTC 2014 - l...@linux-schulserver.de + +- renamed to monitoring-plugins-contentage + +--- +Thu Jan 17 21:01:07 UTC 2013 - cfarr...@suse.com + +- license update: BSD-3-Clause + See check_contentage file + +--- +Thu May 3 18:52:42 UTC 2012 - lr...@suse.de + +- update to 0.6: added performance data + +--- +Wed Jun 17 12:10:02 CEST 2009 - lr...@suse.de + +- update to 0.4: added timeout option + +--- +Tue Jun 16 18:03:34 CEST 2009 - lr...@suse.de + +- update to 0.3 (changes see below) + +--- +Tue Jun 16 17:33:56 CEST 2009 - lr...@suse.de + +- print revision +- use hash for values + +--- +Mon Jun 15 18:49:04 CEST 2009 - lr...@suse.de + +- initial package + New: check_contentage monitoring-plugins-contentage.changes monitoring-plugins-contentage.spec Other differences: -- ++ monitoring-plugins-contentage.spec ++ # # spec file for package monitoring-plugins-contentage # # Copyright (c) 2012-2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An Open Source License is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: monitoring-plugins-contentage Version:0.6 Release:1 License:BSD-3-Clause Summary:Check age of files in a directory Url:http://en.opensuse.org/Monitoring-plugins-contentage Group: System/Monitoring Source0:check_contentage BuildRequires: nagios-rpm-macros Provides: nagios-plugins-contentage = %{version}-%{release} Obsoletes: nagios-plugins-contentage %{version}-%{release} Requires: perl(File::Basename) Requires: perl(File::stat) Requires: perl(Getopt::Long) Requires: perl(POSIX) Requires: perl(Time::HiRes) BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description This plugin checks one or more directory for files older than a specified age. You can define the age of files for warning and critical states. Note: the plugin checks the mtime of files, not the ctime. Usage: check_dircontent.pl -w 24 -c 48 -p /tmp Options: -w|--warning : time for warnings (minutes) -c|--critical : time for critical warnings (minutes) -p|--pathnames : absolute path to the folders, split mutliple pathnames with commata -t|--timeout : timeout (default: 15) %prep # %build # %install install -D -m755 %{SOURCE0} %{buildroot}%{nagios_plugindir}/check_contentage %clean rm -rf %{buildroot} %files %defattr(-,root,root) # avoid build dependecy of nagios - own the dirs %dir %{nagios_libdir} %dir %{nagios_plugindir} %{nagios_plugindir}/check_contentage %changelog ++ check_contentage ++ #!/usr/bin/perl -w # nagios: -epn # # check_contentage - nagios plugin # # Copyright (C) 2012, SUSE Linux Products GmbH # Author: Lars Vogdt # # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # list of conditions and the following disclaimer. # # * Redistributions in binary form must reproduce the above copyright notice, #