Hello community,
here is the log from the commit of package nagios-plugins-mem for
openSUSE:Factory checked in at 2013-01-28 09:32:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nagios-plugins-mem (Old)
and /work/SRC/openSUSE:Factory/.nagios-plugins-mem.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nagios-plugins-mem", Maintainer is ""
Changes:
--------
New Changes file:
--- /dev/null 2013-01-09 19:40:42.352580873 +0100
+++
/work/SRC/openSUSE:Factory/.nagios-plugins-mem.new/nagios-plugins-mem.changes
2013-01-28 09:32:29.000000000 +0100
@@ -0,0 +1,36 @@
+-------------------------------------------------------------------
+Sun Jul 29 11:19:00 UTC 2012 - [email protected]
+
+- as we provide a symlink for check_mem => check_mem.pl, also
+ provide an adapted apparmor profile
+
+-------------------------------------------------------------------
+Sun Jul 22 09:42:33 UTC 2012 - [email protected]
+
+- fix missing array definition for $def[] in pnp4nagios template:
+ nagios-plugins-mem-add_php_to_pnp4nagios_template.patch
+
+-------------------------------------------------------------------
+Wed Jul 4 22:31:42 UTC 2012 - [email protected]
+
+- update to 20120618 (commit e3b162e6bb0cd7c6601933eeb0185f02d109739e):
+ + count SReclaimable as cache
+ + Added PNP config
+ + added AIX support
+ + switched from GPL to MIT license
+- specfile cleanup
+- use nagios-rpm-macros
+- package the check without extension, but provide symlink for
+ upgraders
+- added rpmlintrc for PNP template (%%config)
+
+-------------------------------------------------------------------
+Tue Jun 7 13:28:46 UTC 2011 - [email protected]
+
+- added apparmor profile
+
+-------------------------------------------------------------------
+Fri May 21 12:14:44 UTC 2010 - [email protected]
+
+- initial version from 2002-02-28
+
New:
----
check_mem.tar.bz2
nagios-plugins-mem-add_php_to_pnp4nagios_template.patch
nagios-plugins-mem-apparmor
nagios-plugins-mem-rpmlintrc
nagios-plugins-mem.changes
nagios-plugins-mem.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nagios-plugins-mem.spec ++++++
#
# spec file for package nagios-plugins-mem
#
# Copyright (c) 2013 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: nagios-plugins-mem
Version: 20120618
Release: 0
License: MIT
Summary: Check memory plugin for Nagios
Url: https://github.com/justintime/nagios-plugins
Group: System/Monitoring
Source0: check_mem.tar.bz2
Source1: nagios-plugins-mem-apparmor
Source2: nagios-plugins-mem-rpmlintrc
# PATCH-MISSING-TAG -- See
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch0: nagios-plugins-mem-add_php_to_pnp4nagios_template.patch
%if 0%{?suse_version} > 1010
# nagios can execute the script with embedded perl
Recommends: perl
%endif
BuildRequires: nagios-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
We have always monitored RAM usage on all of boxes. Sure, there's the argument
that unused RAM is money wasted, but I always like to know not just when the
box is swapping, but when it's about to start swapping. There have been a few
plugins over the years that I've used for this - check_ram for Solaris,
check_mem for Linux, and there's also check_mem.pl.
%prep
%setup -q -n check_mem
%patch0 -p1
%build
%install
install -D -m755 check_mem.pl %{buildroot}/%{nagios_plugindir}/check_mem
ln -s %{nagios_plugindir}/check_mem
%{buildroot}/%{nagios_plugindir}/check_mem.pl
install -D -m644 check_mem.php
%{buildroot}/%{pnp4nagios_templatedir}/check_mem.php
install -D -m644 %{SOURCE1}
%{buildroot}%{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_mem.pl
sed -e
"s|/usr/lib/nagios/plugins/check_mem.pl|/usr/lib/nagios/plugins/check_mem|g" \
%{SOURCE1} >
%{buildroot}%{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_mem
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
# avoid build dependecy of nagios - own the dirs
%dir %{nagios_libdir}
%dir %{_sysconfdir}/apparmor.d
%attr(0644,root,root) %config(noreplace)
%{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_mem
%attr(0644,root,root) %config(noreplace)
%{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_mem.pl
%dir %{nagios_plugindir}
%{nagios_plugindir}/check_mem*
%dir %{pnp4nagios_datarootdir}
%dir %{pnp4nagios_templatedir}
%config(noreplace) %{pnp4nagios_templatedir}/check_mem.php
%changelog
++++++ nagios-plugins-mem-add_php_to_pnp4nagios_template.patch ++++++
Index: check_mem/check_mem.php
===================================================================
--- check_mem.orig/check_mem.php
+++ check_mem/check_mem.php
@@ -1,3 +1,4 @@
+<?php
#
# check_mem.pl PNP4Nagios template
# v1.1 2011-12-20
@@ -31,4 +32,4 @@ $def[1] .= "GPRINT:free:MIN:\"%2.2lf ".$
# $def[1] .= "GPRINT:cache:LAST:\"%2.2lf ".$UNIT[4]." curr\" ";
# $def[1] .= "GPRINT:cache:MAX:\"%2.2lf ".$UNIT[4]." max\" ";
# $def[1] .= "GPRINT:cache:MIN:\"%2.2lf ".$UNIT[4]." min\\n\" ";
-?>
\ No newline at end of file
+?>
++++++ nagios-plugins-mem-apparmor ++++++
#include <tunables/global>
/usr/lib/nagios/plugins/check_mem.pl {
#include <abstractions/base>
#include <abstractions/consoles>
#include <abstractions/perl>
/bin/cat rix,
/bin/uname rix,
}
++++++ nagios-plugins-mem-rpmlintrc ++++++
addFilter("non-etc-or-var-file-marked-as-conffile.*/usr/share/pnp4nagios/templates/check_mem.php");
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]