Whether our website or the server, in the operation of peacekeeping management time must not be required to use the monitoring function. Although in the domestic and foreign various third-party service providers can see similar Aliyun monitoring, Baidu Cloud observation, 360 monitoring and so on Third-party monitoring
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 directly, convenient to distinguish between H
Preface:
Some third-party vendors in China are also using this service, such as dnspod url callback and monitoring treasure url callback!
Someone has opened up a script and monitored the url callback, which can be combined with the dnspod api. When the web of ip-A is dead, the dns record is switched to ip-B. Of course,
2015, should be the year of automation ... From Guangzhou to Changsha new company, in the new company has been in the automation of this aspect of things ... (Code automation updates, Rollback: LVS Automation management, offline log analysis, URL monitoring, etc...Because too busy, has not had the time to tidy up the code open source to share,, take advantage of today U
Today we are going to talk about the low level discovery this feature, why should we use Loe level discovery this function?Many times, when using Zabbix to monitor things, you need to add something like Itens, which has some common features,If you say that certain parameters are variables, and the other settings are the same, for example: A program has multiple ports, requires multi-port monitoring and configuration of itmes, as well as disk partition
URL Auto-Discovery script:[email protected] scripts]# cat urldiscovery.py#!/usr/bin/env python#Coding:utf-8ImportOSImportSYSImportJSON#This function mainly constructs a dictionary of a specific format for Zabbixdefweb_site_discovery (): Web_list=[] web_dict={"Data": None} with open ("/etc/zabbix/server_list","R") as F: forwr.inchf:dict={} dict["{#SERVICENAME}"]=Url.strip (). Split () [0] dict["{#SITENAME}"]=url.strip (). Split () [1] Web_list.append (
URL standardization, is seoer know and easy to understand a concept, but the author found that many people do not have a good application, including experienced seoer and companies can not understand the basis of this very thorough, especially when the medical industry to promote the monitoring of frequent problems.
Below I use a medical profession to do for several years of optimization station for exampl
A value of the monitoring URL is less than the specified value-mail alarm#!/usr/bin/env python#-*-coding:utf-8-*-__author__='Liudong'ImportUrllib,sys,urllib,json,smtplib fromEmail.mime.textImportmimetextmailto_list=['[email protected]']mail_host="smtp.exmail.qq.com"Mail_user="[email protected]"Mail_pass="abcABC123"Mail_postfix="researchina.cn"defSend_mail (to_list,sub,content): Me="Hello"+""+mail_user+"@"+m
= argv1# page address response=urllib2.urlopen (URL) # Call Urllib2 to send a GET request to the server returnresponse.read () # Gets the page information returned by the server Ret=http_get () retj=json.loads (ret) ifretj[' action ']NBSP;==NBSP; " None ": print0else:print1cat/usr/local/zabbix/ Etc/zabbix_agentd.conf.d[[emailprotected]zabbix_agentd.conf.d]#catwarn_status.conf userparameter=get_warn_name,/usr/local/zabbix/bin/warn_web.pyuserparameter=
In this article, let's take a look at how to use the Netking network to filter the URL address!
Click "Configure filter URL" To open the following image window, edit to filter the page domain name.
As shown in the Web page filter settings listed in the above filter URL 163.com and Sina.com, in the blacklist state to prohibit access to 163.com and Sina.com,
This section: Details thinkphp URL rules, url pseudo-static, url routing, url rewriting, url generation one, URL rules 1, default is case-sensitive , 2, if we do not want to be case-sensitive can be changed to config fil
nameInput: National Provincial City Company Department mailbox host name
3 Submit a certificate request file to the CA serverCA Server Configuration: 192.168.4.551 Audit Certificate Request file issue digital certificate file: Command store directory file name2 issued a digital certificate file to the Web server3 Configure the Web site service to load the private key file and the digital certificate file at run time and restart the Web site service on the site server.4 Verify the configur
PHP short URL Super simple code
System environment:
Php,apache2,linux
To generate the PHP short URL operation:
Copy the code to index.php in a two-level directory with only 1 characters (such as U) as the folder name.
To add write permissions for this directory, the diagram chmod 777 U (root directory also line, in order to avoid affecting other files may have to change the code)
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.