Install mod_gearman with gentoo system source code
Mod_gearman:
Gcc/g ++ autoconf/automake/autoheaderlibtoollibgearman (>=0.14)
Add the configuration file/etc/portage/package. keywords/gearmand
Sys-cluster/gearmand ~ Amd64
Emerge sys-cluster/gearmand
The corresponding software package sys-cluster/gearmand in gentoo
Wget http://labs.consol.de/wp-content/uploads/2010/09/mod_gearman-1.2.0.tar.gztar-xvpf mod_gearman-1.2.0.tar.gzcd mod_gearman-1.2.0./configure -- prefix =/usr -- sysconfdir =/etc/-- localstatedir =/varmakemake install
Installation File list:
/Usr/lib/mod_gearman/mod_gearman.o # neb module/usr/bin/mod_gearman_worker # worker/usr/etc/init. d/mod_gearman_worker # init script/usr/bin/check_gearman # check bin/usr/bin/send_gearman # send bin/usr/bin/send_multi # send multi bin
Configuration file
Add nagios. cfg configuration
Broker_module =/usr/lib/mod_gearman/mod_gearman.o config =/etc/mod_gearman_neb.conf
/Etc/mod_gearman_neb.conf # neb module configuration information/etc/mod_gearman_worker.conf # worker: configuration information
Nagios_server configuration and service
Touch/var/log/mod_gearman/modify nagios: nagios/var/log/mod_gearman/mod_gearman_worker.log/etc/init. d/gearmand restart/etc/init. d/nagios restart
Gearman_worker configuration and service
Touch/var/log/mod_gearman/mod_gearman_worker.logchown nagios: nagios/var/log/mod_gearman/mod_gearman_worker.log/etc/init. d/gearmand restart
Install mod_gearman with gentoo system source code