Before Benpian file write, please allow me to Tucao about: what to write online are the people, ah, do not copy paste articles to stick to go, they have not verified ah - What are the age, but also use the configuration script (still in use sendmail or postfix) to send a message; I just want to say: little brother, you tired ah
This article is mainly on monitor_http_port_80 monitoring item set alarm messages on the article, the main idea is: 1, add the trigger; 2, add the action; 3, setting the sender; 4, setting the recipient; 5, the last verification;
First, add triggers:
1, the trigger is added on node1: Step: Configuration ---> Host ---> triggers, FIG follows:
2, open the window, click on the upper right corner to create a trigger, as shown below:
3, the specific fill as shown below:
Click Add or update (I am here mainly to experiments that have been added over time), the following interface:
Second, add action:
1, by default, the operation is disabled, clicking - enable particular operation path follows:
2. After entering, please click the button:
3, there is only sent to the operation, the other to keep the default bar (I can watch, slowly toss):
Third, set the e-mail sender:
1, specifically into the button below:
The FIG., As follows:
Fourth, set up a mail recipient:
FIG enter the following interface:
V. Validation:
1, close the httpd server on node1, after receiving the message, and then start; my mailbox receive the following message:
Well, first this way, as the micro-channel alarm - free and then toss