Skip to main content
Needs Votes

adding quotas to EMC unisphere rest api connector

Related products:Infra Monitoring - Connectors
  • October 13, 2024
  • 1 reply
  • 30 views

Forum|alt.badge.img+8

Hi,

Quotas are currently not supervised on unisphere api based storage arrays (https://github.com/centreon/centreon-plugins/issues/4823).

We can have the names of the quotas:
https://x.x.x.x/api/types/quotaConfig/instances?fields=filesystem.name
and then, we can have the sizes of the soft/hard quotas and the size:
https://x.x.x.x/api/instances/quotaConfig/quotaconfig_171798691851_7?fields=filesystem.name%2CtreeQuota.hardLimit%2CtreeQuota.softLimit%2CtreeQuota.path%2CtreeQuota.state%2CtreeQuota.sizeUsed

example :
{
"@base": "https://x.x.x.x/api/instances/quotaConfig",
"updated": "2023-11-24T12:17:10.374Z",
"links": [
{
"rel": "self",
"href": "/quotaconfig_171798691851_7"
}
],
"content": {
"id": "quotaconfig_171798691851_7",
"filesystem": {
"id": "fs_1",
"name": "FS-Services"
},
"treeQuota": {
"id": "treequota_171798691851_7",
"state": 0,
"path": "/Services/DIVISION_BIBLIOTHEQUE",
"hardLimit": 107374182400,
"softLimit": 107374182400,
"sizeUsed": 86862370816
}
}
}

Best regards.

1 reply

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • October 18, 2024
NewNeeds Votes