following will be an error!! Hellomsmtp:the server did not accept the Mailmsmtp:seRVer message:554 dt:spm 163 Smtp4,dtgowaaneru7+exxz+8haq--. 9856s2 1464662088,please See Http://mail.163.com/help/help _spam_16.htm?ip=123.57.36.227hostid=smtp4time=1464662088msmtp:could not send mail (account default from/ USR/LOCAL/MSMTP/ETC/MSMTPRC) [[emailprotected] msmtp-1.4.30]#/usr/local/msmtp/bin/msmtp [email protected]kkkkkkkkkkkkk^[, but there's nothing in the mailbox. Cat/var/log/mmlogmay 10:47:00 host=
] =~/error/{File {Path = "/diskb/bi_error_log/bi_error.log"}}elasticsearch{hosts = ["10.130.2.53:9200", "10.130.2.46:9200", "10.130.2.54:9200"]flush_size=>50000Workers = 5Index=> "Logstash-bi-tomcat-log"}}
By starting this conf file, you can import all the data into ES, can be displayed by Kibana, the specific display will not repeat, and at the same time the error log is imported into a text for the mail sending system to use. This is over.Attached: Send mail script
#!
"After adding the news in the home site in the news show does not come out?" "," Please ask the homepage of the station in the news (the latest article) in the background which position management, "How to let the published article into the home site news" and so on and so on, often in the forum to see some friends in the inquiry.This ecshop tutorial explains the solutions to the above problems:Enter Ecshop backstage "article management" article list add a new article, enter the article title, a
zabbix environment installed, with the shell to write a mail script test is no problem, that is, do not send e-mail, and later wrote a Python mail replacement, you can normally send mail, I don't know if Zabbix doesn't support shell or other problems! #!/usr/bin/pythonimportsmtplibimportstringimportsyshost= "Smtp.163.com" SUBJECT =sys.argv[2]TO=sys.argv[1]FROM= "[emailprotected]" text= Sys.argv[3]body=string.join ( "from:%s" %from, "to:%s" %TO, "subject:%s" %SUBJECT, "",text ), "\ r \ n") ser
"alt=" Wkiol1dwksask9ppaajva_4vyt4855.jpg-wh_50 "/>The code is as follows:#!/usr/bin/python#encoding:utf-8#-*-coding:utf8-*-import Smtplibimportstringimportsysdefusage (): print ("" " Function:sendemailtosomebodyusingsmtpprotocol usage:noparameters:python %swithparameters:python%sTag:python Mail Alarm, Zabbix mail alarm script, python send mail--end--This article is from "Communication, My Favorites" blog, please make sure to keep this source http://dgd2010.blog.51cto.com/1539422/1786821Python
defined services alarm parameters:Service_notification_options W,u,c,r,f,s, indicating that monitoring is back to normal will also trigger the message and then put index.html back into the site DirectoryMv/tmp/index.html/var/www/htmlA little over a few minutes to find the monitor normal, view Nagios log650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/86/83/wKioL1fBm8-x3OhLAACVPTVsSW0641.jpg "title=" Alarm logging. jpg "alt=" wkiol1fbm8-x3ohlaacvptvssw0641.jpg "/>Check the message agai
The general process for Zabbix email alerts is as follows:
Monitoring host----"monitoring----" trigger----"alarm action----" police-type----"Alarm users
First add a Monitor item
1, select the host to add the monitor item
2, click on the top right corner of the Create item to add and configure monitoring items
The key value mentioned above, here to explain the following:
Example:
/USR/LOCAL/ZABBIX/BIN/ZABBIX_GET-S192.168.4.10-KPROC.NUM[HTTPD
As a shared product of ideas and content, SharePoint does not unexpectedly become one of the most useful products, think of the usual in the company to be notified and understand the content of the notice is a very common thing, that let this ordinary things into SharePoint can be done by the following operation.
Why did you do that?
By default, SharePoint Server 2013 does not display separate notifications in product positioning.
Figure 1 add with notification by adding an application
F
=N'the database is blocked, please log in to the server to view',--Message Content @body_format = 'HTML'--Message Format End if @sendtype=2 begin --send a message that contains a query EXECmsdb: Sp_send_dbmail@profile_name = 'sendmailby126', @recipients = '[email protected]; [Email protected]', @subject =
The recent use of a partition on the line was too fast, and Nagios did not turn on the monitoring of partition usage, taking a few minutes to temporarily write a script to use first. The usage is relatively simple, directly on the code:Note: The SendEmail script used in the code is an e-mail program developed by Perl that can be found online or using other email scripts#!/bin/bash#--dir:monitoringofthemountpoint#--critical:criticalvalue#--warning: warningvalue#--ip[$#-eq0]{ echo "$0[--dirpath--c
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.