Hello,
I suggest https://github.com/nleng/django-monit-collector
Perfect tool to generate stats from monit.


On 13 February 2017 at 13:10, Lorne Wanamaker <[email protected]> wrote:

> Thanks guys, these give me some great options!
>
> Lorne
>
> On Mon, Feb 13, 2017 at 6:05 AM, Smith, Graham - Computing Technical
> Officer <[email protected]> wrote:
>
>> Hi Lorne,
>>
>>
>>
>> A dirty hack if you just want output in raw html, you could leverage a
>> few command
>>
>> line utilities like such as ccze to colourise output and aha to wrap that
>> in html.
>>
>>
>>
>> Something like this:
>>
>>
>>
>> monit status servername | egrep ‘load|memory’ | ccze | aha >
>> /vaw/www/html/servername.html
>>
>>
>>
>> And then just run that on a cron every 5 minutes or whatever you need.
>>
>> It’s not a graph per se but it’s quick and easy and you can use
>> stylesheets with aha.
>>
>>
>>
>> Although the xml output as already mentioned looks like a better place to
>> start for a
>>
>> full graphical output. You’d probably need to feed that data into
>> something like rrdtool:
>>
>> http://oss.oetiker.ch/rrdtool/
>>
>> or Grafana which is very popular at the moment:
>>
>> http://grafana.org/
>>
>>
>>
>>
>>
>>
>>
>> Graham
>>
>>
>>
>> _____________________________________
>> Graham Smith
>> Technical Officer
>> Department of Computing
>> Institute of Technology Tallaght
>> Tallaght
>> Dublin 24
>> Ireland
>>
>>
>>
>> *From:* monit-general [mailto:monit-general-bounces+graham.smith=
>> [email protected]] *On Behalf Of *Lorne Wanamaker
>> *Sent:* 11 February 2017 11:09
>> *To:* This is the general mailing list for monit <
>> [email protected]>
>> *Subject:* Monit Output
>>
>>
>>
>> Hi,
>>
>> Trying to find some documentation on Monit output. What i would like to
>> do is have our client portal fetch monit output and than graph it so it is
>> visible in the clients service area.
>>
>> Specifically load, ram, cpu, and disk use.
>>
>> Anybody know the best way to accomplish this, or a doc on it?
>>
>> Thanks,
>>
>> Lorne
>>
>>
>> The contents and any attachment of this e-mail are private and
>> confidential.
>> They are intended only for the use of the intended addressee. If you are
>> not the intended addressee, or the person responsible for delivering it to
>> the intended addressee, you are notified that any copying, forwarding,
>> publication, review or delivery of this e-mail or any attachments to anyone
>> else or any other use of its contents is strictly prohibited. You are
>> prohibited from reading any part of this e-mail or any attachments.  If you
>> have received this e-mail in error, please notify the system manager.
>> Unauthorised disclosure or communication or other use of the contents of
>> this e-mail or any part thereof may be prohibited by law and may constitute
>> a criminal offence. Internet e-mails are not necessarily secure. The
>> Institute does not accept responsibility for changes made to this message
>> after it was sent.  Unless stated to the contrary, any opinions expressed
>> in this message are personal to the author and may not be attributed to the
>> Institute.
>>
>> --
>> To unsubscribe:
>> https://lists.nongnu.org/mailman/listinfo/monit-general
>>
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to