|
From: | Smith, Graham - Computing Technical Officer |
Subject: | RE: Monit Output |
Date: | Mon, 13 Feb 2017 11:05:37 +0000 |
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: Graham _____________________________________ From: monit-general [mailto:monit-general-bounces+address@hidden
On Behalf Of Lorne Wanamaker 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
|
[Prev in Thread] | Current Thread | [Next in Thread] |