the size of captured error output of "check program" is too small, can't get useful information from the alert email

Issue #197 resolved
周剑雄 created an issue

Here is the alert email:

Status failed Service biz 

    Date:        Mon, 25 May 2015 06:14:13
    Action:      alert
    Host:        host
    Description: ...................................F............
======================================================================
FAIL: test_feedback (message_biz.TestMessageBiz)
----------------------------------------------------------------------
[38;5

Your faithful employee,
Monit

the description field just too small to store all info of the error, I need the traceback to debug what was happened...

please help, thanks!

Comments (3)

  1. Tildeslash repo owner

    We believe this is fixed in the latest Monit version, where up to 1kB is read from the program. Please make sure that you are running Monit 5.13.

  2. 周剑雄 reporter
    $ monit -V
    This is Monit version 5.6
    Copyright (C) 2001-2013 Tildeslash Ltd. All Rights Reserved.
    

    I will try the latest version, thanks. BTW, could the size be configurable? Maybe 1KB still too small :)

  3. Log in to comment