ADSM-L

Re: SNMP on AIX with SNMP subagent of ADSM

1999-09-02 05:21:12
Subject: Re: SNMP on AIX with SNMP subagent of ADSM
From: Herfried Abel <HA7 AT DAIMLERCHRYSLER DOT COM>
Date: Thu, 2 Sep 1999 11:21:12 +0200
A piece of text out of the ADSM Admin Guide, I installed it for about 1 week ago
 and it works fine.

1.Modify server options file, dsmserv.opt, to specify the SNMP communication
method.

e.g:
commmethod                  snmp

         snmpheartbeatinterval    5
         snmpmessagecategory      severity

2.Install, configure, and start the SNMP agent as described in the documentation
 for that agent. The SNMP agent must support the DPI Version 2.0 standard. For
     example, the AIX SystemView agent is configured by customizing the file
/etc/snmpd.conf. A default configuration might look like this:

     logging    file=/var/snmp/snmpd.log  enabled
     logging    size=0  level=0
     community  public
     community  private 127.0.0.1   255.255.255.255 readWrite
     community  system  127.0.0.1   255.255.255.255 readWrite  1.17.2
     view       1.17.2 system enterprises view
     trap       public  * snmp_manager_ip_adr *   1.2.3 fe
     snmpd      maxpacket=16000 smuxtimeout=60


     where * snmp_manager_ip_adr * is the IP address of the system running the
SNMP management application.

3.Start ADSM SNMP subagent through the dsmsnmp executable.

4.Start the ADSM server to begin communication through the configured TCP/IP
port with the subagent.

5.Begin event logging for the SNMP receiver and enable individual events or
event severities to be reported to SNMP. For example, issue the following
commands:

     begin eventlogging snmp
     enable event snmp all

6.Define the ADSM SNMP MIB values for the SNMP manager to help format and
display the ADSM SNMP MIB variables and messages. The
   ADSMSERV.MIB file ships with the ADSM server and must be loaded by the SNMP
manager. For example, when you run NetView for OS/2 as an SNMP
   manager, the ADSMSERV.MIB file is copied to the \ netview_path\SNMP_MIB
directory and then loaded through the following command:

     [C:\] loadmib -load adsmserv.mib
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
And now some hints  from our TME10 Netview implementation:
And now some hints  from our TME10 Netview implementation:

ad 6) you will use the "Load Mib"  from your OpenView Mgmt. Station
ad 5) enable evant snmp all is not realy good, but fine for testing

There is a mib2trap script that creates a shell script out of the mib definition
 file. If you run this script it adds the traps to trapd.conf, but in our case
we had to change the enterprise in this genarated script, cause it was wrong.
We always got "trap with unknown format" in the Netviews event log. ( You see
the right enterprise there ). And the traps also were set up to LOG only, so if
the traps where ok then, we saw no errors and also no traps in the
event log. You have to change theire attitude in Openview Trap Custom.

herfried







Tiong Lee Lan <tiongll AT CYBERWAY.COM DOT SG> on 02.09.99 10:43:20

Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>



 To:      ADSM-L AT VM.MARIST DOT EDU

 cc:



 Subject: SNMP on AIX with SNMP subagent of ADSM









Hi,

I'm trying to use SNMP on AIX together with the SNMP subagent of ADSM to send
traps to my SNMP Manager (HP Openview) whenever there is an error with ADSM.  I
am not sure how to set it up properly.  First I tried to get some values like
ibmAdsm with snmpinfo but I also get unknown variable.  The mibs are defined
into the /etc/mib.defs when ADSM was installed.  Anybody can help?

Regards,
Lee Lan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Experience is not what happens to a person. It is what a
 person does with what happens." Aldous Huxley
<Prev in Thread] Current Thread [Next in Thread>