- From: Bryan McLellan <
>
- To:
- Cc:
- Subject: [chef] Re: get load average, free disk space and free memory
- Date: Sat, 3 Jul 2010 23:21:24 -0700
On Fri, Jul 2, 2010 at 2:55 AM, Vasiliy G Tolstov
<
>
wrote:
>
I need to get load average, free disk space and free memory on the node,
>
running chef-client.
Some of this information is collected by ohai, like node[:memory][:free].
I think the easiest way to get this data would be to add it to ohai so
it would end up as an attribute stored on the chef server. It'd only
be as up to date as the last chef-client run of course.
I normally collect this data using a trending tool like munin, but
it'd be somewhat tricky to get to this data through the chef API. It
could be next to create a chef library to connect to a munin node to
fetch current data from a node from the chef server.
Bryan
Archive powered by MHonArc 2.6.16.