Summary
Obtains the previous result of the execution of the monitor.
Syntax
local success, responseText, responseCode = Monitor.getLastResult()Parameters
none
Returns
success : A boolean value indicating the previous result of the monitor. responseText : A string containing the previous response text. responseCode : An integer value with the previous response code.
Description
Returns the values corresponding to the results of the previous execution of this monitor.
Examples
local success, responseText, responseCode = Monitor.getLastResult()
See Also
getAlarmState getName getUrl isEmailAlertEnabled isSmsAlertEnabled isTwitterAlertEnabled