mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Chris Ridd
01.23.2013 4c7b80df408088a959bca12fe168ef4ffc039cdb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!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>