Hello, I'm monitoring an process that occasionally freezes hard and it is not enough for me to check if it is simply running. I need to connect to the process via telnet and verify it is actually responding to requests. I have the following rules:
This morning I found that the process had frozen again and stayed in that state, meaning there is something wrong with my monit config?
[UTC Mar 22 15:00:33] info : monit daemon at 255 awakened
[UTC Mar 22 15:00:33] info : Awakened by User defined signal 1
[UTC Mar 22 15:00:33] info : 'airtime-liquidsoap' monitor action done
[UTC Mar 22 15:00:43] error : 'airtime-liquidsoap' process is not running
[UTC Mar 22 15:00:43] info : 'airtime-liquidsoap' trying to restart
[UTC Mar 22 15:00:43] info : 'airtime-liquidsoap' start: /etc/init.d/airtime-liquidsoap
[UTC Mar 22 15:00:44] info : 'airtime-liquidsoap' monitor on user request
[UTC Mar 22 15:00:44] info : monit daemon at 255 awakened
[UTC Mar 22 15:00:48] error : 'airtime-liquidsoap' failed to start
[UTC Mar 22 15:00:48] info : Awakened by User defined signal 1
[UTC Mar 22 15:00:48] info : 'airtime-liquidsoap' monitor action done
[UTC Mar 22 15:00:58] error : 'airtime-liquidsoap' process is not running
[UTC Mar 22 15:00:58] info : 'airtime-liquidsoap' trying to restart
[UTC Mar 22 15:00:58] info : 'airtime-liquidsoap' start: /etc/init.d/airtime-liquidsoap
[UTC Mar 22 15:00:58] info : 'airtime-liquidsoap' started
[UTC Mar 22 15:00:58] info : 'airtime-liquidsoap' monitor on user request
[UTC Mar 22 15:00:58] info : monit daemon at 255 awakened
manually to get everything back in order. Any ideas?