The Lua script loaded by alert reporting daemon. This script can be used to define helper functions that can then be called from the alert conditions.
If loading this script takes longer than 15 seconds or evaluating any custom alert condition takes longer than 60 seconds, an alert is raised.
{- "result": "print(\"this is the alert script\");",
- "error": "Error message (present if an error occurred)."
}
The Lua script loaded by alert reporting daemon. This script can be used to define helper functions that can then be called from the alert conditions.
If loading this script takes longer than 15 seconds or evaluating any custom alert condition takes longer than 60 seconds, an alert is raised.
Normal response.
Unauthorized response.
"print(\"this is the alert script\");"
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
The Lua script loaded by alert reporting daemon. This script can be used to define helper functions that can then be called from the alert conditions.
If loading this script takes longer than 15 seconds or evaluating any custom alert condition takes longer than 60 seconds, an alert is raised.
Normal response.
Unauthorized response.
"print(\"this is the alert script\");"
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
Reset to empty string.
Normal response.
Unauthorized response.
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}