Skip Headers
Oracle® Access Manager Identity and Common Administration Guide
10g (10.1.4.0.1)

Part Number B25343-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

12 SNMP Monitoring

This chapter focuses on network monitoring through the Simple Network Management Protocol (SNMP).

SNMP monitoring is one of several methods of gathering information on your Oracle Access Manager system. Logging, auditing, and other reporting features, are described elsewhere in this guide.

This chapter includes the following topics:


Note:

For information about installing SNMP, refer to the Oracle Access Manager Installation Guide.

12.1 Prerequisites

You need to have a network management station (NMS) installed, and you should be familiar with how to upload and display network statistics gathered from a Management Information Base (MIB). This chapter describes the Oracle Access Manager MIB objects and the Object Identifiers (OIDs) for these objects. However, this chapter does not provide information on how to use these OIDs in your NMS to collect statistics. For such information, refer to the documentation for your NMS.

12.2 About Oracle Access Manager SNMP Monitoring and Agents

The Simple Network Management Protocol (SNMP) enables you to monitor component activity on the network that hosts your Oracle Access Manager system by collecting and displaying server-related SNMP data on a network management station. SNMP statistics commonly include data such as:

SNMP data is displayed on a network management station (NMS). The NMS is a workstation running a network management application such as HP OpenView. You configure the NMS to display network statistics in a useful way, for instance, as a graph to show simple network statistics or to show whether the number of requests a device is processing falls within a set of defined limits.

You can capture SNMP statistics for the Identity Server and the Access Server running on any supported platform. Oracle Access Manager supports SNMP polling and trapping. Polling collects information such as:

Event traps include information such as:


Note:

Oracle Access Manager supports version 2 of the SNMP protocol.

12.2.1 The SNMP Agent

The Simple Network Management Protocol (SNMP) is an application-layer protocol that enables network devices to exchange information. By using SNMP-transported data (such as successful operations and failure conditions), administrators can monitor network performance and solve problems. The Oracle Access Manager's SNMP Agent enables you to implement SNMP-based data collection for the Identity Server and Access Server. The SNMP Agent enables collection of information such as the number of successful authentications performed by the Access Server and the number of requests processed by the Identity Server.

The SNMP Agent is an optional installable component. The Agent collects information on the host where it is installed, so you must install an Agent on each host where you want to collect SNMP data. If installed, the Agent accesses information about the Identity or Access Server resident on the same server host on which the Agent was installed. The Agent is installed in SNMP_install_dir.

For information on installing the SNMP Agent, see the Oracle Access Manager Installation Guide.

12.3 About the Oracle Access Manager MIB and Objects

The Management Information Base (MIB) is a specification file that contains variables relevant to the status of different Oracle Access Manager components. The SNMP Agent collects values for fields in the MIB.

Figure 12–1 illustrates the Oracle Access Manager MIB hierarchy.

Figure 12-1 The MIB hierarchy

Image of the MIB hierarchy for Access and Identity.

The Oracle Access Manager MIB can be expressed as a concatenation of branch and object identifiers (OIDs). The label from the MIB root to the top node of the MIB is as follows:

iso.org.dod.internet.private.enterprises.oblix.snmp

MIB files are located in SNMP_install_dir/oblix/mibs. These files conform to SNMP Version 2.

The following discussions describe the MIB objects that are provided with the Oracle Access Manager SNMP component.


Note:

Refer to your NMS documentation for information on uploading the MIB files to your NMS.

12.3.1 MIB Index Fields

Each MIB table contains one or more index fields. The index field values help you identify a unique row in the table.

For example, the index fields for coreidInstanceTable described in "Identity Server MIB Objects" are coreidHostname and coreidPort. These entries are used as indexes because they uniquely identify an installation. Suppose that you have two Identity Servers named Identity1 and Identity2, each with a host name of localhost using ports 6023 and 6024, respectively. The indexes for these servers would be localhost.6023 and localhost.6024.

To retrieve the first column value for Identity1, the object identifier you would request from the SNMP Agent would take the following logical form:

1.3.6.1.4.1.3831.10.1.1.2.1.1.localhost.6023

where 1.3.6.1.4.1.3831.10.1.1.2.1.1 signals that you want the first column of coreidInstanceTable, for the element with an index value of localhost.6023. The index is represented in numeric notation (similar to specifying an OID) which actually contains the length of the string followed by ascii codes for the characters in the string. As a result, this example:

1.3.6.1.4.1.3831.10.1.1.2.1.1.localhost.6023

is actually represented as follows:

1.3.6.1.4.1.3831.10.1.1.2.1.1.9.108.111.99.97.108.104.111.115.116.6023


Note:

If you want the entire table to be returned in your SNMP requests, It is not necessary to know the values of the index fields.

12.3.2 Identity Server MIB Objects

Table 12–1 contains the Identity Server objects in the MIB. The path to this information is the following:

iso.org.dod.internet.private.enterprises.oblix.snmp.coreid. versionone

