disksup is part of the os_mon application and all configuration parameters are defined in the reference documentation for the os_mon application.
disksup is a process which supervises the available disk
space in the system. Once every disk_space_check_interval
minutes, the disks are checked and an alarm is generated for each
disk which uses more than the disk_almost_full_threshold of available space.
The disksup process defines one alarm which it sends using
alarm_handler:set_alarm(Alarm). Alarm is defined
as follows:
{{disk_almost_full, MountedOn}, []}
disk_almost_full_threshold of its available disk space,
and it is cleared automatically when disksup observes that
the disk space is back to normal.
Types:
Time = integer()
Time interval, in milliseconds, which defined how often the disks are checked.
Types:
DiskData = {Id, KByte, Capacity}
Id = string()
KByte = integer()
Capacity = integer()
Gets data for the system disks or partitions.
Id is a string that identifies the disk or partition.
KByte is the total size of the disk or partition in
kbytes. Capacity is the percentage of disk space
used.
get_almost_full_threshold() -> integer()
Threshold as a percentage of the available disk space. It specifies how much disk space can be used by each disk or partition before an alarm is sent.
alarm_handler(3), os_mon(3)