GetMachineUptime
Returns an array of machine uptime statistics for a submitted AgentGuid or MachineGroup or all machines when ReturnAllRecords is set to true. rptDate sets the starting sample date of the calculation to current.
All outputs are subjected to security filtering, including the agentGuid singleton and MachineGroup sub grouping. So if you submit an agentGuid or MachineGroup you do not have permissions to view, you will get nothing back.
Multiple records of the following field are returned, if applicable.
agentGuid
|
decimal
|
A unique identifier for a machine ID.group ID account and its corresponding agent.
|
machineName
|
string
|
Full machine name. Everything to the left of the left-most decimal point is the machine name.
|
totalOnline
|
int
|
Total seconds system was online across the measurement time.
|
measureTime
|
int
|
Total seconds system was measured (latest - oldest - suspend alarm times).
|
latestStatDate
|
dateTime
|
Latest time the system was measured, usually the last agent log entry for an offline system.
|
olderStatDate
|
dateTime
|
Earliest time system was measured.
|
A single record of the following fields is returned.
Method
|
string
|
The operation that requested this response.
|
TransactionID
|
decimal
|
The unique message ID for this message.
|
ErrorMessage
|
string
|
If blank, no error was returned.
|
ErrorLocation
|
string
|
If blank, no error was returned.
|
|