Skip to content

heartbeatMonitor.sh is can't specify network interface. #24

Description

@yusuke-baba

eth2 has been detected . But I want to use eth0.
heartbeatMonitor.sh is command option of "-Dkinetic.net.interface=eth0" not supported.

$ cat kinetic-java/bin/heartbeatMonitor.sh | tail -n1
exec "$JAVA" -classpath "$CLASSPATH" com.seagate.kinetic.example.heartbeat.rest.RestHeartbeatService "$@"
$ kinetic-java/bin/heartbeatMonitor.sh
CLASSPATH=/usr/lib/jvm/jre/lib/tools.jar:/opt/kinetic-java/kinetic-test/target/test-classes:/opt/kinetic-java/kinetic-test/target/kinetic-test-0.8.0.5-SNAPSHOT-jar-with-dependencies.jar:/opt/kinetic-java/kinetic-test/target/kinetic-test-0.8.0.5-SNAPSHOT.jar:/opt/kinetic-java/kinetic-test/target/smoke-tests.jar
Aug 07, 2015 1:13:55 AM com.seagate.kinetic.common.lib.NetUtil findMulticastNetworkInterface
INFO: found interface that supports multicast: eth2
Aug 07, 2015 1:13:55 AM com.seagate.kinetic.monitor.HeartbeatListener init
INFO: using network interface: eth2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions