PHPackages                             munkireport/smart\_stats - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. munkireport/smart\_stats

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

munkireport/smart\_stats
========================

Module for munkireport.

v3.1(2mo ago)111.3k↑200%4MITPHP

Since Nov 19Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/munkireport/smart_stats)[ Packagist](https://packagist.org/packages/munkireport/smart_stats)[ RSS](/packages/munkireport-smart-stats/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)DependenciesVersions (14)Used By (0)

SMART Stats module
==================

[](#smart-stats-module)

Collects data from a drive's SMART attributes.

Dependency
----------

[](#dependency)

smart\_stats module requires smartctl, a part of smartmontools:

Download the latest version of smartmontools for macOS from the official repository here:

**Munki:**The downloaded smartmontools package has a name that conflicts with Munki's versioning. To avoid an error, import the downloaded DMG file directly instead of the PKG it contains.

Notes
-----

[](#notes)

Starting with smartmontools 6.6 (released October of 2017), the SMART Stats module supports NVMe drives. NVMe drives will not fully appear in the SMART Stats listing, but all available data is in the client tab.

Configuration
-------------

[](#configuration)

smart\_stats module has one settings that can be managed by adding them to the server environment variables or the `.env` file.

```
keep_smart_stats_historical=TRUE

```

Table Schema
------------

[](#table-schema)

The following information is stored in the smart\_stats table:

- disk\_number - int - device id (/dev/diskX)
- model\_family - varchar(255) - Family model of the disk
- device\_model - varchar(255) - Device model of the disk
- serial\_number\_hdd - varchar(255) - Disk serial number
- lu\_wwn\_device\_id - varchar(255)
- firmware\_version - varchar(255) - Firmware version of disk
- user\_capacity - varchar(255) - Raw capacity of disk
- sector\_size - varchar(255) - Reported sector size of disk
- rotation\_rate - varchar(255) - Rotation rate of disk
- device\_is - varchar(255) - Status of disk in smartctl's database
- ata\_version\_is - varchar(255) - Information about ATA protocol in use
- sata\_version\_is - varchar(255) - Information about SATA protocol in use
- form\_factor - varchar(255) - Form factor of drive
- smart\_support\_is - varchar(255) - SMART support about drive
- smart\_is - varchar(255) - Is SMART enabled
- error\_count - int - Amount of SMART errors
- error\_poh - int - Power on hour count at last SMART error
- timestamp - int - Timestamp of last data pull

All other table columns correspond with SMART attributes.

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance86

Actively maintained with recent releases

Popularity28

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~273 days

Recently: every ~351 days

Total

11

Last Release

67d ago

Major Versions

v1.5 → v2.02022-02-03

v2.1 → v3.0b12022-12-15

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5647483?v=4)[Munkireport](/maintainers/Munkireport)[@munkireport](https://github.com/munkireport)

---

Top Contributors

[![tuxudo](https://avatars.githubusercontent.com/u/13306723?v=4)](https://github.com/tuxudo "tuxudo (30 commits)")[![bochoven](https://avatars.githubusercontent.com/u/1429002?v=4)](https://github.com/bochoven "bochoven (19 commits)")[![poundbangbash](https://avatars.githubusercontent.com/u/1416288?v=4)](https://github.com/poundbangbash "poundbangbash (7 commits)")[![kevinmcox](https://avatars.githubusercontent.com/u/25358601?v=4)](https://github.com/kevinmcox "kevinmcox (1 commits)")[![lolipale](https://avatars.githubusercontent.com/u/13834698?v=4)](https://github.com/lolipale "lolipale (1 commits)")[![joncrain](https://avatars.githubusercontent.com/u/5123982?v=4)](https://github.com/joncrain "joncrain (1 commits)")[![mosen](https://avatars.githubusercontent.com/u/316108?v=4)](https://github.com/mosen "mosen (1 commits)")[![GordSpence](https://avatars.githubusercontent.com/u/8779815?v=4)](https://github.com/GordSpence "GordSpence (1 commits)")[![MagerValp](https://avatars.githubusercontent.com/u/404393?v=4)](https://github.com/MagerValp "MagerValp (1 commits)")

### Embed Badge

![Health badge](/badges/munkireport-smart-stats/health.svg)

```
[![Health](https://phpackages.com/badges/munkireport-smart-stats/health.svg)](https://phpackages.com/packages/munkireport-smart-stats)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
