Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
icinga-mod_gearman
> icinga-mod_gearman.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File icinga-mod_gearman.spec of Package icinga-mod_gearman (Revision 2)
Currently displaying revision
2
,
show latest
## %define monitor nagios %define monitor icinga %define pkgname mod_gearman Name: %{monitor}-%{pkgname} Version: 0.8 Release: 1 Group: Application/System License: GPLv3 Url: http://labs.consol.de/lang/de/nagios/mod-gearman/ Summary: Distributed active Icinga/Nagios checks Source0: http://labs.consol.de/wp-content/uploads/2010/09/%{pkgname}-%{version}.tar.bz2 Patch0: mod_gearman-init-worker.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gcc-c++ gearmand-devel >= 0.14 ncurses-devel BuildRequires: %{monitor} %description Mod Gearman is a new way of distributing active Nagios checks across your network. It consists of two parts: There is a NEB module which resides in the Nagios core and adds servicechecks, hostchecks and eventhandler to a Gearman queue. There can be multiple equal gearman servers. The counterpart is one or more worker clients for the checks itself. They can be bound to host and servicegroups. %prep %setup -n %{pkgname}-%{version} %patch0 %build %configure \ --with-user=%{monitor} \ --with-init-dir=%{_sysconfdir}/init.d %__make %install %__make DESTDIR=%{buildroot} install %clean rm -rf %{buildroot} %preun %stop_on_removal %postun %insserv_cleanup %files %defattr(-,root,root) %doc Changes COPYING README README.html THANKS TODO %{_sysconfdir}/init.d/mod_gearman_worker %{_bindir}/check_gearman %{_bindir}/gearman_top %{_bindir}/mod_gearman_worker %{_bindir}/send_gearman %{_bindir}/send_multi %dir %{_libdir}/mod_gearman %{_libdir}/mod_gearman/mod_gearman.o %{_libdir}/mod_gearman/mod_gearman.so %dir %{_datadir}/mod_gearman %{_datadir}/mod_gearman/shared.conf %{_datadir}/mod_gearman/standalone_worker.conf %changelog