Zabbix Monitoring SOLR

Source: Internet
Author: User
Tags solr

Version: centos6.4 jdk1.8 solr5.5.3 zabbix3.2.1


SOLR Installation:

1, unpack the package: TAR-ZXVF solr-5.5.3.tgz2, turn on remote_jmxvim/usr/local/solr-5.5.3/bin/solr.in.shenable_remote_jmx_opts= "true" rmi_port=86803, start Solr ln-s/usr/local/solr-5.5.3/bin/solr/usr/bin/solr solr start 4. See if it starts properly lsof-i:8983


650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/8B/97/wKioL1hSRZDww_Y1AACSB8xZnFw422.png-wh_500x0-wm_3 -wmp_4-s_3418883706.png "title=" Solr5.png "alt=" Wkiol1hsrzdww_y1aacsb8xznfw422.png-wh_50 "/>

CD Zabbix-3.2.1./configure-enable-java--prefix=/opt/zabbix_java

Open Zabbix_java_gateway

zabbix3.2.1 version By default comes with zabbix_java_gateway! only need to remove comments in zabbix_server.conf to javagateway=192.168.47.128 # Better not use 127.0.0.1javagatewayport=10052startjavapollers=5 and restart the zabbix_server!. See if the port is working: lsof-i:10052

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/8B/97/wKioL1hSRdeAWsT1AAAYAyEAhBU727.png-wh_500x0-wm_3 -wmp_4-s_833133173.png "title=" 10052.png "alt=" Wkiol1hsrdeawst1aaayayeahbu727.png-wh_50 "/>


See if you can get a value on Zabbix_server by Cmdline-jmxclient-0.10.3.jar

java -jar cmdline-jmxclient-0.10.3.jar - 192.168.47.128:8680 obtained: java.lang:type= Operatingsystemjava.lang:name=metaspace manager,type=memorymanagerjava.lang:name=metaspace,type= Memorypooljmimplementation:type=mbeanserverdelegatejava.lang:name=parnew,type=garbagecollectorjava.lang:type= Classloadingjava.lang:type=runtimejava.lang:name=par eden space,type=memorypooljava.lang:name= Concurrentmarksweep,type=garbagecollectorcom.sun.management:type=hotspotdiagnosticjava.lang:type= Threadingjava.lang:name=codecachemanager,type=memorymanagerjava.nio:name=mapped,type=bufferpooljava.lang:name= Code cache,type=memorypooljava.lang:name=compressed class space,type=memorypooljava.nio:name= Direct,type=bufferpooljava.lang:name=par survivor space,type=memorypooljava.util.logging:type= Loggingcom.sun.management:type=diagnosticcommandjava.lang:type=memoryjava.lang:name=cms old gen,type =memorypooljava.lang:type=compilation

###################################################################################

Java -jar cmdline-jmxclient-0.10.3.jar - 192.168.47.128:8680 java.lang:type= operatingsystemattributes: openfiledescriptorcount: openfiledescriptorcount  (Type=long)   maxfiledescriptorcount: maxfiledescriptorcount  (Type=long)  CommittedVirtualMemorySize:  committedvirtualmemorysize  (Type=long)  TotalSwapSpaceSize: TotalSwapSpaceSize  (Type=long)  FreeSwapSpaceSize: FreeSwapSpaceSize  (Type=long)  processcputime: processcputime   (Type=long)  FreePhysicalMemorySize: FreePhysicalMemorySize  (Type=long)   totalphysicalmemorysize: totalphysicalmemorysize  (Type=long)  systemcpuload: systemcpuload   (type=double)  ProcessCpuLoad: ProcessCpuLoad  (type=double)  availableprocessors:  AvailableProcessors  (Type=int)  Arch: Arch  (type=java.lang.string)  version:  Version  (type=java.lang.string)  systemloadaverage: systemloadaverage  (type=double)  Name: Name  (type=java.lang.string)   objectname: objectname  (Type=javax.management.objectname)


#########################################################################

Java-jar cmdline-jmxclient-0.10.3.jar-192.168.47.128:8680 Java.lang:type=operatingsystem openfiledescriptorcount12/14/2016 23:10:27-0800 org.archive.jmx.Client openfiledescriptorcount:102



Zabbix Adding a host

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/8B/9B/wKiom1hSQ4PiqK3AAABzLBNhzdA836.png "title=" Server.png "alt=" Wkiom1hsq4piqk3aaabzlbnhzda836.png "/>


Add a SOLR template

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/8B/97/wKioL1hSQ57DDAAkAABTj_4Zn60848.png-wh_500x0-wm_3 -wmp_4-s_2319131217.png "style=" Float:none; "title=" Solr1.png "alt=" wkiol1hsq57ddaakaabtj_4zn60848.png-wh_50 "/ >

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/8B/9B/wKiom1hSQ5_iAlwYAABXDpgIvUA768.png-wh_500x0-wm_3 -wmp_4-s_1179998762.png "style=" Float:none; "title=" Solr2.png "alt=" wkiom1hsq5_ialwyaabxdpgivua768.png-wh_50 "/ >

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/8B/97/wKioL1hSQ5_TQABDAABMA8-g8KM310.png-wh_500x0-wm_3 -wmp_4-s_1959749104.png "style=" Float:none; "title=" Solr3.png "alt=" wkiol1hsq5_tqabdaabma8-g8km310.png-wh_50 "/ >


The last successful plot:

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/8B/9B/wKiom1hSQ-bxhcrcAABjHUZDOOg307.png-wh_500x0-wm_3 -wmp_4-s_984090036.png "title=" Solr4.png "alt=" Wkiom1hsq-bxhcrcaabjhuzdoog307.png-wh_50 "/>

Zabbix Monitoring SOLR

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.