F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Vinoth_96603's avatar
Vinoth_96603
Icon for Nimbostratus rankNimbostratus
Mar 16, 2010

How do identify whether a server is up or down?

Is there any specific iControl API to determine whether the server is up or down (means the server is in running state or shutdown)?

1 Reply

  • To be precise, I'm able to get the objects status and enabled status using the below code. Likewise, is it possible to get status of object whether its running (up) or shutdown (down)?

     

     

    Interfaces inter = box.getInterface(ipaddress, username, password);

     

    CommonEnabledState[] stat = inter.getGlobalLBWideIP().get_enabled_state(wideip);

     

    CommonObjectStatus[] obstatus = inter.getGlobalLBWideIP().get_object_status(wideip);