New Relic Monitoring

There are many monitoring solutions available, and many of them work well with Eclipse servers, but we recommend the New Relic monitoring solution for customers interested in setting up monitoring quickly and easily.

We’ve prepared the following guide to help customers implement New Relic monitoring on their Eclipse servers, but Eclipse does not provide technical support for New Relic. If you have any questions, please contact New Relic support directly.

Sign up for a New Relic account

Before you can install the New Relic software, you’ll need to sign up for an account. They have a free option for customers that need basic monitoring and 24 hours of historical data, or you can upgrade to one of the more advanced tiers.

To sign up for an account, go to the New Relic website and follow the instructions.

Install the server monitoring agents

The server monitoring agents will track things like processor utilization and disk usage.

Linux

Enable the New Relic repository:

rpm -Uvh http://download.newrelic.com/pub/newrelic/el5/i386/newrelic-repo-5-3.noarch.rpm

Install New Relic’s server monitoring daemon:

yum install newrelic-sysmond

Configure the daemon with your license key (which you can obtain the Account Settings page):

nrsysmond-config --set license_key=27c16493aa50f89546b3caed34e3ee81880ab786

Start the daemon:

/etc/init.d/newrelic-sysmond start

Windows

Download the installer appropriate for your system:

Double click the installer file and follow the prompts to start the installation — generally you can click “Next” and the installer will try to pick smart defaults for you.

Enter your New Relic license key (which you can obtain the Account Settings page) when prompted, and click “OK”.

Install the application server agent

Note: installing the application server agent requires restarting JBoss, which will be disruptive to Solar and Job Management users.

Go to the Applications page and click Add more.

Choose the “Java” language

Click “Reveal your license key”

Click “Download New Relic Java agent”

Transfer the .zip file to the application server’s JBoss directory (e.g. /u2/eclipse/modules/jboss) via the method of your choice (e.g. FTP, SCP)

Log into the server as root, then extract and install the agent:

cd /u2/eclipse/modules/jboss
unzip newrelic*.zip

Set permissions:

chown -R jboss:jboss newrelic

Backup the current JBoss configuration:

cp /u2/eclipse/modules-conf/jboss.conf /u2/eclipse/modules-conf/jboss.conf.`date +%Y%m%d.%H%M%S`

Change the name of the application (the name that will be displayed on the New Relic web interface) from “My Application” to something more descriptive (e.g. companyname-Solar)

Add a line for New Relic to the end of the JBoss configuration file:

vim /u2/eclipse/modules-conf/jboss.conf
JAVA_OPTS="$JAVA_OPTS -javaagent:/u2/eclipse/modules/jboss/newrelic/newrelic.jar"

Restart JBoss

service eclipse-jboss halt
service eclipse-jboss start

Uninstalling New Relic

To uninstall the application server agent:

vim /u2/eclipse/modules-conf/jboss.conf

Remove the following line:

JAVA_OPTS="$JAVA_OPTS -javaagent:/u2/eclipse/modules/jboss/newrelic/newrelic.jar"

Restart JBoss to undeploy the agent.

Remove the New Relic agent files:

rm -rf /u2/eclipse/modules/jboss/newrelic

To remove the Linux server monitoring agent:

yum remove newrelic-sysmond

How to set ip an IP address on my ESXi VMware server?

1. Setup the Physical Server

  • Power server on, take it out of box, rack it, etc.
  • Plug monitor into the server
  • Plug network cables into your local switch
  • If you purchased the server from Epicor the default username is root, password is abcd1234 – please do not change this until after implementation

2. Configuring static IP settings from the console

  1. Press F2 to examine the default configuration.
  2. Press the down-arrow key to choose Configure Management Network and press Enter.
  3. Press the down-arrow key to choose IP Configuration and press Enter.
  4. Press the down-arrow key to choose Set static IP address and network configuration and press the spacebar.
  5. Press the down-arrow key to choose IP Address.
  6. Press the backspace key to clear the current IP address, then enter a new IP address.
  7. Press the down-arrow key to choose Subnet Mask.
  8. Press the backspace key to delete the current Subnet Mask, then enter a new Subnet Mask.
  9. Press the down-arrow key to choose Default Gateway.
  10. Delete the existing Default Gateway and enter a new Default Gateway. 

How to add or remove local users for use with Cisco VPN client on IOS

This article assumes you have some basic networking knowledge. It also assumes that your Cisco router is configured to properly authenticate local user accounts.

How to add a user account for VPN client access

  • Telent or SSH to the local ip address of your Cisco router and login with your admin username and password
  • Type “config t” to put you in config mode
  • Type “username test password test” (basically if you wanted to add the username then username password then password) and hit enter 
  • Type “exit” (this will get you out of config mode
  • Type “wr” (this will save the running config)
  • Type “exit” (this will exit the telnet or SSH session)

Example:

Router# config t

Router(config)# username test password test

Router(config)# exit

Router# wr

Router# exit

How to Remove a user account for VPN client access

  • Telent or SSH to the local ip address of your Cisco router and login with your admin username and password
  • Type “config t” to put you in config mode
  • Type “no username test” (basically if you wanted to remove the username) and hit enter 
  • Type “exit” (this will get you out of config mode
  • Type “wr” (this will save the running config)
  • Type “exit” (this will exit the telnet or SSH session)

Example:

Router# config t

Router(config)# no username test password test

Router(config)# exit

Router# wr

Router# exit

To review the local user accounts:

  • Type “show run” (the usernames will be listed in the configuration)
  • Type “exit” (this will exit the telnet or SSH session)

Router# show run

Router# exit