[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: JSON support for monit's http interface
From: |
Jens Braeuer |
Subject: |
Re: JSON support for monit's http interface |
Date: |
Thu, 26 Jan 2012 09:57:51 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111229 Thunderbird/9.0 |
Hi Callum,
thanks a lot, this is what I looked for!
Is there some documentation what the different type's and status' mean? Eg.
<service type="3">
...
<status>0</status>
</service>
Is it defined in some central place in the source?
Cheers,
Jens
On 26.01.2012 09:51, Callum Macdonald wrote:
> Hi Jens,
>
> In case you weren't aware, you can get data from monit in XML format:
> http://localhost:2812/_status?format=xml
>
> Love & joy - Callum.
>
> On Thu, 2012-01-26 at 09:38 +0100, Jens Braeuer wrote:
>> Hi everyone,
>>
>> first of all I want to thank you Tildeslash for Monit! I run Monit for
>> ~8 month now and it works great!
>>
>> My current setup is configured in a way, that monit makes sure, the
>> local services run. On top of this, I use Icinga (a Nagios fork) to
>> ensure Monit runs on all hosts.
>>
>> To make the Icinga check more detailed, I would like to get JSON out of
>> Monit's webinterface.
>>
>> So, is there currently support for JSON status pages in Monit? (Could
>> not find anything in the docs). Is there a chance you guys could add it?
>>
>> Cheers,
>> Jens
>>
>>
>>
>> --
>> To unsubscribe:
>> https://lists.nongnu.org/mailman/listinfo/monit-general
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general