Go to the source code of this file.
Defines | |
#define | ALERT_FROM "monit@$HOST" |
Default mail from string. | |
#define | ALERT_SUBJECT "monit alert -- $PROGRAM $EVENT" |
Default mail subject. | |
#define | ALERT_MESSAGE |
Default mail message. | |
Functions | |
void | smtp_alert_timeout (Process_T, char *,...) |
Send an alert timeout message to the email address for this process. | |
void | smtp_alert_restart (Process_T, char *,...) |
Send an alert restart message to the email address for this process. | |
void | smtp_alert_checksum (Process_T, char *,...) |
Send an alert checksum message to the email address for this process. | |
void | smtp_alert_resource (Process_T, char *,...) |
Send an alert resource message to the email address for this process. | |
void | smtp_alert_stop (Process_T, char *,...) |
Send an alert stop message to the email address for this process. | |
void | smtp_alert_failed (Process_T, char *,...) |
Send an alert failed message to the email address for this process. | |
void | smtp_alert_timestamp (Process_T, char *,...) |
Send an alert timestamp message to the email address for this process. |
|
Default mail from string.
|
|
Value: "Program $PROGRAM $EVENT\r\n\r\n\tDate: $DATE\r\n"\ "\tHost: $HOST\r\n\r\nYour faithful employee,\r\nmonit\r\n"
|
|
Default mail subject.
|
|
Send an alert checksum message to the email address for this process.
Definition at line 104 of file alert.c. References ASSERT, and DO_CHECKSUM. |
|
Send an alert failed message to the email address for this process.
|
|
Send an alert resource message to the email address for this process.
Definition at line 140 of file alert.c. References ASSERT, and DO_RESOURCE. |
|
Send an alert restart message to the email address for this process.
Definition at line 122 of file alert.c. References ASSERT, and DO_RESTART. |
|
Send an alert stop message to the email address for this process.
|
|
Send an alert timeout message to the email address for this process.
Definition at line 84 of file alert.c. References ASSERT, and DO_TIMEOUT. |
|
Send an alert timestamp message to the email address for this process.
Definition at line 194 of file alert.c. References ASSERT, and DO_TIMESTAMP. |