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