Adding resin monitoring in cacti

Source: Internet
Author: User
Tags snmp

#vim/etc/snmp/snmpd.conf

Add at the end of the snmpd.conf file

Proxy-v 2c-c public 192.168.x.x:1161.1.3.6.1.4.1.42

# CD $JAVA _home/jre/lib/management

#vim management.properties

Find #com.sun.management.snmp.port=<port-number>
Change into com.sun.management.snmp.port=1161

Find #com.sun.management.snmp.interface=0.0.0.0
Change into com.sun.management.snmp.interface=192.168.x.x

#cp snmp.acl.template Snmp.acl
#vim SNMP.ACL-----Configure the JVM to allow access through SNMP

Found it
# ACL = {
#  {
# communities = public, private
# access = Read-only
# managers = localhost
#  }
# }
#
#
# trap = {
#   {
# trap-community = Public
# hosts = localhost
#   }
# }
Remove all #,localhost changes to native IP

#chmod management.properties Snmp.acl

# Vim/usr/local/resin/conf/resin.xml

Add it to <thread-max>10240</thread-max> below:

<jvm-arg>-Dcom.sun.management.jmxremote</jvm-arg>

<jvm-arg>-Dcom.sun.management.jmxremote.port=51517</jvm-arg>

<jvm-arg>-Dcom.sun.management.jmxremote.ssl=false</jvm-arg>

<jvm-arg>-Dcom.sun.management.jmxremote.authenticate=false</jvm-arg>

<jvm-arg>-Dcom.sun.management.snmp.port=1161</jvm-arg>

#service snmpd Restart

#/usr/local/resin/bin/resin.sh Stop-server Youyuan

#/usr/local/resin/bin/resin.sh Start-server Youyuan

Adding resin monitoring in cacti

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.