Support Support Downloads Knowledge Base Case Manager My Juniper 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

[STRM] How to enable SNMP support in 2009.1 and 2009.2



Article ID: KB18140 KB Last Updated: 12 Jul 2011Version: 2.0
This article explains how to enable SNMP support in STRM. 
SNMP support was previously disabled in STRM versions prior to 2009.1

This was due to a security vulnerability.

The security vulnerability that prevented STRM from using the SNMP Agent for system monitoring has been overcome.

If you are running STRM 2009.1 or 2009.2 with the latest patch, then you can use the following instructions to re-enable support for SNMP.
This functionality will be available by default in the 2010.1 release of STRM.

Download the snmp agent rpm from here:

Connect to the STRM console box via ssh or console connection as the root user.

  • vi /store/configservices/staging/globalconfig/nva.conf
  • change LINUX_AGENT_ENABLED to yes
  • In the STRM Admin Tab, Deploy changes
  • transfer the snmp agent rpm to the console through scp.
  • rpm -Uvh snmp_agent-20080205-
  • Edit the crontab with the command crontab -e
  • Add the following at the bottom of the file:
# check snmp agent for death every minute
* * * * * if [ -f /var/lock/subsys/snmp_agent ] ; then { if [ `service snmp_agent status 2>&1 | grep -c 'is running'` -eq 0 ] ; then { rm -f /var/lock/subsys/snmp_agent ; service snmp_agent start > /dev/null 2>&1 ; } fi ; } fi

  • Start the snmp_agent server with the command: service snmp_agent start

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