" "[ok]"650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/06/A2/wKiom1m7aKuQGKh1AABKjb6MEK8325.jpg-wh_500x0-wm_ 3-wmp_4-s_2450779539.jpg "title=" 8.jpg "alt=" Wkiom1m7akuqgkh1aabkjb6mek8325.jpg-wh_50 "/>Explained below:
Prohibit firewall from booting can be used systemctl disable FIREWALLD This command is not a problem on CentOS 7,But in the homologous FedoraServer26 always can not succeed, so use more brutal systemctl mask firewalld Way, directly to the FIREWALLD directory,
First, add the hostOpen Zabbix of the Web InterfaceHttp://192.168.212.2/zabbix1 , Configuration---Hosts---createhost650) this.width=650; "title=" 1.png "style=" Float:none; "alt=" wkiom1wa_pjr1prraax4eitbfj8275.jpg "src=" http:/ S3.51cto.com/wyfs02/m01/6e/9d/wkiom1wa_pjr1prraax4eitbfj8275.jpg "/>Host name: This should be the agent configuration file definition of Hostname, we are 192.168.3.3. Visible Name: This is the display name,
previously saved a Zabbix mail script, this time in the use of a number of problems encountered, here to share with you. #!/usr/bin/envpython#-*-coding:utf-8-*-importsmtplibimportsysfrom Email.mime.textimportmimetextfromemail.headerimportheaderdefsend_mail (to_ email,subject,message):sender= ' [emailprotected] ' receiver=to_emailsubject= ' Pythonemailtest ' smtpserver= ' smtp.163.com ' username= ' XXXXX '
Zabbix powerful, have to mention. The planned use of its own calculate function to summarize the Host_group network card traffic, as follows:650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7F/11/wKiom1cR0qKTli4AAAA7i_AjmqQ309.png "title=" Qq20160416134950.png "alt=" Wkiom1cr0qktli4aaaa7i_ajmqq309.png "/>But the results of data acquisition and the actual difference is very large (not generally large, very outrageous), so only through the
Zabbix version: 2.2.5Development language: PerlSystem Environment: Redhat 6.7
I. Main realization function: 1. Email Alert Content Personalization2. The recipient displays multiple contacts at the same time3. Add alarm (1 hours) to the message
Two, the two places needing attention:1.zabbix_server.conf Open your own alarm script pathAlertscriptspath=/wls/zabbix/
Install the Zabbix and configure the zabbix-agent.Log in to your Zabbix Web pageSelect the configuration page, click on the Host page, click the hosting Web option, where the author uses the reverse proxy of his own test environment to centralize the monitoring of the web.In the top right corner, click Create Web ScenarioInput tags I am accustomed to use the URL
Tags: pytho share picture one Zabbix ubunt http exploit login monitoringEXP detects if there is a SQL injection vulnerability[Email protected]:~# python zabbix.py http://ip:9090/+------------------------------------------------------------+Python zabbixSuccess+------------------------------------------------------------+Zabbix SQL injection vulnerability exists!Administrator user name password: NoneAdminist
1. The python script gets the IP of the unreachable server:Determine if the host can be reached with a simple ping command. The script based on the python3.3.6,python2.x version of the queue module should be queue.#!/usr/bin/python#-*-coding:utf-8-*-from__future__importprint_ Functionimportreimportsubprocessimportthreadingfromqueueimportqueuefrom queueimportemptydefis_reachable (IP): "according to the retur
Script Author: Mars Xiao Liu web:www.huoxingxiaoliu.com email:[email protected]
Requires pure CENTOS6/7 system
Shutting down the firewall
Turn off SELinux
php>=5.6
Run "server-install.sh" to install Zabbix server sideSince zabbix3 requires more than php5.6, the script will remove the original PHP environment from the new installationMySQ
say.Refresh: When to update the value of the variable, the value of the variable is obtained by querying the data source, but the data source itself will change, so to update the value of the variable from time to time, so that changes in the data source will be displayed in the variable corresponding drop-down box. Refresh has three values to choose from, never: Never update. On Dashboard load: Updated when Dashboard is loaded. On time Range change: This hasn't figured out how to use it. Here,
]exceptexception,e: print "Usage:python%stype" %sys.argv[0] sys.exit (1) main (type)## test the script:[[email protected] python]# python check_mysql_custom.py processlist3[[email protected] python]# python check_mysql_ custom.py Connections55876## The test shows all the MySQL in Show Status can output information:## Write a template configuration file (custom Key value):[email protected] zabbix_agentd.d]#
Tags: mysq Web replicate interface netstat EMC MySQL stat BSP1. In the Zabbix client configuration file, add:First to provide MySQL with a query master-slave status account! (You can use root, of course.) )Userparameter=mysql.replicate_error,if test ' mysql-uxxx-pxxx-h127.0.0.1-e ' show slave status\g ' | Awk-f: ' {if ($1~/slave_io_running/) print$2} ' = "Yes"-a ' mysql-uxxx-pxxx-h127.0.0.1-e ' show Slave status\g ' | Awk-f: ' {if ($1~/slave_sql_runni
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.