This topic details the Script Service metrics.

Each instance of a Script service provides the following metrics:

  • Availability - Uses process exit code:

    • 0 = OK

    • 1 = Warning

    • 2 = Critical

    • 3 = Unknown

    • 4 = Paused

  • Execution Time - Milliseconds it took to execute the script.

  • Result Value - - If the script returns results, the first result in the output stream, for example: "Number of Transactions: 234"