Previous Topic: SNMP SupportNext Topic: Test SNMP Gets for Red Hat Enterprise Linux Advanced Server


HPUX

You need the HPUX Master Agent, which comes with the operating system.

Configure the SNMP Agent on Windows

To configure the SNMP agent on Windows

  1. Be sure that the NETE_PS_ROOT environment variable is set to the SiteMinder installation directory. The Policy Server installation program should have already done this.
  2. Open siteminder_home\config\snmp.conf file and edit the last row to contain the full path to siteminder_home\log\snmp.log.

    Note: You only need to do this if you did not specify the Policy Server installation program to automatically configure SNMP.

    Correct example: LOG_FILE=C:\Program Files\Netegrity\siteminder\ log\snmp.LOG

    Incorrect example: LOG_FILE=$NETE_PS_ROOT\log\snmp.log

  3. Edit the windows_dir/java_service.ini file.

    Note: You only need to do this if you did not specify the Policy Server installation to automatically configure SNMP.

    1. Set SERVICE_BINARY_NAME to the full path name of JavaService.exe.

      Example: SERVICE_BINARY_NAME=c:\winnt\JavaService.exe

    2. Set WORKING_DIR to the full path to directory siteminder_home\bin:

      Example: WORKING_DIR=C:\Program files\Netegrity\siteminder\bin

    3. Set JRE_PATH to the full path of javaw.exe.
  4. Run siteminder_home\bin\thirdparty\proxyreg.exe to change the registry keys for the apadll.dll and snmp.conf:
    proxyreg.exe full_path_for_apadll.dll full_path_for_snmp.conf
    

    Important! Before running a SiteMinder utility or executable on Windows Server 2008, open the command line window with administrator permissions. Open the command line window this way, even if your account has administrator privileges.

    Example: proxyreg.exe "c:\program files\netegrity\siteminder\ bin\ thirdparty\apadll.dll" "c:\programfiles\netegrity\ siteminder\ config\ snmp.conf"

  5. Run WINNT dir/JavaService.exe with the -install option, to register the Netegrity SNMP agent as a WINNT service.
  6. Start the Netegrity SNMP agent by using the Windows Services dialog box.
  7. Restart the SNMP service.
How to Configure SNMP Event Trapping on Windows

Configuring SNMP event trapping on Windows requires you to:

  1. Enable SNMP event trapping.
  2. Configure snmptrap.config.
Enable SNMP Event Trapping

To enable SNMP event trapping, use the XPSConfig utility to set the event handler library (eventsnmp.dll) to the XPSAudit list. The default location of eventsnmp.dll is policy_server_home\bin.

policy_server_home

Specifies the Policy Server installation location.

Note: More information on using the XPSConfig utility to set event handler libraries exists in the Policy Server Administration Guide.

After enabling SNMP event trapping, configure the snmptrap.conf file.

Configure snmptrap.conf

To configure the SNMP configuration file

  1. Edit snmptrap.conf.

    Note: snmptrap.conf is located in policy_server_home\config.

    policy_server_home

    Specifies the Policy Server installation location.

  2. For the specified trap(s) that you want to receive, uncomment out the appropriate line(s).
  3. Specify the IP Address, port number, and community for where you want the trap to be sent.
  4. Save the snmptrap.config file with the new changes.
  5. Restart the Policy Server.

More Information:

Stop and Restart the Policy Server

Configure the SNMP Agent on UNIX Systems

To configure the SNMP Agent on UNIX systems

  1. Ensure the NETE_PS_ROOT environment variable is set to the SiteMinder installation directory. The Policy Server installation program should have already done this.

    Example: /home/smuser/siteminder

  2. Edit the file /etc/snmp/conf/RunSubagent.sh:
    1. Set the correct JRE path: JAVA_HOME=$INSTALL_HOME/bin/jdk/<required_version>/jre
    2. Set the correct SiteMinder path:

      Example: INSTALL_HOME=/home/smuser/siteminder

      Note: The INSTALL_HOME variable should contain the full path for the SiteMinder installation directory.

  3. Restart the SNMP daemon on Solaris
    1. Become root.
    2. Goto /etc/rc3.d.
    3. Execute the S76snmpdx script twice, as follows:

      sh S76snmpdx stop to stop the running Solaris master agent.

      sh S76snmpdx start to start the Solaris master agent and Netegrity subagent.

How to Configure SNMP Event Trapping on UNIX Systems

Configuring SNMP event trapping on UNIX systems requires you to:

  1. Enable SNMP event trapping.
  2. Configure snmptrap.config.
Enable SNMP event trapping

To enable SNMP event trapping, use the XPSConfig utility to set the event handler library (libeventsnmp.so) to the XPSAudit list. The default location of libeventsnmp.so is policy_server_home/lib.

policy_server_home

Specifies the Policy Server installation location.

Note: More information on using the XPSConfig utility to set event handler libraries exists in the Policy Server Administration Guide.

After enabling SNMP event trapping, configure the snmptrap.config file.

Configure snmptrap.config

To configure snmptrap.config

  1. Edit snmptrap.config, which is located in /home/smuser/siteminder/config.
  2. For the specified trap(s) that you want to receive, uncomment out the appropriate line(s).
  3. Specify the IP Address, port number, and community for where you want the trap to be sent.
  4. Save the snmptrap.config file with the new changes.
  5. Restart the Policy Server.

More Information:

Stop and Restart the Policy Server

Stop and Restart the Policy Server

In order for the SNMP configurations changes to take effect, you need to stop and restart the Policy Server using the Status tab of the Policy Server Management Console.