Go to the source code of this file.
Defines | |
| #define | ALERT_FROM "monit@$HOST" |
| Default mail from string. More... | |
| #define | ALERT_SUBJECT "monit alert -- $PROGRAM $EVENT" |
| Default mail subject. More... | |
| #define | ALERT_MESSAGE |
| Default mail message. More... | |
Functions | |
| void | smtp_alert_timeout (Process_T, char *,...) |
| Send an alert timeout message to the email address for this process. More... | |
| void | smtp_alert_restart (Process_T, char *,...) |
| Send an alert restart message to the email address for this process. More... | |
| void | smtp_alert_checksum (Process_T, char *,...) |
| Send an alert checksum message to the email address for this process. More... | |
| void | smtp_alert_resource (Process_T, char *,...) |
| Send an alert resource message to the email address for this process. More... | |
| void | smtp_alert_stop (Process_T, char *,...) |
| Send an alert stop message to the email address for this process. More... | |
|
|
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 98 of file alert.c. References DO_CHECKSUM. |
|
||||||||||||||||
|
Send an alert resource message to the email address for this process.
Definition at line 130 of file alert.c. References DO_RESOURCE. |
|
||||||||||||||||
|
Send an alert restart message to the email address for this process.
Definition at line 114 of file alert.c. References DO_RESTART. |
|
||||||||||||||||
|
Send an alert stop message to the email address for this process.
Definition at line 146 of file alert.c. References DO_STOP. |
|
||||||||||||||||
|
Send an alert timeout message to the email address for this process.
Definition at line 80 of file alert.c. References DO_TIMEOUT. |