The name of this table is coreidInstanceTable. Its index fields are coreidHostname and coreidPort. It describes Identity Server instances.

Table 12-1 Identity Server MIB Objects

Managed Object Syntax Description

coreidInstanceTable

OID: 1.3.6.1.4.1.3831.10.1.1.2

n.a.

Primary table name.

coreidIdOID: 1.3.6.1.4.1.3831.10.1.1.2.1.1

SnmpAdminString (size 0-255)

The identifier for the Identity Server instance.

coreidHostnameOID: 1.3.6.1.4.1.3831.10.1.1.2.1.2

SnmpAdminString (size 0-255)

The hostname of the machine on which this Identity Server runs. The hostname is an index for this table.

coreidPortOID: 1.3.6.1.4.1.3831.10.1.1.2.1.3

Integer (0-65535)

The port on which the Identity Server listens. The port number is an index for this table.

coreidModeOID: 1.3.6.1.4.1.3831.10.1.1.2.1.4

Integer (0-5)

The transport security mode between the Identity Server and WebPass.0—Open 1—Simple 2—Cert

coreidStartTimeOID: 1.3.6.1.4.1.3831.10.1.1.2.1.5

DateAndTime

The time when the Identity Server was last started.

coreidServiceThreadsOID: 1.3.6.1.4.1.3831.10.1.1.2.1.6

Integer (0-65535)

The number of service threads in the Identity Server instance. The number of threads is set in the administration console. The parameter NumberOfServiceThreads in scoreboard_params.lst controls how many slots are allocated (using one for each service thread) to maintain SNMP information for each service thread.

coreidNumOfLanguagesConfiguredOID: 1.3.6.1.4.1.3831.10.1.1.2.1.7

Integer (0-65535)

The number of languages installed for this Identity Server instance.

coreidNumOfLoginsOID: 1.3.6.1.4.1.3831.10.1.1.2.1.8

counter64

The number of successful logins to the Identity Server instance.

coreidNumOfLoginsFailureOID: 1.3.6.1.4.1.3831.10.1.1.2.1.9

Counter64

The number of failed login attempts to the Identity Server instance.

coreidRequestsProcessedOID: 1.3.6.1.4.1.3831.10.1.1.2.1.10

Counter64

The number of requests processed by the Identity Server instance.

coreidNumOfRequestsSuccessOID: 1.3.6.1.4.1.3831.10.1.1.2.1.11

Counter64

The number of requests successfully handled by this Identity Server instance.

coreidNumOfRequestsFailOID: 1.3.6.1.4.1.3831.10.1.1.2.1.12

Counter64

The number of requests for this Identity Server that produced an error.

coreidTotalServiceTimeOID: 1.3.6.1.4.1.3831.10.1.1.2.1.13

Counter64

Total time, in nanoseconds, the Identity Server has taken to serve requests since the last restart?

coreidTotalNumOfCacheFlush RequestSuccessOID: 1.3.6.1.4.1.3831.10.1.1.2.1.14

Counter64

Total number of successful cache flush requests issued by the Identity Server.

coreidTotalNumOfCacheFlush RequestFailOID: 1.3.6.1.4.1.3831.10.1.1.2.1.15

Counter 64

Total number of unsuccessful cache flush requests issued by the Identity Server

coreidNumOfPluginsLoadedOID: 1.3.6.1.4.1.3831.10.1.1.2.1.16

Counter64

The number of plug-ins loaded by the Identity Server instance.

coreidNumOfEmailSentFailOID: 1.3.6.1.4.1.3831.10.1.1.2.1.17

Counter64

The number of failed attempts to send email from this Identity Server instance.

coreidOverflowFlagDirectory ServerSlotsOID: 1.3.6.1.4.1.3831.10.1.1.2.1.18

Integer (0-65535)

A flag indicating that the number of configured SNMP information slots for the directory server was insufficient. The variable NumberOfConfiguredDS in scoreboard_params.lst defines the number of slots, using one slot for each directory server. If the value of NumberOfConfiguredDs is less than the actual number of directories that the Identity Server has contacted, the value for coreidOverflowFlagDirectoryServerSlots is set to 1. This flag only indicates an overflow condition. It does not convey how many slots are missing.

coreidOverflowForPPPActionsSlotsOID: 1.3.6.1.4.1.3831.10.1.1.2.1.19

Integer (0-65535)

The number of "hooked up" Identity Event API plug-in actions for which a slot could not be allocated.


Table 12-2 contains the MIB objects for capturing information about the Identity Event API plug-in, which enables you to create external events for workflows. More information about this plug-in is provided in the Oracle Access Manager Developer Guide. This table has three index fields: coreidHostname, coreidPort, and pppRowIndex. The path to this information is the following:

iso.org.dod.internet.private.enterprises.oblix.snmp.coreid.versionone. pppActionsTable

Table 12-2 Identity Event API MIB Objects

Managed Object Syntax Description

pppActionsTable

n.a.

