Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Radel committed Nov 7, 2013
0 parents commit ba0d786
Show file tree
Hide file tree
Showing 139 changed files with 7,370 additions and 0 deletions.
66 changes: 66 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="lib-jms/jms.jar"/>
<classpathentry kind="lib" path="lib-jms/tibjms.jar"/>
<classpathentry kind="lib" path="lib-tibco/jms.jar"/>
<classpathentry kind="lib" path="lib-tibco/slf4j-api-1.4.2.jar"/>
<classpathentry kind="lib" path="lib-tibco/slf4j-simple-1.4.2.jar"/>
<classpathentry kind="lib" path="lib-tibco/tibcrypt.jar"/>
<classpathentry kind="lib" path="lib-tibco/tibemsd_sec.jar"/>
<classpathentry kind="lib" path="lib-tibco/tibjms.jar"/>
<classpathentry kind="lib" path="lib-tibco/tibjmsadmin.jar"/>
<classpathentry kind="lib" path="lib-tibco/tibjmsapps.jar"/>
<classpathentry kind="lib" path="lib-tibco/tibjmsufo.jar"/>
<classpathentry kind="lib" path="lib-tibco/tibrvjms.jar"/>
<classpathentry kind="lib" path="lib/mysql.jar"/>
<classpathentry kind="lib" path="lib/tools.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-antlr.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-apache-bcel.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-apache-bsf.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-apache-log4j.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-apache-oro.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-apache-regexp.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-apache-resolver.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-commons-logging.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-commons-net.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-jai.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-javamail.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-jdepend.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-jmf.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-jsch.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-junit.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-launcher.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-netrexx.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-nodeps.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-starteam.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-stylebook.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-swing.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-testutil.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-trax.jar"/>
<classpathentry kind="lib" path="lib/tp/ant-weblogic.jar"/>
<classpathentry kind="lib" path="lib/tp/ant.jar"/>
<classpathentry kind="lib" path="lib/tp/commons-codec-1.3.jar"/>
<classpathentry kind="lib" path="lib/tp/commons-fileupload-1.2.1.jar"/>
<classpathentry kind="lib" path="lib/tp/commons-httpclient-3.1.jar"/>
<classpathentry kind="lib" path="lib/tp/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="lib/tp/commons-logging-1.1.1.jar"/>
<classpathentry kind="lib" path="lib/tp/commons-logging-adapters-1.1.1.jar"/>
<classpathentry kind="lib" path="lib/tp/commons-logging-api-1.1.1.jar"/>
<classpathentry kind="lib" path="lib/tp/jetty-6.1.3.jar"/>
<classpathentry kind="lib" path="lib/tp/jetty-util-6.1.3.jar"/>
<classpathentry kind="lib" path="lib/tp/log4j-1.2.15.jar"/>
<classpathentry kind="lib" path="lib/tp/log4j.jar"/>
<classpathentry kind="lib" path="lib/tp/servlet-api-2.5-6.1.3.jar"/>
<classpathentry kind="lib" path="lib/tp/sigar.jar"/>
<classpathentry kind="lib" path="lib/tp/singularity-xml.jar"/>
<classpathentry kind="lib" path="lib/tp/xercesImpl.jar"/>
<classpathentry kind="lib" path="lib/tp/xml-apis.jar"/>
<classpathentry kind="lib" path="libs-other/log4j-1.2.15.jar"/>
<classpathentry kind="lib" path="libs-other/mysql-connector-java-5.1.17-bin.jar"/>
<classpathentry kind="lib" path="libs-other/mysql.jar"/>
<classpathentry kind="lib" path="libs-other/singularity-xml.jar"/>
<classpathentry kind="lib" path="machineagent.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>TibcoEMSMonitor-2.1</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
1 change: 1 addition & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This file was created by IntelliJ IDEA 12.1.6 for binding GitHub repository
19 changes: 19 additions & 0 deletions TibcoEMSMonitor.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/bin" />
<output-test url="file://$MODULE_DIR$/bin" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/lib-jms" isTestSource="false" packagePrefix="com.appdynamics.tibco.ems.systopicsubscriber" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="lib-tibco" level="project" />
<orderEntry type="library" name="lib-jms" level="project" />
<orderEntry type="library" name="machineagent" level="project" />
<orderEntry type="library" name="log4j-1.2.15" level="project" />
</component>
</module>

