Skip to content

Commit

Permalink
update .sh
Browse files Browse the repository at this point in the history
  • Loading branch information
derek-bh committed Oct 28, 2016
1 parent 9972aae commit b0fe903
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions pang-apps-monitor-mysqlmariadb/pang.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
#!/usr/bin/env bash

JMX="-Djava.rmi.server.hostname=192.168.0.21"
JMX="$JMX -Djava.net.preferIPv4Stack=true"
JMX="$JMX -Dcom.sun.management.jmxremote.port=8123"
JMX="$JMX -Dcom.sun.management.jmxremote.rmi.port=8123"
JMX="$JMX -Dcom.sun.management.jmxremote=true"
JMX="$JMX -Dcom.sun.management.jmxremote.local.only=false"
JMX="$JMX -Dcom.sun.management.jmxremote.authenticate=false"
JMX="$JMX -Dcom.sun.management.jmxremote.ssl=false"

#To enable JMX
#nohup $JMX java -cp ./libs/*:./conf com.pangdata.apps.monitor.MysqlMariaDBMonitor > /dev/null 2>&1&

nohup java -cp ./libs/*:./conf com.pangdata.apps.monitor.MysqlMariaDBMonitor > /dev/null 2>&1&
nohup java -cp ./libs/*:./conf com.pangdata.apps.monitor.MysqlMariaDBMonitor > /dev/null 2>&1&

0 comments on commit b0fe903

Please sign in to comment.