Primary table name.

pppRowIndex

OID: 1.3.6.1.4.1.3831.10.1.1.3.1.2

Integer (0-65535)

This field is used only for indexing purposes. This value, along with its parent index values, forms a unique identifier for the row.

pppActionName

OID: 1.3.6.1.4.1.3831.10.1.1.3.1.2

SnmpAdminString (size 0-255)

The name of the PPP action.

pppFunctionNameOID: 1.3.6.1.4.1.3831.10.1.1.3.1.3

SnmpAdminString (size 0-255)

The name of the external function that is executed for the given hook.

pppPluginPathOID: 1.3.6.1.4.1.3831.10.1.1.3.1.4

SnmpAdminString (size 0-255)

The path for the PPP plug-in.

totalCountOID: 1.3.6.1.4.1.3831.10.1.1.3.1.5

Counter64

The total number of times the PPP action is executed.

pppOKCountOID: 1.3.6.1.4.1.3831.10.1.1.3.1.6

Counter64

The number of times that the return code STATUS_PPP_OK is received for this PPP action.

pppAbortCountOID: 1.3.6.1.4.1.3831.10.1.1.3.1.7

Counter64

The number of times that the return code STATUS_PPP_ABORT is received for this PPP action.

pppWorkflowRetryCountOID: 1.3.6.1.4.1.3831.10.1.1.3.1.8

Counter64

The number of times that the return code STATUS_PPP_WF_RETRY is received for this PPP action.

pppWorkflowAsyncCountOID: 1.3.6.1.4.1.3831.10.1.1.3.1.9

Counter64

The number of times the return code STATUS_PPP_WF_ASYNC is received for this PPP action.


Table 12-3 contains information about the directory server that communicates with the Identity Server. This table has three index fields: coreidHostname, coreidPort, and coreidDSRowIndex. The path to this information is the following:

iso.org.dod.internet.private.enterprises.oblix.snmp.coreid.versionone.coreidDirectoryServerTable

Table 12-3 Identity System Directory MIB Objects

Managed Object Syntax Description

coreidDirectoryServerTable

n.a.

Primary table name.

coreidDSRowIndex

OID: 1.3.6.1.4.1.3831.10.1.1.4.1.1

Integer (0-65535)

This field is used for indexing purposes only. This value, along with its parent index values, forms a unique identifier for the row.

coreidDirectoryServerHost name

OID: 1.3.6.1.4.1.3831.10.1.1.4.1.2

SnmpAdminString (size 0 - 255)

The hostname of the directory server.

coreidDirectoryServerPort

OID: 1.3.6.1.4.1.3831.10.1.1.4.1.3

Integer (0-65535)

The directory server port.

coreidDirectoryServerMode

OID: 1.3.6.1.4.1.3831.10.1.1.4.1.4

Integer (0-65535)

The directory server communication mode:

0—Open

1—SSL

coreidDirectoryServerNoOf LiveConnections

OID: 1.3.6.1.4.1.3831.10.1.1.4.1.5

Integer (0-65535)

The number of connections against the directory.


Table 12-4 contains the Identity System objects in the MIB for system events that can be mapped to SNMP traps.

The SNMP Agent supports sending trap messages to multiple NMS systems. The path to this information is the following:

iso.org.dod.internet.private.enterprises.oblix.snmp.coreid. versionone

For example, the full path to the oblixCoreidServerDown trap is the following:

iso.org.dod.internet.private.enterprises.oblix.snmp.coreid.versionone.oblixCoreidServerDown

Table 12-4 Identity Server Traps

Managed Object Fields sent with the trap Description

oblixCoreidServerDownOID: 1.3.6.1.4.1.3831.10.1.1.0.7001

coreidId coreidHostname coreidPort

A trap generated when the SNMP Agent detects that the Identity Server has done a shutdown with errors. This trap contains the server ID, host name, and port.

oblixCoreidServerStartOID: 1.3.6.1.4.1.3831.10.1.1.0.7002

coreidId coreidHostname coreidPort

This trap is generated when the SNMP Agent detects that the Identity Server has been started or restarted. This trap contains the server ID, host name, and port.

oblixCoreidServerFailureOID:1.3.6.1.4.1.3831.10.1.1.0.7003

coreidId coreidHostname coreidPort

This trap is generated when the SNMP Agent detects that the Identity Server has not done a clean shutdown or has failed. This trap contains the server ID, host name, and port.

oblixCOREidDSFailureOID: 1.3.6.1.4.1.3831.10.1.1.0.7004

coreidIdcoreidHostnamecoreidPortcoreidDirectoryServer HostnamecoreidDirectoryServer Port

This trap is generated when the Identity Server detects that the directory server that it is connected to is down.


12.3.3 Access Server MIB Objects

Table 12-5 describes the Access Server SNMP objects that are available through the MIB. The path to this information is the following:

iso.org.dod.internet.private.enterprises.oblix.snmp.aaa.versionone

Table 12-5 Access Server MIB Objects

