Status code in the results of the "/hubs/{domain}/{hubname}/robots" API call
search cancel

Status code in the results of the "/hubs/{domain}/{hubname}/robots" API call

book

Article ID: 382348

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

What does the status code in the results of the "/hubs/{domain}/{hubname}/robots" API call mean?

<robotlist>
  <robot>
    <name>ROBOTNAME</name>
    <address>NIMADDRESS</address>
    <ip>IPADDRESS</ip>
    <version>23.4.2 [Build 23.4.2.1441, Aug  9 2024]</version>
    <status>0</status>
    <probes>
...

Environment

UIM 20.4.x and 23.4.x

Resolution

This value is pulled directly from the database CM_NIMBUS_ROBOT table.

This field is populated using the following values:

STATUS_UP = 0;
STATUS_UNKNOWN = 1;
STATUS_DOWN = 2;
STATUS_MAINTENANCE = 4;