Dashboard > Pulse v1.2 > ... > Remote API Functions > RemoteApi.getAgentStatus
  Pulse v1.2 Log In | Sign Up   View a printable version of the current page.  
  RemoteApi.getAgentStatus
Added by Jason Sankey, last edited by Jason Sankey on Jun 17, 2007
Labels: 
(None)

Pulse Manual Index

Synopsis

boolean getAgentStatus(string token, string agentName)

Parameters

Parameter Type Description
token string Credentials, see RemoteApi.login.
agentName string The name of the agent to query.

Returns

The current status of the agent, which will be one of:

  • disabled
  • offline
  • version mismatch
  • token mismatch
  • invalid master
  • building
  • idle

Description

Returns the current status of the named agent. The agent will not be directly queried when this function is called, rather the status of the last automatic ping will be returned.

Access

Accessible to users with server administration privileges.

Zutubi wiki is Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006) - Bug/feature request - Contact Administrators