Managed Object Syntax Description

aaaInstanceTable

OID: 1.3.6.1.4.1.3831.10.2.1.2

n.a.

Primary table name.

aaaIdOID: 1.3.6.1.4.1.3831.10.2.1.2.1.1

SnmpAdminString (size 0-255)

The identifier for this Access Server instance, as specified in the Access System Console.

aaaHostnameOID: 1.3.6.1.4.1.3831.10.2.1.2.1.2

SnmpAdminString (size 0-255)

The name of the machine where the Access Server was installed, as specified in the Access System Console. The host name is an index for this table.

aaaPortOID: 1.3.6.1.4.1.3831.10.2.1.2.1.3

Integer (0-65535)

The port on which the Access Server listens. The port number is an index for this table.

aaaModeOID: 1.3.6.1.4.1.3831.10.2.1.2.1.4

Integer (0-65535)

The transport security mode between the Access Server and other Identity or Access components. 0—Open 1—Simple 2—Cert

aaaNoOfQueuesOID: 1.3.6.1.4.1.3831.10.2.1.2.1.5

Integer (0-65535)

The number of service queues for this Access Server instance.

aaaThreadsPerQueueOID: 1.3.6.1.4.1.3831.10.2.1.2.1.6

Integer (0-65535)

The number of threads for each service queue for this Access Server instance.

aaaNoOfListenerThreadsOID: 1.3.6.1.4.1.3831.10.2.1.2.1.7

Integer (0-65535)

The number of listener threads spawned. There will be one thread for each WebGate-Access Server connection.

aaaNoofConnectionWatcherThreadsOID: 1.3.6.1.4.1.3831.10.2.1.2.1.8

Integer (0-65535)

The number of LDAP connection watcher threads.

aaaOverflowFlagDirectoryServerSlotsOID: 1.3.6.1.4.1.3831.10.2.1.2.1.9

Integer (0-65535)

A flag indicating whether there are insufficient slots for the number of directories configured for the Access Server. This means that the administrator needs to update the file install_dir/access/oblix/config/obscoreboardparams.xml. 0 - No overflow 1 - Overflow occurred

aaaOverflowForAuthentication PluginSlotsOID: 1.3.6.1.4.1.3831.10.2.1.2.1.10

Integer (0-65535)

The number of authentication plug-ins whose information could not be displayed. The administrator needs to update the install_dir/access/oblix/config/obscoreboardparams.xml file.

aaaOverflowForAuthorization PluginSlotsOID: 1.3.6.1.4.1.3831.10.2.1.2.1.11

Integer (0-65535)

The number of authorization plug-ins whose information could not be displayed. The administrator needs to update the install_dir/access/oblix/config/obscoreboardparams.xml file.

aaaTimeAuditLogWasRotatedOID: 1.3.6.1.4.1.3831.10.2.1.2.1.12

DateAndTime

Time when the audit log file was rotated. This setting is determined in the configuration for this Access Server specified in the Access System Console.

aaaStartTimeOID: 1.3.6.1.4.1.3831.10.2.1.2.1.13

DateAndTime

The date and time when this Access Server instance was last started.

aaaAuthenticationsSuccessOID: 1.3.6.1.4.1.3831.10.2.1.2.1.14

Counter64

The number of successful authentications by the Access Server instance.

aaaAuthenticationsSuccessOID: 1.3.6.1.4.1.3831.10.2.1.2.1.15

Counter64

The number of successful authentications by this Access Server instance.

aaaAuthenticationsDeniedOID: 1.3.6.1.4.1.3831.10.2.1.2.1.16

Counter64

The number of unsuccessful authentications by this Access Server instance.

aaaAuthorizationsSuccessOID: 1.3.6.1.4.1.3831.10.2.1.2.1.17

Counter64

The number of successful authorizations by this Access Server instance.

aaaAuthorizationsDeniedOID: 1.3.6.1.4.1.3831.10.2.1.2.1.18

Counter64

The number of unsuccessful authorizations by this Access Server instance.

aaaAuditRequestsOID: 1.3.6.1.4.1.3831.10.2.1.2.1.19

Counter64

The number of audit requests made by this Access Server instance.


Table 12-6 is a sub-table of MIB objects that describe the directory server that communicates with the Access Server. This sub-table has index fields of aaaHostname, aaaPort, and aaaRowIndex. The path to this information is the following:

iso.org.dod.internet.private.enterprises.oblix.snmp.aaa.versionone.aaaDirectoryServerTable

Table 12-6 Access System Directory Server MIB Objects

Managed Object Syntax Description

aaaDirectoryServerTableOID: 1.3.6.1.4.1.3831.10.2.1.3

n.a.

Primary table name.

aaaDSRowIndexOID: 1.3.6.1.4.1.3831.10.2.1.3.1.1

Integer (0-65535)

An index field. It does not contain any information.

aaaDirectoryServerHostnameOID: 1.3.6.1.4.1.3831.10.2.1.3.1.2

