Linux monitoring and Security Operations 2.0 Zabbix Configuring message Alarms

Source: Internet
Author: User

1. Send mail to start postfix

/etc/init.d/postfix start
" Test " 836503270@qq. com </etc/inittab
MAILQ View Send Results

2. Configure Outgoing mail files

Mkdir-p/home/zabbix/bin
vim/home/zabbix/bin/baojing.sh
#! /bin/ "$" "$1 "
chmod +x/home/zabbix/bin/baojing.sh

Modify the Zabbix server configuration file

Vim/etc/zabbix/zabbix_server.conf
alertscriptspath=/var/lib/zabbixsrv/alertscripts  changed to Alertscriptspath=/home/zabbix/  Binexternalscripts=/var/lib/zabbixsrv/externalscripts  change to externalscripts=/home/ Zabbix/bin

3.web

Administration -Media types-create Media type

Description baojingType scriptscript name baojing.sh

Save

4. Create a user

Administration-users-user-create User

Alias Test1

Name Denny

Surname Admin

passwd Admin

PADDWD Admin

Groups Zabbix Administrators

Media-add

Type baojing

Send to [email protected]

Add

Save

5.

Configuration- Actions -Create action

Name Baojing

Operations-new

Send to Users-add-test1-select

Send to User Groups-add-zabbix administrators
Send only To-baojing

Operation Details-add

Save

Linux monitoring and Security Operations 2.0 Zabbix Configuring message Alarms

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.