Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.01 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.01 KB

mackerel-plugin-smart-temp

Add metrics of temperature obtained from S.M.A.R.T. to mackerel.

Installation

Please install smartctl in advance.

for Ubuntu/Debian

sudo apt-get -y install smartmontools

for CentOS

sudo yum -y install smartmontools

Place mackerel-plugin-smart-temp and make it executable.

curl -o /usr/local/bin/mackerel-plugin-smart-temp https://raw.githubusercontent.com/masato-hi/mackerel-plugin-smart-temp/master/mackerel-plugin-smart-temp
chmod +x /usr/local/bin/mackerel-plugin-smart-temp

Please add the following contents to /etc/mackerel-agent/mackerel-agent.conf

[plugin.metrics.smart-temp]
command = "mackerel-plugin-smart-temp"

Please reload mackerel-agent.

service mackerel-agent reload

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/masato-hi/mackerel-plugin-smart-temp.

License

The script is available as open source under the terms of the MIT License.