Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.33 KB

README.pod

File metadata and controls

48 lines (30 loc) · 1.33 KB

NAME

monitor_bsd_hddtemp.pl - Monitor HDD temperatures on FreeBSD systems

VERSION

Version 1.2 (November 2016)

SYNOPSYS

monitor_bsd_hddtemp.pl

DESCRIPTION

This script gathers HDD temperature information and sends it via UDP to an Influx time-series database. The data in the InfluxDB can be visualized in different ways like Grafana and Influx' own Chronograf.

The data is formatted specifically for the IndluxDB in the line protocol format. The line protocol supports tags to add information to the values. The hostname, the model, the serial number, the firmware version, GUID (or WWN if available) and the S.M.A.R.T. status are added as tags

The address and port of the InfluxDB server is configured in the hash for the settings at the top of the script. The influxDB database should be configured to accept data over UDP. See the InfluxDB documentation on how to do this.

NOTES

This software has been tested on FreeNAS 9.10. It should work with other FreeBSD versions and maybe even on other BSD versions supporting smartctl and temperature monitoring.

AUTHOR

Jurriaan Saathof <[email protected]>

COPYRIGHT

Copyright 2016 Jurriaan Saathof

SEE ALSO

IO::Socket::INET(3pm), Sys::Hostname{3pm} https://www.influxdata.com/time-series-platform/ http://grafana.org http://www.freenas.org