HomeService Info paneModule de service WebAuto Pause Service
Simon > Fenêtre de Surveillance > Services mode > Service Info pane Index

Service Variables

This is the list of variables. Variables are markers in the text that are replaced by another value when a filter, notifier or service is used. The variable name should not contain any spaces, and should be enclosed by braces, e.g. {TestChangeText}. They are used by the Script service plug-in, and will be available for relevant future plug-ins too.

Variable: Outputs:
AppDataPath Full path to Simon's data folder (useful for scripts).
AppLanguage Language currently used by Simon, based on the the available localizations.
AppName Name of the application, i.e. Simon.
AppRelease Release number of the Simon version being used.
AppURL URL of the Simon product page.
AppVersion Version number of the Simon release being used.
CheckDate Date that the test was checked, in the form YYYY-MM-DD.
CheckDateShort Date that the test was checked, in the form YYYYMMDD.
CheckTime Time that the test was checked, in the form HH:MM:SS.
CheckTimeShort Time that the test was checked, in the form HHMMSS.
ServiceName Name of the service for the test.
ServiceKind Name of the service plug-in.
TestChangeCount Number of times the test has changed; starts at 1 for a change, and increments for each subsequent consecutive change. Resets when a change occurs after a failure or no change.
TestChangeDifferenceWithHTML The difference between the previous time Simon saw the page and this time, via the filter feature; HTML tags are included.
TestChangeDifferenceWithoutHTML The difference between the previous time Simon saw the page and this time, via the filter feature; HTML tags are stripped out.
TestChangeText The output text from the service and any filters, used to detect changes.
TestComments Description of the test from the Summary page of the Test Info pane.
TestFailureCount Number of times the test has had errors; starts at 1 for a new failure, and increments for each subsequent consecutive error. Resets when the the next failure occurs after being in success.
TestLastChangeDate Date that the test most recently changed – today if a change just occurred.
TestLastChangeTime Time of day that the test most recently changed – now if a change just occurred.
TestLastCheckDate Date when the test was last checked.
TestLastCheckTime Time of day when the test was last checked.
TestLastError The previous error message that occurred.
TestLastEventDate Date when a change, failure, or recovery last occurred.
TestLastEventTime Time of day when a change, failure, or recovery last occurred.
TestLastFailureDate Date that the test most recently failed.
TestLastFailureTime Time of day that the test most recently failed.
TestLastRecoveryDate Date that the test last recovered from a failure.
TestLastRecoveryTime Time that the test last recovered from a failure.
TestLocation URL or other location for the test that is using this service.
TestName Name of the test that is using this service.
TestNextCheckDate Date when the test is next scheduled to be checked.
TestNextCheckTime Time of day when the test is next scheduled to be checked.
TestPassword Password entered at the bottom of the Service page of the Test Info pane.
TestPlugin Name of the service plug-in.
TestRecoveryCount Number of times a check succeeded after a failure; starts at 1 when first recovering, and increments for each subsequent successful check. Resets when the next recovery after a failure occurs.
TestService Name of the service for the test.
TestStatusExact Status of the test, including an indication of how long it has been in that state.
TestStatusPhrase Status of the test as a phrase, e.g. failed, recently recovered, etc.
TestStatusType Status of the test, e.g. Failure, Recovery, Change, Unchanged, etc.
TestURL URL or other location for the test that is using this service (the {TestLocation} variable is preferred).
TestUsername Username entered at the bottom of the Service page of the Test Info pane.
UserComputer Name of the computer running Simon, as entered in the System Preferences.
UserName Name of the person logged in on the computer running Simon.
VariablesCSV A comma-separated list of all other variable names. Potentially useful when debugging your scripts.

Copyright © Dejal Systems, LLC
Dernière mise à jour le 7 août 2015

HomeService Info paneModule de service WebAuto Pause Service