ADSM-L

TSM & SNMP queries

2001-02-08 11:19:40
Subject: TSM & SNMP queries
From: Gyula Bereczky <bx AT DATATRANS DOT HU>
Date: Thu, 8 Feb 2001 16:46:58 +0100
Hello *SMers,
I run into a minor problem while playing with TSM & SNMP.
The manual sais I'd be able to run arbitrary server scripts via snmp, 
so I thougt it would be nice to monitor database, log and storage pool 
usage with mrtg..
So I configured snmpd, dpid2, dsmserv.opt for dsmsnmpd, defined
SNMPADMIN on the server, and set
enterprises.ibm.ibmProd.ibmAdsm.ibmAdsmMIB.ibmAdsmMIBObjects.\
ibmAdsmGroupName1.ibmAdsmServer2Table.ibmAdsmServer2TableEntry.\
ibmAdsmServerScript1.1 = "q_db_util"
.. and tried to query.. however.. I can't get the results expected:

The query:
snmpget -d -Cf <hostname> <community> enterprises.ibm.ibmProd.ibmAdsm.\
ibmAdsmMIB.ibmAdsmMIBObjects.ibmAdsmGroupName1.ibmAdsmServer2Table.\
ibmAdsmServer2TableEntry.ibmAdsmServerM1ReturnValue.1

Server actlog sais:
ANR0407I Session 69 started for administrator SNMPADMIN (SNMP) (Tcp/Ip
127.0.0.1(46944)).
ANR2017I Administrator SNMPADMIN issued command: RUN q_db_util 
ANR2017I Administrator SNMPADMIN issued command: select pct_utilized from db
ANR1462I RUN: Command script Q_DB_UTIL completed successfully.
ANR0405I Session 69 ended for administrator SNMPADMIN (SNMP).

The snmp packets sent ( host/community part removed ):
query:
0016: A0 82 00 28  02 04 60 EE  BC 8E 02 01  00 02 01 00     ..(..`îź.......
0032: 30 82 00 18  30 82 00 14  06 10 2B 06  01 04 01 02    0...0.....+.....
0048: 06 81 07 01  02 01 03 01  07 01 05 00                 ............

answer:
0016: A2 82 00 28  02 04 60 EE  BC 8E 02 01  02 02 01 01    ˘..(..`îź.......
                                             ^^       ^^
0032: 30 82 00 18  30 82 00 14  06 10 2B 06  01 04 01 02    0...0.....+.....
0048: 06 81 07 01  02 01 03 01  07 01 05 00                 ............

Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.

However, I was able to retrieve this variable prior defining the script..

Anybody knows what is the problem?
Does anybody use snmp to monitor *sm? ( I was able to generate and 
receive traps, but I would like to monitor db/log/stg usage specifically.. )
( AIX 4.3.3, TSM 4.1.1.0, UCD-SNMP 4.1.2 /from source/ )

-- 
       bx
       bx
"Seize the day - I heared him say - life will not always be this way,
Look around, hear the sounds, cherish your life while you're still around."
<Prev in Thread] Current Thread [Next in Thread>
  • TSM & SNMP queries, Gyula Bereczky <=