SnmpAdminString (size 0-255)

The directory host name.

aaaDirectoryServerPortOID: 1.3.6.1.4.1.3831.10.2.1.3.1.3

Integer (0-65535)

The directory server port.

aaaDirectoryServerModeOID: 1.3.6.1.4.1.3831.10.2.1.3.1.4

Integer (0-65535)

The directory server communication mode with the Access Server:0—Open1—SSL

aaaDirectoryServerNoOfLive ConnectionsOID: 1.3.6.1.4.1.3831.10.2.1.3.1.5

Integer (0-65535)

The number of connections between the Access Server and the directory server.


Table 12-7 is a sub-table of MIB objects for capturing information on authentication plug-ins. This sub-table has index fields of aaaHostname, aaaPort, and authenticationPluginName. The path to this information is the following:

iso.org.dod.internet.private.enterprises.oblix.snmp.aaa. versionone.aaaauthenticationPluginsTable

Table 12-7 Authentication Plug-Ins MIB Objects

Managed Object Syntax Description

authenticationPluginsTableOID: 1.3.6.1.4.1.3831.10.2.1.4

n.a

Primary table name.

authenticationPluginNameOID: 1.3.6.1.4.1.3831.10.2.1.4.1.1

SnmpAdminString (size 0-255)

The name of the plug-in. The authentication plug-in name is an index for this table.

AuthenticationPluginPathOID: 1.3.6.1.4.1.3831.10.2.1.4.1.2

SnmpAdminString (size 0-255)

The path of the authentication plug-in.

AuthenticationPluginStatusOID: 1.3.6.1.4.1.3831.10.2.1.4.1.3

Integer (0-65535)

The status of the plug-in: 0—Not loaded1—Loaded


Table 12-8, the authorizationPluginsTable has index fields of aaaHostname, aaaPort, and authorizationPluginName. The path to this information is:

iso.org.dod.internet.private.enterprises.oblix.snmp.aaa. versionone.authorizationsPluginsTable

Table 12-8 Authorization Plug-Ins MIB Objects

Managed Object Syntax Description

authorizationPluginsTableOID: 1.3.1.4.1.3831.10.2.1.5

n.a.

Primary table name.

authorizationPluginNameOID: 1.3.6.1.4.1.3831.10.2.1.5.1.1

SnmpAdminString (size 0-255)

The name of this plug-in.

AuthorizationPluginPathOID: 1.3.6.1.4.1.3831.10.2.1.5.1.2

SnmpAdminString (size 0-255)

The path of the authorization plug-in.

AuthorizationPluginStatusOID: 1.3.6.1.4.1.3831.10.2.1.5.1.3

Integer (0-65535)

The status of the plug-in: 0—Not loaded1—Loaded


Table 12-9 is a sub-table that describes the number of requests in the queue for the Access Server. This table has indexes of aaaHostname, aaaPort, and aaaRequestQueueNumber. The path to this information is the following:

iso.org.dod.internet.private.enterprises.oblix.snmp.aaa. versionone.requestQueueInfoTable

Table 12-9 Request Queue MIB Objects

Managed Object Syntax Description

requestQueueInfoTableOID: 1.3.6.1.4.1.3831.10.2.1.5

n.a.

Primary table name.

aaaRequestQueueNumberOID: 1.3.6.1.4.1.3831.10.2.1.6.1.1

Integer (0-65535)

Index for the request queue.

aaaRequestQueueSizeOID: 1.3.6.1.4.1.3831.10.2.1.6.1.2

Integer (0-65535)

The number of requests in the queue.


Table 12-10 contains objects in the MIB for system events that can be mapped to SNMP traps. The SNMP Agent supports sending trap messages to multiple NMS systems. The path to this information is the following:

iso.org.dod.internet.private.enterprises.oblix.snmp.aaa.versionone

For example, to add the full path to the oblixAAAServerDown trap, you would specify:

iso.org.dod.internet.private.enterprises.oblix.snmp.aaa.versionone. oblixAAAServerDown

Table 12-10 Access Server Traps

Managed Object Fields Sent with the Trap Description

oblixAAAServerDownOID: 1.3.6.1.4.1.3831.10.2.1.0.7001

aaaIdaaaHostnameaaaPort

A trap generated when the SNMP Agent detects that the Access Server has done a clean shutdown. This trap captures the Access Server ID, host name, and port.

oblixAAAServerStartOID: 1.3.6.1.4.1.3831.10.2.1.0.7002

aaaIdaaaHostnameaaaPort

A trap generated whenever the Access Server is restarted. This trap captures the Access Server ID, host name, and port. The trap is generated immediately, so the time of the restart is the time of the trap generation.

oblixAAAServerFailureOID: 1.3.6.1.4.1.3831.10.2.1.0.7003

aaaIdaaaHostnameaaaPort

A trap generated when the SNMP Agent detects that the Access Server has not done a shutdown with errors or has failed. This trap captures the Access Server ID, host name, and port.

