Configure the cacti mail alarm. The postfix conflicts with sendmail.

Source: Internet
Author: User
Configure cacti mail alarm, postfix and sendmail conflict environment: centos6.2, cacti0.8.8.a, net-snmp5.51, get cacti mail alarm today, just started sendmail failed, always prompt: sendmaildeadbutsubsyslockedsm-client (pid... configure cacti mail alarm, postfix and sendmail conflict environment: centos6.2, cacti 0.8.8.a, net-snmp5.5 1, get cacti mail alarm today, just started sendmail failed, always prompt: "sendmail dead but subsys locked sm-client (pid 13588) is running... ", check its/var/log/maillog and prompt" postfix/smtpd [10859]: disconnect from localhost [12 7.0.0.1] "and port 25, netstat-tlnp | grep: 25tcp 0 0 127.0.0.1: 25 0.0.0.0: * LISTEN 11180/master tcp 0: 1: 25 ::: * After LISTEN 11180/master stop postfix or sendmail, use one of them, as if centos6.2 automatically installs and starts the postfix server, 2. configure the install thold-v0.4.9-3.tgz, plugin-monitor-v1.3-1.tgz plug-in, decompress the package to the cacti/plugins directory and enable the plug-in on the console. console --> seting ---> Mail/DNS -- Mail Services: SMTP is used. based on your choice, but in most cases, sendmail will cause an error + From Email Address huazi_91@139.comFrom Name problem alert SMTP Options all need to write their own post office, otherwise the smtp sending mechanism will release out SMTP Hostname to write their own, i'm huazi_91@139.comSMTP Port 25 SMTP Username huazi_91@139.comSMTP Password xxxx Console-> Cacti Settings-Thresholds options below these are the places where the idea is modified Base URL this will automatically find that you don't need to write Syslogging this hook to choose, otherwise, he won't send you an Email for Dead Hosts Notifications. you need to select Dead Host Notification Email. this is the Email that will be sent to the Host when the Host goes down. (the post office to be notified is written here. multiple people can use commas to separate them ). From Email Address: the sender of the Email writes From Name to problem alert 1. email sending alarm error Checking Configuration... creating Message Text... this is a test message generated from Cacti. this message was sent to test the configuration of your Mail Settings. your email settings are currently set as follows Method: SendmailSendmail Path:/usr/sbin/sendmail Sending Message... ERROR: DirectInject command output: 'recipient names must be specified 'Error: ''directinject command output: 'recipient names must be specified 'error: ''============================== in the setting --- mail/DNS option or alert option, change the sendmail sending mechanism to smtp 2. if a 553.3.8.2 authentication error occurs, enter the correct smtp information, such as the user name and password, and set the threshold value alarm.
 
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.