monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Read only file-system ?


From: Léo Chaupitre
Subject: Re: Read only file-system ?
Date: Wed, 28 Oct 2015 23:10:19 +0100

worked, thanks!

On 28 October 2015 at 18:51, address@hidden <address@hidden> wrote:
set these to writable filesystems
log
pid
id
event queue

Sent from my iPad

On 28 Oct 2015, at 7:30 PM, Léo Chaupitre <address@hidden> wrote:

Hello

I 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 -vvI
Runtime constants:
 Control file       = /etc/monit/monitrc
 Log file           = /tmp/monit.log
 Pid file           = /var/run/monit.pid
 Id file            = /var/lib/monit/id
 Debug              = True
 Log                = True
 Use syslog         = False
 Is Daemon          = True
 Use process engine = True
 Poll time          = 120 seconds with start delay 0 seconds
 Expect buffer      = 256 bytes
 Event queue        = base directory /var/lib/monit/events with 100 slots
 Mail server(s)     = xxxxxx:25 with timeout 30 seconds
 Mail from          = xxxxx
 Mail subject       = $SERVICE $EVENT at $DATE
 Mail message       = Monit $ACTION $SERVI..(truncated)
 Start monit httpd  = False
 Alert mail to      = xxxxxxx
   Alert on         = All events

The service list contains the following entries:

Process Name          = domoticz
 Pid file             = /var/run/domoticz.pid
 Monitoring mode      = active
 Start 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 alert
 Pid                  = if changed 1 times within 1 cycle(s) then alert
 Ppid                 = if changed 1 times within 1 cycle(s) then alert
 Port                 = 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 alert
 Timeout              = If restarted 5 times within 5 cycle(s) then exec '/sbin/reboot' timeout 0 cycle(s)

System Name           = system_domoticzpi
 Monitoring mode      = active

-------------------------------------------------------------------------------
Cannot open for write -- Read-only file system


Any Idea on how to fix this?
thanks




--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


reply via email to

[Prev in Thread] Current Thread [Next in Thread]