oblixAAADSFailureOID: 1.3.6.1.4.1.3831.10.2.1.0.7004

aaaIdaaaHostnameaaaPortaaaDirectoryServer HostnameaaaDirectoryServerPort

A trap generated when the Access Server detects that the directory server it is connected to is down.


12.4 Enabling and Disabling SNMP Monitoring

You use the Identity and Access Servers configuration pages to enable SNMP and to indicate the TCP/IP port where contact will be established with the SNMP Agent.


Note:

Oracle Access Manager does not provide a configuration setting for a polling interval to retrieve SNMP statistics. However, most NMS systems provide a polling configuration parameter. This parameter is used by the NMS to periodically poll the Agent to retrieve MIB values.

The following procedure describes how to start and stop the Oracle Access Manager SNMP Agent, and how to start the Agent on another port.

To configure collection of SNMP statistics

  1. From the Identity (or Access) System Console, select System Configuration, Identity Server (or Access Server.)

  2. Click a link for a particular server.

  3. Select the Modify button to display the page where you can turn SNMP monitoring on or off, as follows:

    • Turn On: Select the SNMP State On button at the bottom of the page.

    • Turn Off: Select the SNMP State Off button at the bottom of the page.

  4. In the SNMP Agent Registration Port field, enter the port number to define or change the port on which the SNMP Agent listens.

  5. Restart the Identity Server (or Access Server).

12.5 Setting Up SNMP Agent and Trap Destinations

You use the following command to setup an SNMP Agent against an SNMP Manager:

setup_agent -i

The -i option is required.

Following procedures describe and illustrate how to configure the Oracle Access Manager SNMP Agent and trap destinations.

To configure the SNMP Agent and trap destinations

  1. Change to the directory containing the SNMP setup_agent command.

    For example:

    > cd $SNMPDIR/oblix/tools/setup
    
    

    where SNMPDIR is the directory where you have installed the SNMP Agent.

  2. Use the setup_agent command with the following options:

    -i <install_dir>-g Configure General Parameters-u <Agent SNMP UDP Port>-c <Agent Community String>-p <Agent TCP Port>-S <Run in silent mode>--help Prints help message

To add a trap destination in silent mode

  1. Change to the directory containing the SNMP setup_agent command.

    For example:

    > cd $SNMPDIR/oblix/tools/setup
    
    
  2. Use the setup_agent command with the following options:

    -a-m <Manager Station>-t <Trap port>

To delete a trap destination in silent mode

  1. Change to the directory containing the SNMP setup_agent command.

    For example:

    > cd $SNMPDIR/oblix/tools/setup
    
    
  2. Use the setup_agent command with the following options:

    -d-m <Manager Station>-t <Trap port>

To configure general parameters first

  1. Change to the directory containing the SNMP setup_agent command.

    For example:

    > cd $SNMPDIR/oblix/tools/setup
    
    
  2. Use the following setup_agent command:

    > ./setup_agent -i $SNMPDIR -g -u <UDP Port> -c public -p <TCP Port>
    
    

    This goes to the Manager Station Trap Configuration menu.

To add an SNMP Manager directly after general parameters

  1. Change to the directory containing the SNMP setup_agent command.

    For example:

    > cd $SNMPDIR/oblix/tools/setup
    
    
  2. Use the following setup_agent command:

    > ./setup_agent -i $SNMPDIR -a -m <Mgr M/c> -t <Mgr Port>
    
    

To delete an SNMP Manager directly after adding one

  1. Change to the directory containing the SNMP setup_agent command.

    For example:

    > cd $SNMPDIR/oblix/tools/setup
    
    
  2. Use the following setup_agent command:

    > ./setup_agent -i $SNMPDIR -d -m <Mgr M/c> -t <Mgr Port>
    
    

    You can add any number of Manager Stations. The Agent then sends all the traps to the configured SNMP Managers.

12.6 Changing SNMP Configuration Settings

A configuration file named obscoreboard_params.xml contains information that defines the collection of SNMP statistics. This file is located in:

Component_install_dir/identity|access/oblix/config

where Component_install_dir is the directory where the component is installed and identity|access represents either the Identity Server or Access Server, respectively.

Identity System File: obscoreboard_params.xml

Access System File: obscoreboard_params.xml

In this file, you can configure threshold levels to determine when various MIB counters are activated.

The following parameters are specified only in the Access Server file obscoreboard_params.xml:

The following parameter is specified only in the Identity Server file obscoreboard_params.xml:

The following parameters are provided in both scoreboard files:

Changing these settings affect the memory map file used for SNMP data collection. On Unix, the memory map file is located in

/tmp/netpoint/scoreboard/component/process-id.osb

On Windows, this file is located in

Component_install_dir/oblix/scoreboard/process-id.osb

12.7 Logging for SNMP

The SNMP Agent supports logging. Once the SNMP Agent is enabled, it is always set to a certain log level. The SNMP logs can assist with troubleshooting. You can configure what is logged and the type of logs to generate in the Agent configuration file. This file resides in

