search cancel

Fetching System Resource information from One Click via RESTful API

book

Article ID: 214984

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

I am trying to collect System Resource data from Spectrum stored in the HOST-RESOURCES MIB, specifically disk C: size of our Windows servers.
The data is displayed in the Component Detail pane in the Information tab>System Resources category. The specific data I am interested in is in the File Systems category, where the monitored disks are presented. This data is not part of the attribute list, so using API to fetch attributes from the servers is not possible. So where is this data stored and how can I get it using One Click API?

 

Environment

Release : 10.4.1

Component : Spectrum Core / SpectroSERVER

Resolution

The OIDs that were needed are the following:

hrStorageDescr 1.3.6.1.2.1.25.2.3.1.3

hrStorageAllocationUnits 1.3.6.1.2.1.25.2.3.1.4

hrStorageSize 1.3.6.1.2.1.25.2.3.1.5

In MIB Tools->Map I created an attribute for each OID, which we can now fetch using API.