/mgmt/config/default/FileSystemUsageMonitor GET
Use the HTTP GET method with the
/mgmt/config/default/FileSystemUsageMonitor
resource to request a list of current
appliance file system usage monitor settings.
Resource URL
https://host:port/mgmt/config/default/FileSystemUsageMonitor
Where
port is 5554 by default.Request headers
The following header must be sent with the request:
- Authorization
- This header must be sent to perform authentication.
Request body format
None.
Security requirements
The caller must be authenticated as an appliance user with sufficient authority. For more information about security, see Types of user and how they are authenticated and User authorization, credential mapping, and access profiles.
Response status codes
- 200
- Information retrieved successfully.
- 400
- Invalid data provided.
- 401
- Not authenticated.
- 403
- Not authorized.
Response headers
- Content-Type
- This header is returned with a value of
application/json
.
Response body format
The response is in JSON format. The response includes the following fields:
- mAdminState
- String.
- PollingInterval
- Integer.
- AllSystem
- String.
- AllSystemWarningThreshold
- Integer.
- AllSystemCriticalThreshold
- Integer.
- System
- If you have configured individual settings for system file systems, this parameter appears and contains the following sub-parameters for each system defined:
- AllQueueManagers
- String.
- AllQMWarningThreshold
- Integer.
- AllQMCriticalThreshold
- Integer.
- QueueManager
- If you have configured individual settings for particular queue managers, this parameter appears
and contains the following sub-parameters for each queue manager:
- Name
- String.
- WarningThreshold
- Integer.
- CriticalThreshold
- Integer.
Examples
The following example requests the file system usage monitor information on the appliance:
The following URL is used with the HTTP GET
method:
GET /mgmt/config/default/FileSystemUsageMonitor
The following listing shows the received response:
{
"_links": {
"self": {
"href": "/mgmt/config/default/FileSystemUsageMonitor"
},
"doc": {
"href": "/mgmt/docs/config/FileSystemUsageMonitor"
}
},
"FileSystemUsageMonitor": {
"name": "FileSystemUsageMonitor",
"_links": {
"self": {
"href": "/mgmt/config/default/FileSystemUsageMonitor/FileSystemUsageMonitor"
},
"doc": {
"href": "/mgmt/docs/config/FileSystemUsageMonitor"
}
},
"mAdminState": "enabled",
"PollingInterval": 60,
"AllSystem": "on",
"AllSystemWarningThreshold": 75,
"AllSystemCriticalThreshold": 90,
"AllQueueManagers": "on",
"AllQMWarningThreshold": 75,
"AllQMCriticalThreshold": 90,
"QueueManager" : [
{
"Name" : "QM1",
"WarningThreshold" : 65,
"CriticalThreshold" : 80
},
{
"Name" : "plain1",
"WarningThreshold" : 80,
"CriticalThreshold" : 95
}
]
}
}