ZFS Monitoring

Status
Not open for further replies.

gzartman

Contributor
Joined
Nov 1, 2013
Messages
105
I'm curious, how does FreeNAS monitor zfs/zpool status? Is it doing it with a cron process or some kind of service?

Thanks,
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
cron runs /usr/local/www/freenasUI/tools/alert.py every 5 minutes. That script calls (among other things) zpool status, parses the output and drives the alert light in the GUI (upper right). It is also supposed to send an email if the pool is degraded, but that is currently broken. It will be fixed in the next release: https://bugs.freenas.org/issues/3145
 
Status
Not open for further replies.
Top