monit-general
[Top][All Lists]
Advanced

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

error : skipping queued event /usr/local/monit//monitrc - unknown data f


From: brian
Subject: error : skipping queued event /usr/local/monit//monitrc - unknown data format
Date: Sun, 27 Jul 2014 15:34:11 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0

I'm getting this error in the log file and I'm not sure how to fix it. I'm not sure where the error is coming from.

[EDT Jul 27 00:07:49] info : Starting monit daemon with http interface at [localhost:2812]

[EDT Jul 27 00:07:49] info : Starting monit HTTP server at [localhost:2812]

[EDT Jul 27 00:07:49] info : monit HTTP server started

[EDT Jul 27 00:07:49] info : 'localhost.localdomain' Monit started

[EDT Jul 27 00:07:49] debug : Monit instance changed notification is sent to address@hidden

[EDT Jul 27 00:07:50] debug : Processing postponed events queue

[EDT Jul 27 00:07:50] debug : Processing queued event /usr/local/monit//monitrc

[EDT Jul 27 00:07:50] error : skipping queued event /usr/local/monit//monitrc - unknown data format

[EDT Jul 27 00:07:50] debug : -------------------------------------------------------------------------------

[EDT Jul 27 00:07:50] debug : monit() [0x41a51a]

[EDT Jul 27 00:07:50] debug : monit(LogError+0xa9) [0x41ad59]

[EDT Jul 27 00:07:50] debug : monit(Event_queue_process+0x372) [0x4177f2]

[EDT Jul 27 00:07:50] debug : monit(validate+0x1d) [0x428bad]

[EDT Jul 27 00:07:50] debug : monit(main+0x4bc) [0x40bb8c]

[EDT Jul 27 00:07:50] debug : /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fea6938daf5]

[EDT Jul 27 00:07:50] debug : monit() [0x40be09]

[EDT Jul 27 00:07:50] debug : -------------------------------------------------------------------------------



My monitrc file is the stock file with the following added at the end:

--------------------------------------------

set logfile /usr/local/monit/logs/monit.log



check process apache with pidfile /usr/local/apache/logs/httpd.pid

restart program = "/usr/sbin/apachectl restart"

if failed port 80 protocol http then restart

#todo: add https port port 443



check process mysql with pidfile /var/lib/mysql/localhost.localdomain.pid

restart program = "/etc/init.d/mysql restart"

if failed port 3306 protocol mysql then restart



#can filter alerts: set alert address@hidden not on { instance, action }

# Do not alert when Monit starts, stops or performs a user initiated action.

set alert address@hidden



set mailserver smtp.googlemail.com port 465

username "address@hidden" password "pwd"

using TLSV12

#so if mail server not available, will queue alert

set eventqueue

basedir /usr/local/monit/ # set the base directory where events will be stored

--------------------------------------------



How to I find where this error is coming from and how do I fix it?



Brian


reply via email to

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