Error 404 when adding a computer system to an existing maintenance schedule via API
search cancel

Error 404 when adding a computer system to an existing maintenance schedule via API

book

Article ID: 234237

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

 Adding a computer system to an existing maintenance schedule, via API method, with a HTTP 404 error "Requested Resource not found".

 

 

Environment

Release : 20.3.x/20.4.x

Component : uimapi, maintenance_mode

Cause

1) The values entered for the domain, hub, and robot parameters corresponded to the robot to be added to the maintenance schedule, but it should be the robot where the maintenance_mode probe is deployed.

2)The parameter values are case sensitive. 

3)Ensure the  machine in maintenance mode , is not in a different hub.

 

Resolution

Please note that these are the values you need to set in UIMAPI:

{domain} 

{hub}

{robot} 

Correspond to the robot where the maintenance probe is installed (e.g. the primary)

{schedule_id} the id of the scheduler

{csList}  ID of the device(s) to be added .

In the screenshot you provided you are not correctly selecting the robot with the maintenance_mode probe, and that is the reason for the error:

 

requested resource not found: /Domain_XXX/uimHub/Robot/maintenance_mode

 

The domain, hub, and robot parameters for all maintenance calls are those for wasp running on the UIM server