Accepting request 439332 from home:jengelh:branches:server:monitoring
- Remove redundant %clean section and manual of use. Wiki: "The description is not a manual" OBS-URL: https://build.opensuse.org/request/show/439332 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-count_file?expand=0&rev=4
This commit is contained in:
parent
b7472e4c69
commit
4824e60aae
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 9 09:45:01 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Remove redundant %clean section and manual of use.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 30 19:16:22 UTC 2014 - lars@linux-schulserver.de
|
Wed Jul 30 19:16:22 UTC 2014 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
Name: monitoring-plugins-count_file
|
Name: monitoring-plugins-count_file
|
||||||
Version: 232
|
Version: 232
|
||||||
Release: 100
|
Release: 0
|
||||||
License: BSD-4-Clause
|
License: BSD-4-Clause
|
||||||
Summary: Counts the number of files in a directory
|
Summary: Counts the number of files in a directory
|
||||||
Url: https://www.monitoringexchange.org/inventory/Check-Plugins/Operating-Systems/Linux/count_file
|
Url: https://www.monitoringexchange.org/inventory/Check-Plugins/Operating-Systems/Linux/count_file
|
||||||
@ -38,11 +38,6 @@ Useful if you want to monitor for example:
|
|||||||
* a directory which contains error files and must stay empty
|
* a directory which contains error files and must stay empty
|
||||||
* a tmp dir which have to stay under a practical limit
|
* a tmp dir which have to stay under a practical limit
|
||||||
|
|
||||||
Usage: <filename> <Critical number of files> <Warning number of files>
|
|
||||||
|
|
||||||
Examples: count_file.pl 1 10
|
|
||||||
Examples: count_file.pl 3:10 1:3
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
#
|
#
|
||||||
%build
|
%build
|
||||||
@ -50,9 +45,6 @@ Examples: count_file.pl 3:10 1:3
|
|||||||
%install
|
%install
|
||||||
install -Dm755 %{SOURCE0} %buildroot/%{nagios_plugindir}/count_file.pl
|
install -Dm755 %{SOURCE0} %buildroot/%{nagios_plugindir}/count_file.pl
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
# avoid build dependecy of nagios - own the dirs
|
# avoid build dependecy of nagios - own the dirs
|
||||||
|
Loading…
Reference in New Issue
Block a user