47 changes: 47 additions & 0 deletions conf/controller-info.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<controller-info>

<!-- This is the host name or the IP address of the AppDynamics Controller e.g. 192.168.1.22 or myhost or myhost.abc.com
This is the same host that you use to access the AppDynamics browser based User interface.
This can be overridden with the system property '-Dappdynamics.controller.hostName' -->
<controller-host>localhost</controller-host>

<!-- This is the http(s) port of the AppDynamics Controller , If 'controller-ssl-enabled' below is set to true, you must
specify the HTTPS port of the Controller, otherwise specify the HTTP port. The default values are 8090 for HTTP and 8181 for HTTPS
This is the same port that you use to access the AppDynamics browser based User interface.
This can be overridden with the system property '-Dappdynamics.controller.port' -->
<controller-port>8090</controller-port>

<!-- This specifies if the AppDynamics agent should use SSL(HTTPS) to connect to the Controller. If you set this to true,
the controller port property above should be set to the HTTPs port of the Controller.
This can be overridden with the system property '-Dappdynamics.controller.ssl.enabled' -->
<controller-ssl-enabled>false</controller-ssl-enabled>

<!-- Set this flag to 'true' to enable features required for AppDynamics Orchestration, including the following:
1) Enables the agent to execute tasks specified in AppDynamics Orchestration workflows.
2) Enables the agent to resolve the AppDynamics Controller host and port when the host
machine where this agent resides is created through AppDynamics Orchestration. -->
<enable-orchestration>false</enable-orchestration>

<!-- If the AppDynamics Controller is running in multi-tenant mode or you are using the AppDynamics SaaS Controller
you must specify the account name and account access key for this agent to authenticate with the controller.
If you are running in single-tenant mode (the default) there is no need to configure these values. -->
<account-name></account-name>
<account-access-key></account-access-key>

<!-- For Auto Agent Registration specify the application name, tier name,
and optionally, node name. If the application and/or tier does not exist
already it will be created. If there is already a registered app server agent
installed on the same host as this machine agent then Auto Agent Registration
is not necessary for this machine agent. -->
<application-name></application-name>
<tier-name></tier-name>
<node-name></node-name>

<!-- Change to 'true' only under special circumstances where this agent has been moved to a new application and/or tier
from the UI but you want to override that move by specifying a new application name and/or tier name in the agent configuration.
If there is already a registered app server agent installed on the same host as this machine agent then this override DOES not work.
If you want to override the UI in this case, you must force the agent registration change from the app server agent configuration. -->
<force-agent-registration>false</force-agent-registration>

</controller-info>
32 changes: 32 additions & 0 deletions conf/logging/log4j.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

<appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{ABSOLUTE} %5p [%t] %c{1} - %m%n"/>
</layout>
</appender>

<appender name="FileAppender" class="com.singularity.ee.agent.systemagent.SystemAgentLogAppender">
<param name="File" value="logs/machine-agent.log"/>
<param name="MaxFileSize" value="5000KB"/>
<param name="MaxBackupIndex" value="5"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%t] %d{DATE} %5p %c{1} - %m%n"/>
</layout>
</appender>



<logger name="com.singularity" additivity="false">
<level value="info"/>
<appender-ref ref="FileAppender"/>
</logger>

<root>
<priority value="error"/>
<appender-ref ref="FileAppender"/>
</root>

</log4j:configuration>
Loading

0 comments on commit ba0d786

Please sign in to comment.