3564N/A<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3564N/A<html>
3564N/A<head>
3564N/A<!--
3564N/A ! CDDL HEADER START
3564N/A !
3564N/A ! The contents of this file are subject to the terms of the
3564N/A ! Common Development and Distribution License, Version 1.0 only
3564N/A ! (the "License"). You may not use this file except in compliance
3564N/A ! with the License.
3564N/A !
3564N/A ! You can obtain a copy of the license at
3564N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
3564N/A ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
3564N/A ! See the License for the specific language governing permissions
3564N/A ! and limitations under the License.
3564N/A !
3564N/A ! When distributing Covered Code, include this CDDL HEADER in each
3564N/A ! file and include the License file at
3564N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
3564N/A ! add the following below this CDDL HEADER, with the fields enclosed
3564N/A ! by brackets "[]" replaced with your own identifying information:
3564N/A ! Portions Copyright [yyyy] [name of copyright owner]
3564N/A !
3564N/A ! CDDL HEADER END
3564N/A !
3564N/A ! Copyright 2008 Sun Microsystems, Inc.
3564N/A ! -->
3564N/A <meta content="text/html; charset=ISO-8859-1"
3564N/A http-equiv="content-type">
3564N/A <title>snmp</title>
3564N/A</head>
3564N/A<body>
3564N/A<br>
3564N/A<table style="width: 100%; text-align: left;" border="1" cellpadding="2"
3564N/A cellspacing="2">
3564N/A <tbody>
3564N/A <tr>
3564N/A <td style="vertical-align: top;">Test ID</td>
3564N/A <td style="vertical-align: top;">snmp</td>
3564N/A </tr>
3564N/A <tr>
3564N/A <td style="vertical-align: top;">Panel<br>
3564N/A </td>
3564N/A <td style="vertical-align: top;">OpenDS SNMP Extension feature<br>
3564N/A </td>
3564N/A </tr>
3564N/A <tr>
3564N/A <td style="vertical-align: top;">Items<br>
3564N/A </td>
3564N/A <td style="vertical-align: top;">- install OpenDS using the same
3564N/Aprocedure than in the <a href="setup_cli.html">setup_cli</a>
3564N/Atestcase <br>
3564N/A <br>
3564N/A- run status in CLI and check that the SNMP Connection Handler is listed and disabled<br>
4225N/A- same checks using control-panel in GUI<br>
3564N/A <br>
3582N/A- enable SNMP Connection Handler:<br>
3582N/A# dsconfig set-connection-handler-prop
3582N/A-D "cn=Directory Manager" -w password -p PORT
3582N/A--handler-name "SNMP Connection Handler"
3582N/A--set enabled:true
3582N/A--set listen-port:8085
3582N/A--set opendmk-jarfile:PATH_TO_OPENDMK_JARFILE
3582N/A-n<br>
3582N/A <br>
3582N/AFor more information on how to enable SNMP, see:<br>
3564N/A<a href="https://www.opends.org/wiki/page/HowToMonitorOpenDSThroughSNMP">How To Monitor OpenDS Through SNMP</a><br>
3564N/A <br>
3564N/A- run status in CLI and check that the SNMP Connection Handler is listed and enabled, check also that the port is correct<br>
4225N/A- same checks using control-panel in GUI<br>
3564N/A <br>
3564N/A- check that your SNMP Connection Handler is up and running:<br>
3582N/A# snmpwalk -v 2c -c OpenDS@OpenDS HOSTNAME:8085 .1.3.6.1.2.1.66<br>
3582N/Aiso.3.6.1.2.1.66.1.1.1.1 = STRING: "JDMK"<br>
3582N/A...<br>
3582N/Aiso.3.6.1.2.1.66.2.1.25.1.3 = No more variables left in this MIB View (It is past the end of the MIB tree)<br>
3564N/A <br>
3564N/A- stop the server (stop-ds)<br>
3564N/A <br>
3564N/A- run status in CLI and check that the SNMP Connection Handler is listed and enabled<br>
4225N/A- same checks using control-panel in GUI<br>
3564N/A <br>
3564N/A- run uninstall command in CLI or in GUI mode<br>
3564N/A <br>
3564N/A </td>
3564N/A </tr>
3564N/A <tr>
3564N/A <td style="vertical-align: top;">Specific checks</td>
3564N/A <td style="vertical-align: top;"><br>
3564N/A </td>
3564N/A </tr>
3564N/A </tbody>
3564N/A</table>
3564N/A<br>
3564N/A<br>
3564N/A<br>
3564N/A</body>
3564N/A</html>