SNMP_install_dir/oblix/config/snmp_agent_config_info.xml

where SNMP_install_dir is the directory where the SNMP Agent was installed.

The log_level parameter in the Agent configuration file may have one of the following values:

12.8 SNMP Messages

The following are SNMP-related messages.

Message:

MErrNoConfigFile {Could not find agent configuration file at location (full path to the agent configuration file)}

Description: The installation directory is not correct, or the configuration file is not present. Uninstall and reinstall the SNMP Agent.

Message:

MLogAgentStarted {Agent successfully started on port SNMP port number}

Description: Status message.

Message:

MErrAddressInUse {Agent was not able to bind to port port number, address already in use}

Description: The SNMP Agent is unable to bind to its configured TCP registration port. Reconfigure the Agent to use another TCP port, or make the port available by stopping the application using the port.


Note:

If you change the Agent TCP registration port, you must also specify the new port when enabling SNMP for the Identity or Access Server using the appropriate System Console.

Message:

Agent was not able to bind to specified port, system lacked sufficient buffer space or queue was full.

Description: The SNMP Agent port is unavailable.

Message:

MErrTLUnsupported {Agent was not able to bind to specified port, address family not supported by protocol family}

Description: The specified port does not support SNMP. Configure a different port.

Message:

MErrRetriveIDs {Error: Unable to determine the uid/gid for which this snmp agent is installed.}

Description: The user who tried to start the SNMP Agent does not have the appropriate permissions. The user should start the SNMP Agent as root or as the user who installed the Agent.

Message:

