%Monitor.System.Diskspace
Class %Monitor.System.Diskspace Extends %Monitor.System.Adaptor [ System = 4 ]
Parameters
APPLICATION
Parameter APPLICATION [ Internal ] = "CACHE";
INDEX
Parameter INDEX [ Internal ] = "Directory";
Properties
Directory
Property Directory As %Monitor.String(MAXLEN = 255);
Name of directory
Database
Property Database As %Monitor.String;
Name of database
Diskspace
Property Diskspace As %Monitor.Integer;
Disk space available (MB)
Diskstatus
Property Diskstatus As %Monitor.Integer;
Disk status
sfn
Property sfn As %Integer [ Internal ];
Methods
Initialize
Method Initialize() As %Status
Initialize routine metrics.
GetSample
Method GetSample() As %Status
Get routine metric sample.
A return code of $$$OK indicates there is a new sample instance.
A return code of 0 indicates there is no sample instance.