Package: monit
Version: 1:4.10.1-4
Severity: normal

Monit's state file path is hardcoded in /etc/init.d/monit:

ARGS="-d $CHECK_INTERVALS -c $CONFIG -s /var/lib/monit/monit.state"

Check the docs - in the section "Monitoring Mode" they suggest:

 If you use Monit in a HA-cluster you should place the state file in a
 temporary filesystem so if the machine should crash and the stand-by
 machine take over services, any manual monitoring mode services that
 were started on the crashed machine won't be started on reboot. Use
 for example:

   set statefile /tmp/monit.state

So a little flexibility would be appreciated here.  How about setting
it in /etc/defaults/monit instead?

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (750, 'stable'), (70, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages monit depends on:
ii  libc6                   2.7-18lenny2     GNU C Library: Shared libraries
ii  libssl0.9.8             0.9.8g-15+lenny6 SSL shared libraries

monit recommends no packages.

monit suggests no packages.

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to