Happy New Year to everybody.
I've been using monit for a quite long time to control an embedded system built over uClibc and running on ARM 9.
Now I'm trying to set up a new environment for my development board and to get applications (including monit) running on it.
Unfortunately I can't connect to monit neither from browser nor from command line using 'monit status/summary'.
The problem is not clear because almost the same config works with no problems on my former system.
I can't run exactly the same config since my other stuff is not ready yet, but I thought that things like CPU, memory, directories will work.
On the other hand the net is definitely OK, I can get to the board with ssh.
monit: Debug: Adding credentials for user 'admin'.
monit: generated unique Monit id 4b49fd155c9707f764f80bad7dc00437 and stored to '/var/run/.
monit.id'
Runtime constants:
Control file = /etc/monitrc
Log file = (not defined)
Pid file = /var/run/monit.pid
Debug = True
Log = False
Use syslog = False
Is Daemon = True
Use process engine = True
Poll time = 60 seconds with start delay 0 seconds
Expect buffer = 256 bytes
Mail from = (not defined)
Mail subject = (not defined)
Mail message = (not defined)
Start monit httpd = True
httpd bind address = Any/All
httpd portnumber = 2812
httpd signature = True
Use ssl encryption = False
httpd auth. style = Basic Authentication
The service list contains the following entries:
System Name = ac
Monitoring mode = active
CPU wait limit = if greater than 75.0% 5 times within 5 cycle(s) then alert else if succeeded 1 times within 1 cycle(s) then alert
CPU system limit = if greater than 75.0% 5 times within 5 cycle(s) then alert else if succeeded 1 times within 1 cycle(s) then alert
CPU user limit = if greater than 75.0% 5 times within 5 cycle(s) then alert else if succeeded 1 times within 1 cycle(s) then alert
Memory usage limit = if greater than 80.0% 1 times within 1 cycle(s) then alert else if succeeded 1 times within 1 cycle(s) then alert
Load avg. (5min) = if greater than 2.0 1 times within 1 cycle(s) then alert else if succeeded 1 times within 1 cycle(s) then alert
Load avg. (1min) = if greater than 4.0 1 times within 1 cycle(s) then alert else if succeeded 1 times within 1 cycle(s) then alert
Every = Check service every 5 cycles
Filesystem Name = data
Group = filesystem
Path = /mnt/data
Monitoring mode = active
Existence = if does not exist 1 times within 1 cycle(s) then restart else if succeeded 1 times within 1 cycle(s) then alert
Filesystem flags = if changed 1 times within 1 cycle(s) then alert
Space usage limit = if greater than 90.0% 1 times within 1 cycle(s) then exec '/bin/sh -c monit stop all' timeout 0 cycle(s) else if succeeded 1 times within 1 cycle(s) then alert
Space usage limit = if greater than 80.0% 5 times within 15 cycle(s) then alert else if succeeded 1 times within 1 cycle(s) then alert
Every = Check service every 10 cycles
Filesystem Name = rootfs
Group = filesystem
Path = /
Monitoring mode = active
Existence = if does not exist 1 times within 1 cycle(s) then restart else if succeeded 1 times within 1 cycle(s) then alert
Filesystem flags = if changed 1 times within 1 cycle(s) then alert
Space usage limit = if greater than 90.0% 1 times within 1 cycle(s) then exec '/bin/sh -c monit stop all' timeout 0 cycle(s) else if succeeded 1 times within 1 cycle(s) then alert
Space usage limit = if greater than 80.0% 5 times within 15 cycle(s) then alert else if succeeded 1 times within 1 cycle(s) then alert
Every = Check service every 10 cycles
Filesystem Name = tmp
Group = filesystem
Path = /tmp
Monitoring mode = active
Existence = if does not exist 1 times within 1 cycle(s) then restart else if succeeded 1 times within 1 cycle(s) then alert
Filesystem flags = if changed 1 times within 1 cycle(s) then alert
Space usage limit = if greater than 90.0% 1 times within 1 cycle(s) then exec '/bin/sh -c rm -fr /tmp/*' timeout 0 cycle(s) else if succeeded 1 times within 1 cycle(s) then alert
Space usage limit = if greater than 80.0% 5 times within 15 cycle(s) then alert else if succeeded 1 times within 1 cycle(s) then alert
Every = Check service every 10 cycles
-------------------------------------------------------------------------------
monit: pidfile '/var/run/monit.pid' does not exist
Starting monit daemon with http interface at [*:2812]
Starting monit HTTP server at [*:2812]
monit HTTP server started
'ac' Monit started
HttpRequest error: HTTP/1.0 400 No request found
'ac' cpu wait usage check succeeded [current cpu wait usage=0.0%]
'ac' cpu system usage check succeeded [current cpu system usage=0.1%]
'ac' cpu user usage check succeeded [current cpu user usage=0.0%]
'ac' mem usage check succeeded [current mem usage=8.3%]
'ac' loadavg(5min) check succeeded [current loadavg(5min)=0.0]
'ac' loadavg(1min) check succeeded [current loadavg(1min)=0.1]
'data' space usage check succeeded [current space usage=2.2%]
'data' space usage check succeeded [current space usage=2.2%]
'rootfs' space usage check succeeded [current space usage=0.0%]
'rootfs' space usage check succeeded [current space usage=0.0%]
'tmp' space usage check succeeded [current space usage=0.0%]
'tmp' space usage check succeeded [current space usage=0.0%]
HttpRequest error: HTTP/1.0 400 No request found
Config file is attached.
Alexander.