DX Infrastructure Management

Expand all | Collapse all

How to get the current state of the device?

  • 1.  How to get the current state of the device?

    Posted 07-31-2017 08:03 AM

    Hi,

     

    Is there API call to get the Current State(Power on/off) of the device(Virtual Machince/network device) ? If yes, can anyone share the Call URL? i tried to find, but i couldn't get it.

     

    Thanks



  • 2.  Re: How to get the current state of the device?

    Posted 07-31-2017 09:48 AM

    Hi!

    I don't know if is possible to get the status from a Device. Well, if it does not have a robot, how the UIM can get this kindle of information? This is a interesting question...

     

    Anyway, for robots, I think you can use this call: http://{ip_ump}/rest/hubs/{domain}/{hub}/{robot}

    And then you can see the value of the <status> tag.

    Doc.: UIM Infrastructure Calls - CA Unified Infrastructure Management Probes - CA Technologies Documentation 

     

    Robot status descriptions: Robot Status descriptions 

     

    "0" (zero) = "Online/OK"

    "1" (one) = "Maintenance"

    "2" (two) or "3" (tree) = "Offline/Error"

    "4" (four) = "Intermediate"

     

    PS.: Sorry for my poor English.



  • 3.  Re: How to get the current state of the device?

    Posted 07-31-2017 12:29 PM

    Thanks Adriano, will check & get back to you.



  • 4.  Re: How to get the current state of the device?

    Posted 08-11-2017 06:45 AM

    Hi Tajesh,

    Did Adriano's response help?

    If there are further comments, pls let us know, else could you mark the question as answered 

     

    thx



  • 5.  Re: How to get the current state of the device?

    Posted 08-11-2017 08:34 AM

    If robot i down,somehow, but the server is up and running then?



  • 6.  Re: How to get the current state of the device?

    Posted 08-14-2017 10:54 AM

    I think that its not possible by API call from UIM. But you can create some two step validation, maybe with a "ping" on server or some like that..