The Juniper Plugin enables integrated monitoring of your Juniper Network devices inside of New Relic. Currently the following metrics are recorded:
Per Routing Engine metrics
-
CPU / Memory usage
-
Temperature
Interface metrics
-
Inbound / Outbound bandwitdh
-
Inbound / Outbound packets per second (Unicast, Multicast, Broadcast)
You need a host to install the plugin on that is able to poll the desired equipment via SNMP. That host also needs Ruby (tested with 1.8.7 and 1.9.3), and support for rubygems.
A read-only SNMP community is required for each device to be monitored. Currently, only SNMP version 2c is supported.
-
Install this gem from RubyGems:
gem install newrelic_juniper_plugin
-
Create an installation directory (like /opt/newrelic/juniper ).
-
In the installation directory, execute
juniper_monitor install -l LICENSE_KEY
using the license key from your New Relic account.
-
Edit the
config/newrelic_plugin.yml
file generated in step 4. Setup hostname/port/snmp_community for each device you wish to monitor. -
Execute
juniper_monitor run
-
Fork/Clone the repository
-
Install bundler and run:
bundle install
-
Run
rake -T
to see rake options, including tests.