Zabbix 3.0 Monitoring Web [VII]

Source: Internet
Author: User

Zabbix 3.0 Monitoring Web [seven]zabbix 3.0 monitoring web [VII]

2016年10月0日
zabbix
Author qq:381493251
Blog Address: www.abcdocker.com
Public Number: Abcdocker
Abcdocker AC Group: 454666672
If you encounter any problems can go to the group inquiry, we are a willing to help the collective!

  Zabbix default comes with a web monitor
We can Monitoring--->Web view them from
According to the previous article, we have opened a tomcat port of 8080 on the 192.168.56.12. If no small partner can read [Zabbix 3.0 production case [IV]]

First, check

First we need to check 192.168.56.12 if there is tomcat , whether it can run. can access

1. View Process [[email protected] ~]# ps -ef|grep javaroot        8048  25468  0 10:31 pts/0    00:00:00 grep  --color=auto javaroot      42757      1   0 sep26 pts/0    00:38:59 /usr/bin/java - Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties -djava.util.logging.manager= org.apache.juli.classloaderlogmanager -djdk.tls.ephemeraldhkeysize=2048 - dcom.sun.management.jmxremote -dcom.sun.management.jmxremote.port=8888 - dcom.sun.management.jmxremote.ssl=false -dcom.sun.management.jmxremote.authenticate=false - djava.rmi.server.hostname=192.168.56.12 -classpath /usr/local/tomcat/bin/bootstrap.jar:/usr/local/ Tomcat/bin/tomcat-juli.jar -dcatalina.base=/usr/local/tomcat -dcatalina.home=/usr/local/tomcaT -djava.io.tmpdir=/usr/local/tomcat/temp org.apache.catalina.startup.bootstrap start2. viewing ports [[ email protected] ~]# lsof -i:8080command   pid user    fd   type device size/off node namejava    42757  Root   48u  ipv6 379379      0t0  tcp  *:webcache  (LISTEN) 3. Test to see if 8080 ports can be accessed [[email protected] ~]# curl  -i  192.168.56.11:8080http/1.1 200 okserver: nginx/1.10.1date: mon, 10 oct 2016  05:08:18 gmtcontent-type: text/htmlcontent-length: 612last-modified: mon, 19  Sep 2016 01:59:49 GMTConnection: keep-aliveETag:  "57df4695-264" Accept-ranges:  bytes
second, Zabbix Web interface configuration

650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/xbxipyrxiqyojw28gcxzvjw2/1.png "alt=" 1.png-178.7kb "Title=" "/>
tip: The monitoring web is not dependent on the agent, it is the server that sends the request directly

650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/tfbrmjn7tcveiw7iwxzi7uyh/2.png "alt=" 2.png-105.8kb "Title=" "/>
650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/b6fngxwg2zi3ngennc9xqmgh/3.png "alt=" 3.png-31kb " Title= ""/>
Tip: Here is the name of the web scene, because we can set the trigger above 3 options before the alarm

650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/hhqe20laj9w1abdtsnce4k8d/1%20%281%29.png "alt=" 1 (1 ). png-73.9kb "title=" "/>
650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/t6jl1iv45kr0ziienq747u45/2%20%281%29.png "alt=" 2 (1 ). png-105.6kb "title=" "/>
hint: string inside can add some string, when request down has this string is normal, not is not normal. But the most common is the state
650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/ys9uusverw9vbhh3kjlsmju3/3%20%281%29.png "alt=" 3 (1 ). png-49.7kb "title=" "/>
Then we choose Add
650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/bzpuar7z7gq8jwxdyikcazwt/4.png "alt=" 4.png-141.9kb "Title=" "/>
  the point of comparison pits is that we have added a new web monitor. Zabbix default does not give us the install trigger
  
650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/32w7syvu90f3ch4sb8c7nr9t/1.png "alt=" 1.png-240.8kb "Title=" "/>

third, trigger add

650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/haecw689lx90tzmqprq6dtpz/2.png "alt=" 2.png-164.3kb "Title=" "/>
Web monitoring does not contain triggers by default, so you need to add them manually
In the top right corner of the point, create 触发器
650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/f5bg97iv48k6sqfqejwf1dxp/0.1.png "alt=" 0.1. PNG-96.1KB "title=" "/>
650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/6wtimy2zy1z2tja9u47dbj41/1.png "alt=" 1.png-53.9kb " Title= ""/>
650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/h3rq0405h8z3ju76eyur96sk/2.png "alt=" 2.png-254.9kb "Title=" "/>

four, trigger alarm test

1, to stop Tomcat, to return the value is not 200 to stop Tomcat is the simplest

[Email protected] ~]#/usr/local/tomcat/bin/shutdown.sh Using catalina_base:/usr/local/tomcatusing catalina_home:/u Sr/local/tomcatusing catalina_tmpdir:/usr/local/tomcat/tempusing jre_home:/usrusing CLASSPATH:/usr/local/t Omcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar check [[email protected] ~]# PS aux|grep tomcatroot 8723 0 .0 0.0 112648 976 pts/1 r+ 12:21 0:00 grep--color=auto Tomcat

The alarm is as follows:
650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/kibkxqw7dp67dp35pgig9pxi/1.png "alt=" 1.png-229.3kb "Title=" "/>

650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/i0manttqupdsqpa88qi295a7/1.png "alt=" 1.png-78.1kb " Title= ""/>

650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/h1jl97rkwga119qiropa2tfn/2.png "alt=" 2.png-73.7kb " Title= ""/>
reply as above
Mail alarm settings can be accessed Zabbix 3.0 production case [V]
We can also optimize the action [Actions]
650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/2hc13swxr6mhsaa56ax7a36c/111.png "alt=" 111. PNG-70.4KB "title=" "/>

  Zabbix is a universal everything can be monitored, as long as we have key. Everything can be monitored.
Key we can use scripts, programs, etc.

650) this.width=650; "src=" Http://static.zybuluo.com/abcdocker/pbf5vwbzyzoe1rfij50q99yi/weixin.gif "alt=" weixin.gif-425.6kb "title=" "/>

This article is from the "Abcdocker" blog, make sure to keep this source http://abcdocker.blog.51cto.com/11255059/1861665

Zabbix 3.0 Monitoring Web [VII]

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.