Re: Terminal Batch doesn't work always

2018-03-23 Thread mart...@tildeslash.com
Hello Lutz, the color (ANSI escape sequence) is set on server-side and stripped by monit CLI if in batch mode. If you use curl to fetch the status in txt format directly, you need to strip the escape sequence yourselves, for example: curl http://127.0.0.1:2812/_status

Terminal Batch doesn't work always

2018-03-23 Thread Lutz Mader
Hello Tildeslash, I try to gather the Service status summary via a curl request from an other/remote monit system to use the status in a local monit check program script. curl 'http://admin:monit@macmini.local:2812/_summary?format=xml' or curl 'http://admin:monit@macmini.local:2812/_summary?format