MErrCouldNotSetIDs {Error: You don't have sufficient access rights to run this snmp agent.}

Description: You need to log in with administrative rights to be able to install the SNMP Agent. If you did not do this, the Agent is unable to run.

Message:

MLogAlreadyRunning {Agent is already running with process id (Process identifier of the agent).}

Description: The user is trying to start the Agent when it is already running.

Message:

MErrRegBindFailed {Error: Unable to bind to configured registration port (configured registration port number).}

Description: The SNMP Agent is unable to bind to the port configured on the Oracle Access Manager server configuration page. Specify a different port, as described in "Enabling and Disabling SNMP Monitoring".

Message:

MErrRegListenFailed {Error: Unable to start listening on configured registration port (configured registration port number).}

Description: This message is displayed on Windows if the port is already in use by another application.

Message:

MErrReadingMsg {Error reading message sent by component.}

Description: The SNMP Agent and the Oracle Access Manager server talk over a TCP connection. If the Agent encounters a malformed message, it logs an error.

Message:

MErrNotRegMsg {Error: Agent expects only registration messages on the registration socket.}

Description: The Agent only expects registration messages on the TCP connection from a server that connects to it. If it finds that the message is not a registration message, it logs an error.

Message:

MErrMissingMmapFilename {Error: Registration message was missing the component scoreboard file name.}

Description: The scoreboard file is where the Identity or Access server stores the statistics that are read by the Agent. This name is communicated by the server to the Agent at registration time. If the registration request is missing the file information, this message is logged.

Message:

MErrMappingScoreboard {Error: Unable to memory map the scoreboard file (full path to the scoreboard file) registered by component.}

Description: This error can occur due to file permission issues, that is, the Agent cannot read or open the scoreboard file.

Message:

MErrUnknownComponent {Error: Unknown component type specified in scoreboard file.}

Description: The component type is specified in the registration request. The Agent processes information for the Identity Server and Access Server. If the component type is not either of these, this message is logged.

Message:

MErrIndexExists {Error: A component has already registered in table (OID for the table for that component) with index (index that is already in use by some other component).}

Description: The same instance of a component tried to register again. Each instance of a component is uniquely identified by a key or index by the same SNMP Agent. If another component instance tries to register using the same key or index, this message is logged.

Message:

MErrCreatingAgentSemaphore {Error: Unable to create named semaphore (full path to the agent semaphore file) for agent-component event dispatching.}

Description: The Agent and the component create one semaphore that is cleaned up at shutdown. In case of unclean shutdown, the semaphores are deleted on the next server/Agent startup. Probable causes are that the system has run out of semaphores or there are permission issues while creating the semaphore.

Message:

MErrOnSelect {Error: Select() call returned error code (error code returned for the select() call).}

Description: This is an error code returned directly from the function. This message is used for troubleshooting purposes.

Message:

MErrOnPoll {Error: Poll() call returned error code (error code returned for the poll() call).}

Description: This is an error code returned directly from the function. This message is used for troubleshooting purposes.

Message:

MErrNotDeregMsg {Error: Agent expected a de-registration message on the socket, instead got a message with code (message code for the message received).}

Description: The Agent only expects a de-registration message from a component once the component has registered.

Message:

MErrRemovingComponent {Error: Component with table oid (OID for the table for that component) and index (index which identifies the component in that table) could not be removed.}

Description: The component has already de-registered, and there has been another request to remove it.

Message:

MErrMissingEvent {Error: Unable to retrieve event from component with table oid (OID for the table for that component) and index (index which identifies the component in that table).}

Description: The component sends an event to the Agent, and the Agent converts this to an appropriate trap. The component also signals the Agent that it has dispatched an event. If the Agent is signaled but it does not find an event, this message is logged.

Message:

MErrMissingTrapData {Error: Missing trap meta-data for component from table oid (OID for the table) and index (index that identifies the component in that table) with event (event identifier supplied by the component).}

Description: The component did not deliver the complete data for an event.

Message:

MLogMappedScoreboard {Mapped scoreboard file (full path to the scoreboard file) for a component.}

Description: This is a status message.

Message:

MLogComponentRegistered {Component registered with table oid (OID for the table) and index (index that identifies the component).}

Description: This is a status message.

Message:

MLogComponentDeregistered {Component with table oid (OID for the table) and index (index that identifies the component) de-registered.}

Description: This is a status message.

Message:

MLogComponentFailed {Component with table oid (OID for the table) and index (index that identifies the component) failed.}

Description: This is a status message indicating that the Oracle Access Manager component did not deregister properly. This action is treated as a component failure by the SNMP Agent.

Message:

MLogSentTrap {Sent trap with trap oid (OID for the trap sent) for component with table oid (OID for the component table) and index (index that identifies the component in the table).}

Description: This is a status message.

Message:

MLogSemCleanup {Found left-over semaphore from previous run with key (key for the stale left-over semaphore) and file path (file path for the stale left-over semaphore), successfully cleaned up the semaphore.}

Description: Status message. The Agent and the component create one semaphore that is cleaned up at shutdown. In case of unclean shutdown, the semaphores are deleted on the next server/Agent startup.

Message:

MErrSemCleanup {Found left-over semaphore with key (key for the stale left-over semaphore) and file path (file path for the stale left-over semaphore). Encountered errors while removing it.}

Description: The Agent and the component create one semaphore that is cleaned up at shutdown. In case of unclean shutdown, the semaphores are deleted on the next server/Agent startup. This message would be logged if the Agent encountered errors while cleaning up the semaphores from a previous run. There may be permission issues.

Message:

MSBCreateFailed {Access Server: Could not create scoreboard file (full path for the file) with size file size.}

Description: The probable cause for this message is the system could not create the file due to insufficient space.

Message:

MCreateSemFailed {Access Server: Could not create event queue semaphore with path full path.}

Description: The Agent and the component create one semaphore that is cleaned up at shutdown. In case of unclean shutdown, the semaphores are deleted on the next server/Agent startup. This message is generated when the system has run out of semaphores or there are permission issues when creating the semaphore. Try increasing the semaphore limit on the machine.

Message:

MSBDirCreateFailed {Access Server: Could not create scoreboard file file name.}

Description: The system could not create the required directory for the scoreboard file, probably due to insufficient permissions.

12.9 Discrepancies Between Netstat and SNMP Values

When using the netstat command, the value returned for this command may not always match the information collected for the MIB variables:

aaaDirectoryServerNoOfLiveConnections 
coreidDirectoryServerNoOfLiveConnections

Table 12-11 explains the reason for this discrepancy and the chain of events that takes place

Table 12-11 Netstat Values and Number of Live Connections Displayed

Event Number Of Live Connections Netstat Value Comments

Server startup followed by directory server access.

5

5


The directory server goes down.

5

0

Oracle Access Manager does not update the counter unless it receives a request.

Oracle Access Manager tries to use a connection for accessing the directory server for servicing a request.

4

0

The directory server access returns an error because the directory server is down. The connection is marked as down and the NumberOfLiveConnections is decreased by one.

Directory server is restarted and Oracle Access Manager tries to reestablish the broken connection.

5

1

When a new connection is formed, the NumberOfLiveConnections is incremented by one. The mismatch between NumberOfLiveConnections and the Netstat value will be seen until all of the remaining four connections are marked as down and new connections are formed. The status for the remaining four connections will not be visible unless they are used.

Oracle Access Manager reestablishes all of the broken connections.

5

1

The netstat value matches NumberOfLiveConnections only after all connections are formed.


12.10 Configuring the Shutdown Interval

To ensure that an Identity or Access component can perform a clean shutdown, enough time must be allocated to ensure that all cleanup activities can be completed. For the Identity Server, the Access Server, and the SNMP Agent, the shutdown_time parameter specifies the time allocated for the server to attempt a clean shutdown. This parameter is located in globalparams.xml. The default shutdown time is five seconds.

The globalparams file location is as follows:

For Access Server:

AccessServer_install_dir/access/oblix/apps/common/bin/globalparams.xml

For Identity Server:

Identity_install_dir/identity/oblix/apps/common/bin/globalparams.xml

The default shutdown time appears as follows in these files:

shutdown_time:5

You can change the value to any time, specified in seconds.