30 Jan
2015
30 Jan
'15
4:58 p.m.
Hi
My servers are Ubuntu 14.04 and I'm needing to make a Upstart script for Poolmon.
Does someone already made this and could to share with us ?
Thanks!
Thiago henrique
3 Feb
3 Feb
9:30 p.m.
If any of you need, this worked for me:
root@director-server:~# cat /etc/init/poolmon.conf
Starts the poolmon daemon
Description:
Poolmon is a director mailserver pool monitoring script for Dovecot, meant
toroughly duplicate the functionality of node health monitors on dedicated
loadbalancers like LVS or F5 BigIP LTM. This script can be safely run
on more
than one director host simultaneously, although differences in node
reachability may result in mailserver vhost count flapping.
processname: poolmon
pidfile: /var/run/poolmon.pid
logfile: /var/log/poolmon.log
start on runlevel [2345] stop on runlevel [!2345] respawn expect fork
env CMD='/usr/local/sbin/poolmon' env DIRECTOR_SOCKET='/var/run/dovecot_director/director-admin' env DEBUG='--debug' env INTERVAL=5
pre-start script test -x /usr/local/sbin/poolmon || { stop ; exit 0; } end script
script exec $CMD --socket=$DIRECTOR_SOCKET $DEBUG --interval=$INTERVAL end script
Thanks!
Thiago Henrique
Em 30-01-2015 13:58, Listas@Adminlinux escreveu:
3738
Age (days ago)
3742
Last active (days ago)
1 comments
1 participants
participants (1)
-
Listas@Adminlinux