To install Servers for SmartOS, run the commands in this procedure as root.
To install and configure Servers for SmartOS:
Make sure that the pkgin databases are up to date:
Install Servers for SmartOS:
pkgin install nrsysmond
Customize your configuration file, then save your changes.
Start Servers for SmartOS by running the following command as root:
svcadm enable pkgsrc/nrsysmond
Note: The config file is annotated with all of the available options. At a minimum, replace the string
REPLACE_WITH_REAL_KEY with your real 40-character New Relic license key.
Ensure your Servers for SmartOS installation meets New Relic's compatibility requirements. Older SmartOS instances may not have the nrsysmond package. If the package is not in the repo, try these commands:
wget http://pkgsrc.joyent.com/sdc6/2012Q2/i386/All/nrsysmond-1.3.0.tgz sudo pkg_add nrsysmond-1.3.0.tgz