|
From: | Léo Chaupitre |
Subject: | Re: Read only file-system ? |
Date: | Wed, 28 Oct 2015 23:10:19 +0100 |
set these to writable filesystemslogpididevent queue
Sent from my iPadHelloI try to use Monit on a Raspberry where the file system is read-only.I have changed the config to set the log file on tmpfs therefore monit still fails to start with below message:address@hidden:/tmp$ sudo /usr/bin/monit -vvIRuntime constants:Control file = /etc/monit/monitrcLog file = /tmp/monit.logPid file = /var/run/monit.pidId file = /var/lib/monit/idDebug = TrueLog = TrueUse syslog = FalseIs Daemon = TrueUse process engine = TruePoll time = 120 seconds with start delay 0 secondsExpect buffer = 256 bytesEvent queue = base directory /var/lib/monit/events with 100 slotsMail server(s) = xxxxxx:25 with timeout 30 secondsMail from = xxxxxMail subject = $SERVICE $EVENT at $DATEMail message = Monit $ACTION $SERVI..(truncated)Start monit httpd = FalseAlert mail to = xxxxxxxAlert on = All eventsThe service list contains the following entries:Process Name = domoticzPid file = /var/run/domoticz.pidMonitoring mode = activeStart program = '/etc/init.d/domoticz.sh start' timeout 30 second(s)Stop program = '/etc/init.d/domoticz.sh stop' timeout 30 second(s)Existence = if does not exist 1 times within 1 cycle(s) then restart else if succeeded 1 times within 1 cycle(s) then alertPid = if changed 1 times within 1 cycle(s) then alertPpid = if changed 1 times within 1 cycle(s) then alertPort = if failed [127.0.0.1:8080 [HTTP via TCP] with timeout 5 seconds and retry 0 time(s)] 1 times within 1 cycle(s) then restart else if succeeded 1 times within 1 cycle(s) then alertTimeout = If restarted 5 times within 5 cycle(s) then exec '/sbin/reboot' timeout 0 cycle(s)System Name = system_domoticzpiMonitoring mode = active-------------------------------------------------------------------------------Cannot open for write -- Read-only file systemAny Idea on how to fix this?thanks
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |