"3" Zabbix Add media Types, User Group, Actions, Alert

Source: Internet
Author: User

To define media:

Administration--media types--create Media types or Edit

Note: The SMTP email option box needs to write the domain name after the @, can not write IP, such as: [email protected] instead of [email protected]

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7F/80/wKioL1cg3NCC087cAABiWUvoxMk719.png "title=" 1.png " alt= "Wkiol1cg3ncc087caabiwuvoxmk719.png"/>

To add users and groups:

Administration--users--user groups--create User Group

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7F/82/wKiom1cg3FbiqrOkAACXSH8WGdg212.png "title=" 1.png " alt= "Wkiom1cg3fbiqrokaacxsh8wgdg212.png"/>

You can click Groups to add permissions to a group, and users in that group will also have the appropriate permissions

Administration--users--users---Create User


650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7F/82/wKiom1cg3IKSjJe7AABmQe0WJlk950.png "title=" 1.png " alt= "Wkiom1cg3iksjje7aabmqe0wjlk950.png"/>

Add a user's Media (administration--users--users--tom--media

Use if severity is the event level that the user cares about

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7F/80/wKioL1cg3XHjkrTvAAAsth4Y3Kw740.png "title=" 1.png " alt= "Wkiol1cg3xhjkrtvaaasth4y3kw740.png"/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7F/82/wKiom1cg3Lvw8jsdAAA5AFaMiVE922.png "title=" 1.png " alt= "Wkiom1cg3lvw8jsdaaa5afamive922.png"/>650) this.width=650; src= http://s2.51cto.com/wyfs02/M01/7F/80/ Wkiol1cg3cdwwrgiaacgh9eq2zu805.png "title=" 1.png "alt=" Wkiol1cg3cdwwrgiaacgh9eq2zu805.png "/>

To create an action:

Configuration--actions--create Action:

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7F/82/wKiom1cg3X6yea_OAAB6X8oPc4A625.png "style=" float: none; "title=" 1.png "alt=" Wkiom1cg3x6yea_oaab6x8opc4a625.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7F/80/wKioL1cg3kmQP-dcAABR1BI4ce4298.png "style=" float: none; "title=" 2.png "alt=" Wkiol1cg3kmqp-dcaabr1bi4ce4298.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7F/80/wKioL1cg3krTnq7LAAClUWLbPF8477.png "style=" float: none; "title=" 3.png "alt=" Wkiol1cg3krtnq7laacluwlbpf8477.png "/>

Do Alarm upgrade function:

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7F/82/wKiom1cg3dzys1J-AABINtfcgt8658.png "style=" float: none; "title=" 1.png "alt=" Wkiom1cg3dzys1j-aabintfcgt8658.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7F/82/wKiom1cg3dyi7DicAAByhtPVG4Q719.png "style=" float: none; "title=" 2.png "alt=" Wkiom1cg3dyi7dicaabyhtpvg4q719.png "/>

Here's how it works:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7F/82/wKiom1cg3jqhzoiPAABZYnvMIDs749.png "style=" float: none; "title=" 1.png "alt=" Wkiom1cg3jqhzoipaabzynvmids749.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7F/80/wKioL1cg3wnxzb0MAARWcECWEWY536.png "style=" float: none; "title=" 2.png "alt=" Wkiol1cg3wnxzb0maarwcecwewy536.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7F/82/wKiom1cg3kLQLK4WAAQ761l6Xd0596.png "style=" float: none; "title=" 3.png "alt=" Wkiom1cg3klqlk4waaq761l6xd0596.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7F/80/wKioL1cg3xLQpHXCAARjQVGVkIQ898.png "style=" float: none; "title=" 4.png "alt=" Wkiol1cg3xlqphxcaarjqvgvkiq898.png "/>


Zabbix Send e-mail (QQ Mail) to the external network:

[Email protected] ~]# mkdir-p/usr/local/zabbix/share/zabbix/alertscripts

[email protected] ~]# cat /usr/local/zabbix/share/zabbix/alertscripts/alertscripts.sh

#!/bin/bash

echo "$ $" | Mutt-s "$" "$"

[Email protected] ~]#

Note: The e-mail content, $ $ is the message header, $ $ e-mail address

Administration---Media Types---Create media Type

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7F/80/wKioL1cg31nRHbjPAAA9euv0pwA964.png "style=" float: none; "title=" 1.png "alt=" Wkiol1cg31nrhbjpaaa9euv0pwa964.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7F/82/wKiom1cg3o6QiqCCAABCNygQG0c555.png "style=" float: none; "title=" 2.png "alt=" Wkiom1cg3o6qiqccaabcnygqg0c555.png "/>

Administration---Users---Media---Edit

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7F/80/wKioL1cg332A_IzdAAAtvHtXOng395.png "style=" float: none; "title=" 1.png "alt=" Wkiol1cg332a_izdaaatvhtxong395.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7F/80/wKioL1cg333D-4RCAAAwMbHnnRE324.png "style=" float: none; "title=" 2.png "alt=" Wkiol1cg333d-4rcaaawmbhnnre324.png "/>

To edit the way messages are sent by action:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7F/82/wKiom1cg3uLR2XezAAA2HFX_e6g230.png "title=" 1.png " alt= "Wkiom1cg3ulr2xezaaa2hfx_e6g230.png"/>

Trigger Alarm:

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7F/82/wKiom1cg3xWjrYSWAAKqkAHC48s592.png "style=" float: none; "title=" 1.png "alt=" Wkiom1cg3xwjryswaakqkahc48s592.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7F/80/wKioL1cg3-GSLWUjAAFmDbV2iF4649.png "style=" float: none; "title=" 2.png "alt=" Wkiol1cg3-gslwujaafmdbv2if4649.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7F/82/wKiom1cg3xfjoh2BAAFgfme4pf0231.png "style=" float: none; "title=" 3.png "alt=" Wkiom1cg3xfjoh2baafgfme4pf0231.png "/>

Zabbix execute a remote command before sending an alert message

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7F/80/wKioL1cg4BWSRYWRAABYGYN_4Z0323.png "style=" float: none; "title=" 1.png "alt=" Wkiol1cg4bwsrywraabygyn_4z0323.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7F/82/wKiom1cg30vD0-KsAACtt_7bpKw591.png "style=" float: none; "title=" 2.png "alt=" Wkiom1cg30vd0-ksaactt_7bpkw591.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7F/82/wKiom1cg30vC4j_tAAAsyvlJYxE657.png "style=" float: none; "title=" 3.png "alt=" Wkiom1cg30vc4j_taaasyvljyxe657.png "/>

Zabbix All=nopasswd:allzabbix all=nopasswd:/etc/init.d/vsftpd restart

That's OK.

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7F/80/wKioL1cg4ELRvyYkAACPTEc8JLU386.png "style=" float: none; "title=" 1.png "alt=" Wkiol1cg4elrvyykaacptec8jlu386.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7F/80/wKioL1cg4EKRX0mOAAAeNfu3T_Q816.png "style=" float: none; "title=" 2.png "alt=" Wkiol1cg4ekrx0moaaaenfu3t_q816.png "/>


This article from "Pengcheng-soy sauce bottle" blog, declined reprint!

"3" Zabbix Add media Types, User Group, Actions, Alert

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.