[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Announce] Monit 5.18
From: |
Martin Pala |
Subject: |
Re: [Announce] Monit 5.18 |
Date: |
Fri, 27 May 2016 15:22:03 +0200 |
Hello Marco, thank you for feedback :)
We have returned the monit version back to status output (will be part of next
release).
Regarding the http://<host>:2812/_status URL, we can add a HTTP parameter to
suppress the colours, but there are also some possible workarounds:
1.) Strip ANSI escape sequences, example:
curl http://127.0.0.1:2812/_status | sed -r
"s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"
2.) Using the XML formatted status (may be better for parsing if you do
cross-monitoring):
http://<host>:2812/_status?format=xml
Best regards,
Martin
> On 27 May 2016, at 10:46, Roose, Marco <address@hidden> wrote:
>
> Dear Martin,
> thanks a lot for the great release! I especially like the new output format.
>
> Unfortunately I have one problem with this change in the output: I used the
> URI _status (e.g. http://<host>:2812/_status) for my monitoring to
> (cross-)check service availability… with Nagios. First thing I’m missing is
> the current Monit version number (which was in the first line of output
> before). I think this is a nice to have, maybe it can get re-implemented?
>
> Second: now those control characters are “wasting” the _status output. Is
> there some GET parameter I can submit to get the same output as with the “-B”
> option on the command line?
>
> Best regards,
> Dr. Marco Roose
> Max Planck Institute for biophysical Chemistry
> DE-37077 Göttingen
>
> From: monit-general [mailto:address@hidden On Behalf Of Martin Pala
> Sent: Thursday, May 26, 2016 1:49 PM
> To: This is the general mailing list for monit <address@hidden>
> Subject: [Announce] Monit 5.18
>
> Hi, all
>
> We have just released Monit 5.18
>
> Download: https://mmonit.com/monit/#download
>
>
> Release Notes:
> ==============
>
> Please see http://mmonit.com/monit/changes/ for a complete and detailed list
> of changes in this release.
>
>
> Contact:
> ========
>
> If you have questions, comments or any other feedback about this release,
> please reply to this post.
>
>
> Best regards from the Monit team
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general