| | |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions copyright 2014-2016 ForgeRock AS. |
| | | * Portions copyright 2026 3A Systems, LLC |
| | | */ |
| | | package org.opends.server.snmp; |
| | | |
| | |
| | | |
| | | try |
| | | { |
| | | String host = InetAddress.getLocalHost().getCanonicalHostName(); |
| | | String host = "localhost"; |
| | | SnmpOidTableSupport oidTable = new DIRECTORY_SERVER_MIBOidTable(); |
| | | SnmpOid.setSnmpOidTable(oidTable); |
| | | |
| | |
| | | |
| | | try |
| | | { |
| | | String host = InetAddress.getLocalHost().getCanonicalHostName(); |
| | | String host = "localhost"; |
| | | SnmpOidTableSupport oidTable = new DIRECTORY_SERVER_MIBOidTable(); |
| | | SnmpOid.setSnmpOidTable(oidTable); |
| | | return new SnmpPeer(host, port); |