1847725 Members
4769 Online
110265 Solutions
New Discussion

Get maintenanceTag for devices in IMC 7.3 API

 
pascalg
Occasional Advisor

Get maintenanceTag for devices in IMC 7.3 API

Hi,

I'm using the imc 7.3 API to list the details of our network equipment with the GET request "/ imcrs / plat / res / device". A lot of information retrieved (label, ip, status ...) but never the maintenance status of the device, do we have a solution to list the equipment which is in maintenance?

Regards,

3 REPLIES 3
drk787
HPE Pro

Re: Get maintenanceTag for devices in IMC 7.3 API

Hi,

Can you let me know what exactly you mean by maintenanc status, do you mean the device health status.

Refer the below URLs which has some information about the REST API.

https://techlibrary.hpe.com/device_help/eapi/rest_en/api/res/devQueryList.html#deviceStatus

https://techlibrary.hpe.com/device_help/eapi/rest_en/api/index.html

Device status description
The following describes the device status:

 

-1 Unmanaged (Gray) 0 Unknown (Blue) 1 Normal (Green) 2 Alarm (Cyan) 3 Minor (Yellow) 4 Important (Orange) 5 Warning (Red)

 

 

Thank You!
I am an HPE Employee

Accept or Kudo

pascalg
Occasional Advisor

Re: Get maintenanceTag for devices in IMC 7.3 API

Hi,

We use the Maintenance tag option in device details to ignore alarms from equipment, for example in the context of a planned intervention.

Regards,

 

drk787
HPE Pro

Re: Get maintenanceTag for devices in IMC 7.3 API

@pascalg 

Could not find the maintenance tag option in the URLs shared earleir, what is the IMC release you are runing under ver7.3, may be you can try to upgade to latest relese and check, if still same issue, you may log a suppot ticket.

Thank You!
I am an HPE Employee

Accept or Kudo