Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37711479
en ru br
ALT Linux repos
5.0: 0.0.5-alt1

Group :: System/Base
RPM: yabeda

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: yabeda
Version: 0.0.5
Release: alt1

Summary: Yabeda OVZ complainer.
License: GPLv3
Group: System/Base
Url: http://yabeda.cryo.net.ru

Packager: Pavlov Konstantin <thresh at altlinux.ru>

Source: %name-%version.tar.bz2

BuildArch: noarch

BuildRequires: libruby-devel ruby-stdlibs ruby

%description
Yabeda is an OpenVZ failcnt complainer which tends to be lightweight, flexible
and easily extendable.

Should be used on host machines (via some cron-job) to generate alerts when
failcnt gets increased. Failcnt is the counter used in openvz kernels to tell
whether the needed parameter reached its limit.

%prep
%setup -q

%install
mkdir -p %buildroot%_localstatedir/yabeda
mkdir -p %buildroot%_sysconfdir/cron.d
mkdir -p %buildroot%_sysconfdir/yabeda
mkdir -p %buildroot%_sbindir
install -pm 750 yabeda.rb %buildroot%_sbindir/yabeda
install -pm 640 yabeda.conf %buildroot%_sysconfdir/yabeda/yabeda.conf
install -pm 644 yabeda.cron %buildroot%_sysconfdir/cron.d/yabeda
touch %buildroot%_localstatedir/yabeda/state

%files
%_sysconfdir/cron.d/yabeda
%_sbindir/yabeda
%dir %_localstatedir/yabeda
%attr(600,root,root) %_localstatedir/yabeda/state
%dir %_sysconfdir/yabeda
%config %_sysconfdir/yabeda/yabeda.conf

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin