Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How to modify the SNMP data collection interval for Network Monitoring in Junos Space



Article ID: KB28416 KB Last Updated: 02 Sep 2015Version: 2.0

This article describes the procedure to change the time interval for SNMP data collection in OpenNMS.


Customers sometimes need to have the graphs under Network Monitoring updated at specific time intervals rather than the default time interval. For versions 12.3 and earlier, this default time interval is 300000 milliseconds. For versions 13.1 and later, the default time interval is 900000 milliseconds for SNMP data collection.


WARNING: Decreasing the polling interval will increase the demand on system resources and might have a negative performance impact for the entire system.

Perform the following steps to modify the time interval for data collection:

  1. On the Junos Space server CLI, open the following file in test editor mode:

  2. Locate the line:

    package name="example1"
  3. Modify the value from:

    <service name="SNMP" interval="900000" user-defined="false" status="on">


    <service name="SNMP" interval="300000" user-defined="false" status="on"> -- for 5 minutes

  4. Save the file.

  5. Stop the OpenNMS services:

    /etc/init.d/opennms stop
  6. Navigate to /var/opennms/rrd/snmp/.

  7. Delete the .jrb files from here by running the following command:

    Warning: This will delete all the data in the OpenNMS database. This step is necessary whenever the OpenNMS polling interval is modified.

    find /var/opennms/rrd/snmp/ -name "*.jrb" | xargs rm -f
  8. Start the OpenNMS services:

    /etc/init.d/opennms start

    This will change the time interval value for data collection.

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search