Script Alarm Test
Back
Tip: The alarm script needs to be configured in the server configuration file. After the configuration is completed, it will take effect after restarting the server
Alarm script
(If a script is configured, it will be executed regardless of whether email alerts have been configured or not)
warnScript:
Alarm recovery script
(If the script is configured, this script will only send recovery messages, and the above alarm script will only send alarm messages. If this option is not configured, both alarm and recovery messages will be sent by the above alarm script.)
recoverScript:
Input test information content
Tip: If the message is sent success but no message is received, it means that the system has success called the alarm script, which may be due to other logical errors in the script. We can first output the alarm message to a test log file within the script, and then debug step by step.