magent issue on AIX

Technote (troubleshooting)


Problem(Abstract)

I have installed TWS network on more AIX servers and I have configured the magent process to send SNMP traps to NetCool monitoring , but the traps do not seem to reach the NetCool trap exploder service.

Cause

When you customize TWS engine for integrating it with Tivoli Netview, the customize script modifies snmp configuration file /etc/snmpd.conf (AIX 5.1) or /etc/snmpdv3.conf (AIX 5.2 and later) to add a new smux agent and define the destination node for traps:

# begin unison maestro OV
# @(#)$Id: Maestro.s.c,v 1.6 1995/07/20 02:26:43 alanh viola_thunder $
#
# This file contains the Unison's Maestro agent registration.
#
trap public cphpis09.homedepot.com 1.3.6.1.4.1.736 fe
smux 1.3.6.1.4.1.736 magent_password 127.0.0.1 # maestro agent
# end unison maestro OV

(see TWS 8.2.1 Planning and Installation Guide, ch. 13 - Integration with Tivoli NetView)

In AIX 5.2 and later, the default SNMP agent running at system boot time is the non-encrypted version of SNMPv3. SNMPv3 uses the /etc/snmpdv3.conf file as its configuration file.
The trap entries in the /etc/snmpd.conf file will become the NOTIFY, TARGET_ADDRESS, and TARGET_PARAMETERS entries in the /etc/snmpdv3.conf file.
The following is a template of trap entries into /etc/snmpdv3.conf file:
...
#----------------------------------------------------------------------------------------------------------------------------------------------------------
# NOTIFY
#
notifyName tag type storageType
#----------------------------------------------------------------------------------------------------------------------------------------------------------
# TARGET_ADDRESS
# Defines a management application's address and parameters
# to be used in sending notifications.
# Format is:
# targetAddrName tDomain tAddress tagList targetParams timeout retryCount storageType
TARGET_ADDRESS Target1 UDP 127.0.0.1 traptag trapparams1 - - -
TARGET_ADDRESS Target2 UDP 9.3.149.49 traptag trapparms2 - - -
#----------------------------------------------------------------------------------------------------------------------------------------------------------

#----------------------------------------------------------------------------------------------------------------------------------------------------------
# TARGET_PARAMETERS
# Defines the message processing and security parameters
# to be used in sending notifications to a particular management target.
# Format is:
# paramsName mpModel securityModel securityName securityLevel storageType
TARGET_PARAMETERS trapparams1 SNMPv1 SNMPv1 public noAuthNoPriv -
TARGET_PARAMETERS trapparms2 SNMPv1 SNMPv1 daniel noAuthNoPriv -
#-------------------------------------------------------------------------------------------------------------------------------------------------------
...

Resolving the problem

During its execution the customize script inserts the same trap entries into both /etc/snmpd.conf and /etc/snmpdv3.conf files. But the trap entries for SNMPv1 (AIX 5.1 and earlier) are different from the trap entries for SNMPv3, so they will not work with SNMPv3.

You need to modify manually any wrong trap entry configured in the etc/snmpdv3.conf, migrating "trap" keyword to the TARGET_ADDRESS and TARGET_PARAMETERS keywords.

To perform the migration correctly you can refer to AIX official documentation.

How to install correctly the modified file /etc/snmpdv3.conf?

1. Make a backup of /etc/snmpdv3.conf
# cp /etc/snmpdv3.conf /etc/snmpdv3.conf.022707

2. Replace /etc/snmpdv3.conf with the modified snmpdv3.conf file.
# cp snmpdv3.conf.mod /etc/snmpdv3.conf

3. Stop the subagents
# stopsrc -s hostmibd;stopsrc -s aixmibd;stopsrc -s snmpmibd

4. Stop snmpd
# stopsrc -s snmpd

5. Restart snmpd
# startsrc -s snmpd

6. Restart the subagents
# startsrc -s hostmibd
# startsrc -s aixmibd
# startsrc -s snmpmibd

7. Test the new configuration file.
SNMPv3 will provide identical functionality that SNMPv1 offered.

Related information

AIX Infocenter - snmpdv3.conf description
Migrating from SNMPv1 to SNMPv3

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Tivoli Workload Scheduler

Software version:

8.3, 8.4, 8.5, 8.5.1

Operating system(s):

AIX

Reference #:

1256637

Modified date:

2010-02-26

Translate my page

Machine Translation

Content navigation