otherwise, without the prior written permission of iAnywhere Solutions, Inc. iAnywhere Solutions, Inc. is a subsidiary of Sybase, Inc.
Sybase, SYBASE (logo), AccelaTrade, ADA Workbench, Adaptable Windowing Environment, Adaptive Component Architecture, Adaptive Server,
Adaptive Server Anywhere, Adaptive Server Enterprise, Adaptive Server Enterprise Monitor, Adaptive Server Enterprise Replication, Adaptive
Server Everywhere, Adaptive Server IQ, Adaptive Warehouse, AnswerBase, Anywhere Studio, Application Manager, AppModeler,
APT Workbench, APT-Build, APT-Edit, APT-Execute, APT-Library, APT-Translator, ASEP, AvantGo, AvantGo Application Alerts, AvantGo
Mobile Delivery,AvantGo Mobile Document Viewer, AvantGo Mobile Inspection, AvantGo Mobile Marketing Channel, AvantGo Mobile Pharma,
AvantGo Mobile Sales, AvantGo Pylon, AvantGo Pylon Application Server, AvantGoPylon Conduit, AvantGo Pylon PIM Server, AvantGo
Pylon Pro, Backup Server,BayCam, Bit-Wise, BizTracker, Certified PowerBuilder Developer, Certified SYBASE Professional, Certified SYBASE
Professional Logo, ClearConnect, Client Services, Client-Library, CodeBank, Column Design, ComponentPack, Connection Manager, Convoy/DM,
Copernicus, CSP,Data Pipeline, Data Workbench, DataArchitect, Database Analyzer, DataExpress, DataServer,DataWindow, DB-Library,
dbQueue, Developers Workbench, Direct Connect Anywhere, DirectConnect, Distribution Director, Dynamic Mobility Model, Dynamo, e-ADK,
E-Anywhere, e-Biz Integrator, EC Gateway, ECMAP, ECRTP, eFulfillment Accelerator, Electronic Case Management, Embedded SQL, EMS,
Enterprise Application Studio, Enterprise Client/Server, Enterprise Connect, Enterprise Data Studio, Enterprise Manager, Enterprise Portal (logo),
Enterprise SQL Server Manager, Enterprise WorkArchitecture, Enterprise WorkDesigner, Enterprise WorkModeler, eProcurement Accelerator,
eremote, Everything Works Better When Everything Works Together, EWA, E-Whatever,Financial Fusion, Financial Fusion (and design), Financial
Fusion Server, Formula One, Fusion Powered e-Finance, Fusion Powered Financial Destinations, Fusion Powered STP, Gateway Manager,
GeoPoint, GlobalFIX, iAnywhere, iAnywhere Solutions, ImpactNow, Industry WarehouseStudio, InfoMaker, Information Anywhere, Information
Everywhere, InformationConnect, InstaHelp, Intelligent Self-Care, InternetBuilder, iremote, iScript, Jaguar CTS, jConnect for JDBC,
KnowledgeBase, Logical Memory Manager, Mail Anywhere Studio, MainframeConnect, Maintenance Express, Manage Anywhere Studio, MAP,
M-Business Channel, M-Business Network, M-Business Server, MDI Access Server, MDI Database Gateway,media.splash, Message Anywhere
Server, MetaWorks, MethodSet, ML Query,MobiCATS, My AvantGo,My AvantGo Media Channel, My AvantGo Mobile Marketing, MySupport,
Net-Gateway, Net-Library,New Era of Networks, Next Generation Learning, Next Generation Learning Studio, O DEVICE, OASiS, OASiS logo,
ObjectConnect, ObjectCycle, OmniConnect, OmniSQL Access Module, OmniSQL Toolkit,Open Biz, Open Business Interchange, Open Client,
Open Client/Server, Open Client/Server Interfaces, Open ClientConnect, Open Gateway, Open Server, Open ServerConnect, Open Solutions,
Optima++, Orchestration Studio, Partnerships that Work, PB-Gen, PC APT Execute, PC DB-Net, PC Net Library, PhysicalArchitect, Pocket
PowerBuilder, PocketBuilder, Power Through Knowledge, power.stop,Power++, PowerAMC, PowerBuilder, PowerBuilder Foundation Class
Library, PowerDesigner, PowerDimensions, PowerDynamo, Powering the New Economy, PowerJ, PowerScript, PowerSite, PowerSocket,
Powersoft, Powersoft Portfolio, Powersoft Professional, PowerStage, PowerStudio, PowerTips, PowerWare Desktop, PowerWare Enterprise,
ProcessAnalyst, QAnywhere, Rapport, Relational Beans, RepConnector, Replication Agent, Replication Driver, Replication Server, Replication
Server Manager, Replication Toolkit, Report Workbench, Report-Execute, Resource Manager, RW-DisplayLib, RW-Library, S.W.I.F.T.Message
Format Libraries, SAFE, SAFE/PRO, SDF, Secure SQL Server,Secure SQL Toolset, Security Guardian, SKILS, smart.partners, smart.parts,
smart.script, SQL Advantage, SQL Anywhere, SQL Anywhere Studio, SQL Code Checker, SQL Debug, SQL Edit, SQL Edit/TPU,
SQL Everywhere, SQL Modeler, SQL Remote, SQL Server, SQL Server Manager, SQL Server SNMP SubAgent, SQL Server/CFT,
SQL Server/DBM, SQL SMART, SQL Station, SQL Toolset, SQLJ, Stage III Engineering, Startup.Com, STEP, SupportNow, Sybase Central,
Sybase Client/Server Interfaces, Sybase Development Framework, Sybase Financial Server, Sybase Gateways, Sybase Learning Connection,
Sybase MPP,Sybase SQL Desktop, Sybase SQL Lifecycle, Sybase SQL Workgroup, Sybase Synergy Program, Sybase User Workbench, Sybase
Virtual Server Architecture, SybaseWare, Syber Financial, SyberAssist, SybMD, SyBooks, System 10, System 11, System XI (logo), SystemTools,
Tabular Data Stream, The Enterprise Client/Server Company, The Extensible Software Platform, The Future Is Wide Open, The Learning
Connection, The Model For Client/Server Solutions, The Online Information Center, The Power of One, TotalFix, TradeForce, Transact-SQL,
Translation Toolkit,Turning Imagination Into Reality, UltraLite, UltraLite.NET,UNIBOM, Unilib, Uninull, Unisep, Unistring, URK Runtime Kit
for UniCode, Versacore, Viewer, VisualWriter, VQL, Warehouse Control Center, Warehouse Studio, WarehouseWORKS, WarehouseArchitect,
Watcom,Watcom SQL, Watcom SQL Server, Web Deployment Kit, Web.PB,Web.SQL,WebSights, WebViewer, WorkGroup SQL Server,
XA-Library, XA-Server, and XP Server are trademarks of Sybase, Inc. or its subsidiaries.
All other trademarks are property of their respective owners.
SubjectThis book covers material related to running and configuring the Adaptive
Server Anywhere SNMP Extension Agent.
AudienceThis manual is for Adaptive Server Anywhere users who wish to use the
Adaptive Server Anywhere SNMP Extension Agent on Windows 2000,
Windows XP, or Windows Server 2003 (32-bit versions). It is to be used in
conjunction with other manuals in the documentation set.
v
SQL Anywhere Studio documentation
This book is part of the SQL Anywhere documentation set. This section
describes the books in the documentation set and how you can use them.
The SQL Anywhere
Studio documentation
The SQL Anywhere Studio documentation is available in a variety of forms:
in an online form that combines all books in one large help file; as separate
PDF files for each book; and as printed books that you can purchase. The
documentation consists of the following books:
♦ Introducing SQL Anywhere Studio This book provides an overview of
the SQL Anywhere Studio database management and synchronization
technologies. It includes tutorials to introduce you to each of the pieces
that make up SQL Anywhere Studio.
♦ What’s New in SQL Anywhere Studio This book is for users of
previous versions of the software. It lists new features in this and
previous releases of the product and describes upgrade procedures.
♦ Adaptive Server Anywhere Database Administration Guide This
book covers material related to running, managing, and configuring
databases and database servers.
♦ Adaptive Server Anywhere SQL User’s Guide This book describes
how to design and create databases; how to import, export, and modify
data; how to retrieve data; and how to build stored procedures and
triggers.
♦ Adaptive Server Anywhere SQL Reference Manual This book
provides a complete reference for the SQL language used by Adaptive
Server Anywhere. It also describes the Adaptive Server Anywhere
system tables and procedures.
♦ Adaptive Server Anywhere Programming Guide This book describes
how to build and deploy database applications using the C, C++, and Java
programming languages. Users of tools such as Visual Basic and
PowerBuilder can use the programming interfaces provided by those
tools. It also describes the Adaptive Server Anywhere ADO.NET data
provider.
♦ Adaptive Server Anywhere SNMP Extension Agent User’s Guide
This book describes how to configure the Adaptive Server Anywhere
SNMP Extension Agent for use with SNMP management applications to
manage Adaptive Server Anywhere databases.
♦ Adaptive Server Anywhere Error Messages This book provides a
complete listing of Adaptive Server Anywhere error messages together
with diagnostic information.
vi
♦ SQL Anywhere Studio Security Guide This book provides
information about security features in Adaptive Server Anywhere
databases. Adaptive Server Anywhere 7.0 was awarded a TCSEC
(Trusted Computer System Evaluation Criteria) C2 security rating from
the U.S. Government. This book may be of interest to those who wish to
run the current version of Adaptive Server Anywhere in a manner
equivalent to the C2-certified environment.
♦ MobiLink Administration Guide This book describes how to use the
MobiLink data synchronization system for mobile computing, which
enables sharing of data between a single Oracle, Sybase, Microsoft or
IBM database and many Adaptive Server Anywhere or UltraLite
databases.
♦ MobiLink Clients This book describes how to set up and synchronize
Adaptive Server Anywhere and UltraLite remote databases.
♦ MobiLink Server-Initiated Synchronization User’s Guide This book
describes MobiLink server-initiated synchronization, a feature of
MobiLink that allows you to initiate synchronization from the
consolidated database.
♦ MobiLink Tutorials This book provides several tutorials that walk you
through how to set up and run MobiLink applications.
♦ QAnywhere User’s Guide This manual describes MobiLink
QAnywhere, a messaging platform that enables the development and
deployment of messaging applications for mobile and wireless clients, as
well as traditional desktop and laptop clients.
♦ iAnywhere Solutions ODBC Drivers This book describes how to set
up ODBC drivers to access consolidated databases other than Adaptive
Server Anywhere from the MobiLink synchronization server and from
Adaptive Server Anywhere remote data access.
♦ SQL Remote User’s Guide This book describes all aspects of the
SQL Remote data replication system for mobile computing, which
enables sharing of data between a single Adaptive Server Anywhere or
Adaptive Server Enterprise database and many Adaptive Server
Anywhere databases using an indirect link such as e-mail or file transfer.
♦ SQL Anywhere Studio Help This book includes the context-sensitive
help for Sybase Central, Interactive SQL, and other graphical tools. It is
not included in the printed documentation set.
♦ UltraLite Database User’s Guide This book is intended for all
UltraLite developers. It introduces the UltraLite database system and
provides information common to all UltraLite programming interfaces.
vii
♦ UltraLite Interface Guides A separate book is provided for each
UltraLite programming interface. Some of these interfaces are provided
as UltraLite components for rapid application development, and others
are provided as static interfaces for C, C++, and Java development.
In addition to this documentation set, PowerDesigner and InfoMaker include
their own online documentation.
Documentation formatsSQL Anywhere Studio provides documentation in the following formats:
♦ Online documentation The online documentation contains the
complete SQL Anywhere Studio documentation, including both the
books and the context-sensitive help for SQL Anywhere tools. The online
documentation is updated with each maintenance release of the product,
and is the most complete and up-to-date source of documentation.
To access the online documentation on Windows operating systems,
choose Start ➤ Programs ➤ SQL Anywhere 9 ➤ Online Books. You can
navigate the online documentation using the HTML Help table of
contents, index, and search facility in the left pane, as well as using the
links and menus in the right pane.
To access the online documentation on UNIX operating systems, see the
HTML documentation under your SQL Anywhere installation.
♦ PDF books The SQL Anywhere books are provided as a set of PDF
files, viewable with Adobe Acrobat Reader.
The PDF books are accessible from the online books, or from the
Windows Start menu.
viii
♦ Printed books The complete set of books is available from Sybase
sales or from eShop, the Sybase online store at
http://eshop.sybase.com/eshop/documentation
.
Documentation conventions
This section lists the typographic and graphical conventions used in this
documentation.
Syntax conventionsThe following conventions are used in the SQL syntax descriptions:
♦ Keywords All SQL keywords appear in upper case, like the words
ALTER TABLE in the following example:
ALTER TABLE [ owner.]table-name
♦ Placeholders Items that must be replaced with appropriate identifiers
or expressions are shown like the words
following example:
ALTER TABLE [ owner.]table-name
♦ Repeating items Lists of repeating items are shown with an element of
the list followed by an ellipsis (three dots), like
following example:
ADD column-definition [ column-constraint, ... ]
One or more list elements are allowed. In this example, if more than one
is specified, they must be separated by commas.
♦ Optional portions Optional portions of a statement are enclosed by
square brackets.
RELEASE SAVEPOINT [ savepoint-name ]
owner
and
column-constraint
table-name
in the
in the
These square brackets indicate that the
square brackets should not be typed.
♦ Options When none or only one of a list of items can be chosen,
vertical bars separate the items and the list is enclosed in square brackets.
[ ASC | DESC ]
For example, you can choose one of ASC, DESC, or neither. The square
brackets should not be typed.
♦ Alternatives When precisely one of the options must be chosen, the
alternatives are enclosed in curly braces and a bar is used to separate the
options.
[ QUOTES { ON | OFF } ]
If the QUOTES option is used, one of ON or OFF must be provided. The
brackets and braces should not be typed.
savepoint-name
is optional. The
ix
Graphic iconsThe following icons are used in this documentation.
API
♦ A client application.
♦ A database server, such as Sybase Adaptive Server Anywhere.
♦ A database. In some high-level diagrams, the icon may be used to
represent both the database and the database server that manages it.
♦ Replication or synchronization middleware. These assist in sharing data
among databases. Examples are the MobiLink Synchronization Server
and the SQL Remote Message Agent.
Many of the examples throughout the documentation use the Adaptive
Server Anywhere sample database.
The sample database is held in a file named
your SQL Anywhere directory.
The sample database represents a small company. It contains internal
information about the company (employees, departments, and finances) as
well as product information and sales information (sales orders, customers,
and contacts). All information in the database is fictional.
The following figure shows the tables in the sample database and how they
relate to each other.
asademo.db
, and is located in
xi
Finding out more and providing feedback
We would like to receive your opinions, suggestions, and feedback on this
documentation.
You can provide feedback on this documentation and on the software
through newsgroups set up to discuss SQL Anywhere technologies. These
newsgroups can be found on the
iAnywhere Solutions has no obligation to provide solutions, information
or ideas on its newsgroups, nor is iAnywhere Solutions obliged to provide
anything other than a systems operator to monitor the service and insure its
operation and availability.
forums.sybase.com
news server.
xii
iAnywhere Solutions Technical Advisors as well as other staff assist on the
newsgroup service when they have time available. They offer their help
on a volunteer basis and may not be available on a regular basis to provide
solutions and information. Their ability to help is based on their workload.
You can e-mail comments and suggestions to the SQL Anywhere
documentation team at iasdoc@ianywhere.com. Although we do not
undertake to reply to e-mails at that address, you can be sure we will read
your suggestions with interest.
PART I
USING THE ADAPTIVE
SERVER ANYWHERE
SNMP EXTENSION AGENT
This part describes how to set up and configure the Adaptive Server
Anywhere SNMP Extension Agent.
CHAPTER 1
The Adaptive Server Anywhere SNMP
Extension Agent
About this chapterThis chapter introduces you to the Adaptive Server Anywhere SNMP
Extension Agent.
Contents
Topic:page
Introduction to the Adaptive Server Anywhere SNMP Extension
Agent
Understanding SNMP6
Using the Adaptive Server Anywhere SNMP Extension Agent10
4
3
Introduction to the Adaptive Server Anywhere
SNMP Extension Agent
If you are running Adaptive Server Anywhere on Windows 2000, Windows
XP, or Windows Server 2003 (32-bit versions), you can use the Adaptive
Server Anywhere SNMP Extension Agent in conjunction with SNMP
management applications to manage your Adaptive Server Anywhere
databases. One agent can be used to monitor several different databases
running on different database servers running on different machines.
Using the Adaptive Server Anywhere SNMP Extension Agent, you can do
the following:
♦ retrieve the value of all server and database statistics
♦ retrieve the value of all server and database properties
♦ retrieve the value of all PUBLIC database options
♦ set the value for any PUBLIC database option
♦ execute stored procedures
♦ generate traps based on property or statistic values
Supplied filesThe following files for the Adaptive Server Anywhere SNMP Extension
Agent are included in your SQL Anywhere Studio installation:
♦ dbsnmp9.dllThe Adaptive Server Anywhere SNMP Extension Agent.
This file is located in
♦ iAnywhere.mibThe Adaptive Server Anywhere MIB contains all the
OIDs for database server and database properties, statistics, and options
that can be accessed using the Adaptive Server Anywhere SNMP
Extension Agent.
♦ RDBMS-MIB.mibThe is a generic MIB for relational database
management systems and contains OIDs that can be accessed using the
Adaptive Server Anywhere SNMP Extension Agent.
♦ SNMPv2-SMI.mibThis MIB is referenced by the Adaptive Server
Anywhere and RDBMS MIBs.
♦ SNMPv2-TC.mibThis MIB is referenced by the Adaptive Server
Anywhere and RDBMS MIBs.
♦ SYBASE-MIB.mibThe Sybase MIB. This MIB is referenced by the
Adaptive Server Anywhere MIB.
4
C:\Program Files\Sybase\SQL Anywhere 9\win32
.
Chapter 1. The Adaptive Server Anywhere SNMP Extension Agent
♦ asasnmp.iniThis file lists the databases that the Adaptive Server
Anywhere SNMP Extension Agent monitors. By default, this file is
located in
C:\Program Files\Sybase\SQL Anywhere 9\win32
.
5
Understanding SNMP
Simple Network Management Protocol (SNMP) is a standard protocol used
for network management. SNMP allows managers and agents to
communicate: managers send requests to agents, and agents respond to
queries from managers. Additionally, agents can notify managers when
specific events occur using notifications called traps.
SNMP agents handle requests to get and set the values of variables for
managed objects. Each variable has a single value, and values are generally
strings or integers, although they may also be other types.
Variables are kept in a global hierarchy, and each variable has a unique
number under its parent. The full name of a variable (including all its
parents) is called the Object Identifier (OID). All OIDs that are owned by
Sybase begin with 1.3.6.1.4.1.897.
The list of OIDs that an agent supports, including their names, types, and
other information are stored in a file called a Management InformationBase (MIB).
A MIB is a database that stores network management information about
managed objects. The MIB is separate from the Adaptive Server Anywhere
database you are monitoring using the Adaptive Server Anywhere SNMP
Extension Agent. The values of MIB objects can be changed or retrieved
using SNMP. MIB objects are organized in a hierarchy with the most general
information about the network located at the top level of the hierarchy. The
Adaptive Server Anywhere SNMP Extension Agent supports the following
MIBs:
♦ Adaptive Server Anywhere MIBa MIB created specifically for the
Adaptive Server Anywhere SNMP Extension Agent. All the OIDs in the
Adaptive Server Anywhere MIB begin with 1.3.6.1.4.1.897.2. The
Adaptive Server Anywhere MIB lists the OIDs for the statistics,
properties, and option values that can be retrieved, and in some cases set,
using the Adaptive Server Anywhere SNMP Extension Agent.
☞ For more information about the Adaptive Server Anywhere MIB, see
“The Adaptive Server Anywhere MIB” on page 7.
♦ RDBMS MIBa generic, vendor-independent MIB for relational
databases. This MIB contains information about the database servers and
databases in your system.
☞ For more information about the RDBMS MIB, see “The RDBMS
MIB” on page 9.
6
Chapter 1. The Adaptive Server Anywhere SNMP Extension Agent
The Adaptive Server Anywhere MIB
The Adaptive Server Anywhere MIB was created for the Adaptive Server
Anywhere SNMP Extension Agent. It includes all database server statistics
and properties, as well as all database statistics, properties, and options. The
statistics and properties are all read-only (with a few exceptions), and the
database options are all read-write.
By default, the Adaptive Server Anywhere MIB is located in
Files\Sybase\SQL Anywhere 9\snmp\iAnywhere.mib
☞ For information about the tables in the Adaptive Server Anywhere MIB,
see “Adaptive Server Anywhere MIB Reference” on page 23.
☞ For information about setting values in the Adaptive Server Anywhere
MIB, see “Setting values using the Adaptive Server Anywhere SNMP
Extension Agent” on page 17.
The following hierarchy describes the Adaptive Server Anywhere MIB:
OIDNameDescription
1.3.6.1.4.897.2.1.1.n.
1.3.6.1.4.897.2.1.2.n.
1.3.6.1.4.897.2.2.1.n.
1.3.6.1.4.897.2.2.2.n.
1.3.6.1.4.897.2.2.3.n.
db
db
db
db
db
asaServer.asaSrvStatReturns the value of server statistic
n
on databasedb.
asaServer.asaSrvPropReturns the value of server property
n
on databasedb.
asaDb.asaDbStatReturns the value of database statis-
ticnon databasedb.
asaDb.asaDbPropReturns the value of database prop-
ertynon databasedb.
asaDb.asaDbOptReturns the value of database option
n
on databasedb.
C:\Program
.
1.3.6.1.4.897.2.3.1asaAgent.asaVersionReturns the version of the Adaptive
Server Anywhere Extension Agent.
1.3.6.1.4.897.2.3.2.
db
asaAgent.asaDbConnStrReturns the connection string for
databasedb.
7
OIDNameDescription
1.3.6.1.4.897.2.3.3.
1.3.6.1.4.897.2.3.4.
1.3.6.1.4.897.2.3.5.
db
db
db
asaAgent.asaConnectedReturns whether the Adaptive
Server Anywhere Extension Agent
is connected to databasedb. Setting
this value to 0 causes the Adaptive
Server Anywhere Extension Agent
to shut down the database1, while
setting this value to 1 causes the
Adaptive Server Anywhere Extension Agent to attempt to start the
database2.
ning. Setting this value to 0 causes
the Adaptive Server Anywhere Extension Agent to shut down the
database, while setting this value to
1 attempts to start the database.
asaAgent.asaProcSetting this value to a string
name
causes the Adaptive Server
Anywhere Extension Agent to executed the procedure
the database.
Arguments can be supplied (for
example, proc_name(‘string’, 4));
if no arguments are supplied, parentheses () are appended to the name.
Getting the value returns "".
proc_-
proc_name
in
1.3.6.1.4.897.2.4asaMetaDataSeveral virtual tables; each row
represents a variable supported
by the Adaptive Server Anywhere
MIB.
1
Note that when stopping a database by setting this variable, the stop is
unconditional, meaning that the database will be stopped even if it has active
connections.
2
In order to be able to start a database by setting this variable, the DBF
parameter must be specified in the connection string (along with DBN if
desired and DBKEY if required), and either (a) the UtilDbPwd field must be
set in the
asasnmp.ini
file, or (b) the start database permission on the server
(specified with the -gd server option) must be set to all.
8
Chapter 1. The Adaptive Server Anywhere SNMP Extension Agent
asaMetaData tablesThe Adaptive Server Anywhere MIB includes metadata tables that provide a
way to query the Adaptive Server Anywhere Extension Agent to find out
which variables are supported.
♦ asaSrvMetaData.asaSrvStatMetaDataTablelists the database server
statistics (variables under asa.asaServer.asaSrvStat.)
♦ asaSrvMetaData.asaSrvpropMetaDataTablelists the database server
properties (variables under asa.asaServer.asaSrv.Prop.)
♦ asaDbMetaData.asaDbStatMetaDataTablelists the database statistics
(variables under asa.asaDb.asaDbStat.)
♦ asaDbMetaData.asaDbpropMetaDataTablelists the database
properties (variables under asa.asaDb.asaDbProp.)
♦ asaDbMetaData.asaDbOptMetaDataTablelists the database options
(variables under asa.asaDb.asaDbOpt.)
☞ For more information about the information stored in the Adaptive
Server Anywhere MIB metadata tables, see “asaMetaData tables” on
page 24.
The RDBMS MIB
The RDBMS MIB is a generic and vendor-independent MIB (RFC 1697) for
relational database-management system products. The RDBMS MIB uses
virtual tables to return information on the servers and databases. The base
OID is 1.3.6.1.2.1.39, and there are 9 virtual tables in this MIB. The
Adaptive Server Anywhere SNMP Extension Agent supports 8 of these
virtual tables.
☞ For descriptions of the supported tables contained in the RDBMS MIB,
see “RDBMS MIB Reference” on page 41.
The Adaptive Server Anywhere Extension Agent provides
to all of the supported variables in the RDBMS MIB. None of the variables
in the RDBMS MIB are writable through the Adaptive Server Anywhere
Extension Agent.
A virtual table contains a fixed number of attributes and any number for
rows. Elements in the table are retrieved using GET requests by appending
the column number and row number to the OID of the table. A 1 must be
appended to the table OID, so the OID looks as follows:
table.1.colnum.rownum
By default, the RDBMS MIB is located in
Anywhere 9\snmp\RDBMS-MIB.mib
C:\Program Files\Sybase\SQL
.
read-only
access
9
Using the Adaptive Server Anywhere SNMP
Extension Agent
In order to use the Adaptive Server Anywhere SNMP Extension Agent, you
must have SNMP installed on your machine and you must create an
asasnmp.ini
monitored by the Adaptive Server Anywhere SNMP Extension Agent.
Installing SNMP
Before you can use the Adaptive Server Anywhere Extension Agent, you
must install SNMP on your machine. By default, SNMP is not installed on
Windows 2000 or Windows XP.
❖ To install SNMP
1. Open the Control Panel.
♦ On Windows 2000, from the Start menu choose Settings ➤ Control
♦ On Windows XP, from the Start menu choose Control Panel.
2. Double-click Add/Remove Programs.
The Add/Remove Programs dialog appears.
file that contains information about the databases that are
Panel.
10
3. In the left pane of the Add/Remove Programs dialog, click Add/Remove
Windows Components.
The Windows Components wizard appears.
4. On the first page of the Windows Components wizard, double-click
Management and Monitoring Tools.
The Management and Monitoring Tools dialog appears.
5. Select the Simple Network Management Protocol option and then click
OK.
6. Click Next.
7. Click Finished when the installation completes.
8. If you are prompted, reboot your computer.
Once you have installed SNMP on your machine, two services should be
running on your machine: SNMP Service and SNMP Trap Service.
Chapter 1. The Adaptive Server Anywhere SNMP Extension Agent
❖ To check that the SNMP services are installed on your computer
1. Open the Control Panel.
♦ On Windows 2000, from the Start menu choose Settings ➤ Control
Panel.
♦ On Windows XP, from the Start menu choose Control Panel.
2. In the Control Panel, double-click Administrative Tools.
3. Double-click Services.
The services SNMP Service and SNMP Trap Service appear in the list of
local services.
If you installed SNMP before you installed SQL Anywhere Studio, you need
to stop and restart the SNMP service so it will detect the Adaptive Server
Anywhere SNMP Extension Agent. If you installed SQL Anywhere Studio
and then installed SNMP, the SNMP service will detect the Adaptive Server
Anywhere SNMP Extension Agent automatically.
❖ To restart the SNMP service (Control Panel)
1. Open the Control Panel.
♦ On Windows 2000, from the Start menu choose Settings ➤ Control
Panel.
♦ On Windows XP, from the Start menu choose Control Panel.
2. In the Control Panel, double-click Administrative Tools.
3. Double-click Services.
4. Right-click SNMP Service and choose Restart from the popup menu.
This stops and restarts the SNMP service.
❖ To restart the SNMP service (Command line)
1. Open a command prompt and execute the following command:
net stop snmp
This stops the SNMP service.
2. Execute the following command:
net start snmp
This starts the SNMP service.
11
Configuring the Adaptive Server Anywhere SNMP Extension Agent
The Adaptive Server Anywhere Extension Agent can monitor one or more
databases. The databases to be monitored are stored in the
with the following format:
[ASAAgent]
TrapPollTime=time in seconds
[DBn]
ConnStr=connection string
UtilDbPwd=utility database password
CacheTime=time in seconds
Trapt=trap information
Disabled=1 or 0
asasnmp.ini
file
By default, your SQL Anywhere Studio installation places the
file in the
C:\Program Files\Sybase\SQL Anywhere 9\win32
asasnmp.ini
directory.
Once you edit this file, you must restart the SNMP service or reset the
Adaptive Server Anywhere SNMP Extension Agent so that the new settings
are used by the Agent.
❖ To restart the SNMP service (Control Panel)
1. Open the Control Panel.
♦ On Windows 2000, from the Start menu choose Settings ➤ Control
Panel.
♦ On Windows XP, from the Start menu choose Control Panel.
2. In the Control Panel, double-click Administrative Tools.
3. Double-click Services.
4. Right-click SNMP Service and choose Restart from the popup menu.
This stops and restarts the SNMP service.
❖ To restart the SNMP service (Command line)
1. Open a command prompt and execute the following command:
net stop snmp
This stops the SNMP service.
12
2. Execute the following command:
net start snmp
This starts the SNMP service.
Chapter 1. The Adaptive Server Anywhere SNMP Extension Agent
❖ To restart the Adaptive Server Anywhere SNMP Extension Agent
1. Using your SNMP management tool, change the value of the
asaAgent.asaRestart property, 1.3.6.1.4.1.897.2.3.6, to 1.
You can obfuscate the contents of the
encryption using the File Hiding utility (dbfhide).
☞ For more information, see “Hiding the contents of .ini files” [ASA
Database Administration Guide, page 524].
The ASAAgent sectionThe ASAAgent section of the
with information about the Adaptive Server Anywhere Extension Agent. If
the TrapPollTime field is not required, you can omit the entire section.
TrapPollTime This value specifies the poll frequency for dynamic traps if
they are specified. The Adaptive Server Anywhere SNMP Extension Agent
polls the values every 5 seconds by default. Setting this value to 0 disables
dynamic traps. This field is optional.
The DBn sectionEach DB
connect to it, and any dynamic traps that exist for the database. The fields in
this section are case sensitive.
The value fornis a number that identifies the database. The numbers must
start with 1, and numbers cannot be skipped. For example, if the
file contained entries for [DB1], [DB2], and [DB4], the [DB4] entry would
be ignored because the file is missing the entry for [DB3].
ConnStr The connection string used to connect to the database. You must
supply enough information to be able to connect to the database. This field is
required.
n
section of the
asasnmp.ini
asasnmp.ini
asasnmp.ini
file describes a database, how to
file with simple
file contains a TrapPollTime field
asasnmp.ini
♦ If you want to use an ODBC data source to connect to the database, it
must be a
system
data source, not a
user
data source.
♦ If you want to use an integrated login, you must map to the SYSTEM
account because the SNMP Agent runs as a service. However, this means
that anything that runs as a service can then connect to the database
without a password. Alternatively, you can change the account that the
service runs under and then create an integrated login for that account.
♦ The string ASTART=NO;IDLE=0;CON=SNMP;ASTOP=NO is prepended to
the connection string. This string does the following:
• prevents the Adaptive Server Anywhere SNMP Extension Agent from
trying to autostart a database server
• disables idle timeout since it is likely that the Adaptive Server
Anywhere SNMP Extension Agent will sit idle for some time
13
• names the connection so it can be identified
• prevents the database from being shut down when the Adaptive Server
Anywhere SNMP Extension Agent disconnects
If you specify any of these values in the connection string in the
asasnmp.ini
file, the values in the
asasnmp.ini
file will override the
default settings.
UtilDbPwd When setting asa.agent.asaStarted to start a database,
the Adaptive Server Anywhere SNMP Extension Agent attempts to connect
to the database with the DBF parameter, which tells the database server
where to find the database file. However, if the permission required to start
the database is DBA (the default for the network server, which can also be
set using the -gd dba option for both the personal and network servers), then
the server will not allow the connection.
To start a database on such a server, the Adaptive Server Anywhere SNMP
Extension Agent must connect as a user with DBA authority to a database
already running on the same server. This can be done by connecting to the
utility database. If you specify the utility database password (contained in
the server’s
util_db.ini
file) in the
asasnmp.ini
file, then to start a database,
the Adaptive Server Anywhere Extension Agent connects to the utility
database on the same server, executes the START DATABASE statement,
and then disconnects. This field is optional.
CacheTime When data is retrieved from the database, it can be cached
inside the Adaptive Server Anywhere SNMP Extension Agent, so that
subsequent retrievals of the same type of data (for example, server properties
or database statistics) do not require communication with the database.
While caching the data means that you can obtain the data more quickly on
subsequent retrievals, the data may be out of date. The CacheTime field can
be used to change the cache time, or disable the cache by setting the value to
0. By default, the cache time is 30 seconds. When the CacheTime parameter
is set to 0, the data retrieved is always be up-to-date because data is retrieved
from the database for every request. This field is optional.
14
DBSpaceCacheTime The rdbmsDbLimitedResourceTable in the RDBMS
MIB contains information about dbspaces. When this information is
retrieved from the database, it can also be cached inside the Adaptive Server
Anywhere Extension Agent. The default cache time for dbspace information
is 600 seconds (10 minutes). This field can be used to change the cache time
(or disable the cache by setting the value to 0). This field is optional.
☞ For more information about the rdbmsDbLimitedResourceTable table,
see “rdbmsDbLimitedResourceTable” on page 44.
TraptCreates a dynamic trap. The value
t
must be a positive integer
Chapter 1. The Adaptive Server Anywhere SNMP Extension Agent
starting at 1. Skipping numbers is not allowed. This field is optional.
Disabled If set to 1, this database entry is skipped by the Adaptive Server
Anywhere SNMP Extension Agent. This is useful for temporarily removing
one database from the list of databases managed by the Adaptive Server
Anywhere SNMP Extension Agent, without renumbering the rest. This field
is optional.
☞ For information about creating traps, see “Creating dynamic traps” on
Because there are no parameters specified in the ASAAgent section, the
Adaptive Server Anywhere SNMP Extension Agent will poll values every 5
seconds.
The Adaptive Server Anywhere SNMP Extension Agent is monitoring 3
different databases running on two different servers. Database 3 is running
on a different machine, so the LINKS connection parameter is required to
specify the protocol. A trap is specified for DB1, which fires when the
number of bytes sent by the database server is greater than 50 000.
Obtaining values using the Adaptive Server Anywhere SNMP Extension
Agent
Using the Adaptive Server Anywhere SNMP Extension Agent, you can
retrieve the values of all the following:
♦ Database server properties
☞ For a list of the database server property OIDs, see “Server
properties” on page 29.
♦ Database server statistics
15
☞ For a list of the database server statistic OIDs, see “Server statistics”
on page 27.
♦ Database options
☞ For a list of the database option OIDs, see “Database options” on
page 36.
♦ Database properties
☞ For a list of the database property OIDs, see “Database properties”
on page 33.
♦ Database statistics
☞ For a list of the database statistic OIDs, see “Database statistics” on
page 31.
The way you retrieve these values will depend on your SNMP management
software.
ExamplesThe table below provides a description and sample value that could be
returned for the following OIDs.
OIDExplanationSample value
1.3.6.1.4.1.897.2.1.1.1.1Server statistic ActiveReq on
database 1
1.3.6.1.4.1.897.2.1.2.1.3Server property C2 on database 3NO
1.3.6.1.4.1.897.2.2.1.4.1Database statistic CacheRead on
database 1
1.3.6.1.4.1.897.2.2.2.7.4Database property CaseSensitivePasswords on database 4
1.3.6.1.4.1.897.2.2.3.5.2Database option ANSI_INTEGER_OVERFLOW on
database 2
1.3.6.1.4.1.897.2.3.1Agent version9.0.1(1841)
1.3.6.1.4.1.897.2.3.2.1Connection string for database 1UID=DBA;PWD=SQL;
1
11397
OFF
OFF
ENG=server1; DBN=sales;
DBF=sales.db
16
Chapter 1. The Adaptive Server Anywhere SNMP Extension Agent
Setting values using the Adaptive Server Anywhere SNMP Extension
Agent
The Adaptive Server Anywhere SNMP Extension Agent responds to SNMP
get, get-next, and set queries.
You can set any database option, some server properties, and one database
property using the Adaptive Server Anywhere SNMP agent.
When setting database options, the Adaptive Server Anywhere SNMP agent
executes the statement:
SET OPTION PUBLIC.opt = ’value’
When setting database and server properties, the sa_server_option system
procedure is used.
The way you set these values depends on your SNMP management software.
☞ For the OIDs and information about the options and properties that can
be set with the Adaptive Server Anywhere SNMP Extension Agent, see
“The Adaptive Server Anywhere MIB” on page 24.
Executing stored procedures using the Adaptive Server Anywhere SNMP
Extension Agent
The Adaptive Server Anywhere MIB includes an OID that allows you to
execute a stored procedure using the Adaptive Server Anywhere SNMP
Extension Agent. In order to execute the stored procedure, the user that the
Adaptive Server Anywhere SNMP Extension Agent uses to connect must
have one of the following:
♦ execute permission on the procedure
♦ be the owner of the procedure
♦ have DBA authority
Any result sets or return values generated by the procedure are ignored.
To execute a stored procedure using the Adaptive Server Anywhere SNMP
Extension Agent, set the value of asaAgent.asaProc (OID
1.3.6.1.4.1.897.2.3.5.db, wheredbis the database number in the
file) to a string that is the name of a stored procedure. Optionally, you can
supply arguments to the procedure; if no arguments are supplied,
parentheses ( ) are appended to the procedure name.
asasnmp.ini
17
Using traps
For example, setting the value of asaAgent.asaProc to the string
“pchin.updatesales( ’param1’, 2)” calls the updatesales stored
procedure owned by user pchin.
The way you set the value of this OID to the procedure name will depend on
your SNMP management software.
☞ For more information, see “The Adaptive Server Anywhere MIB” on
page 7.
A trap is an OID that is sent by an SNMP agent when a particular event
occurs. Traps are initiated by the SNMP agent and can be detected by
SNMP management software, which can then either deal with the event
directly or query the SNMP agent for more information.
In order to receive traps, you must configure the SNMP service. The SNMP
service will receive the trap information and then forward it on somewhere;
however, by default, this is nowhere, so any trap listeners you have running
will not detect anything. The following steps show how to configure your
SNMP Service to send traps to your current machine.
❖ To configure the SNMP service
1. Right-click My Computer and choose Manage from the popup menu.
The Computer Management dialog appears.
18
2. In the left pane, double-click Services and Applications.
3. In the left pane, double-click Services.
4. Locate SNMP Service in the list of services in the right pane, right-click
it and choose Properties from the popup menu.
The SNMP Service property sheet appears.
5. Click the Traps tab.
6. On the Traps tab, click Add.
The SNMP Service Configuration dialog appears.
7. In the SNMP Service Configuration dialog, type localhost in the text box
and then click Add.
8. Click OK to close the Service property sheet.
Chapter 1. The Adaptive Server Anywhere SNMP Extension Agent
Adaptive Server
Anywhere SNMP
Extension Agent traps
Creating dynamic traps
The Adaptive Server Anywhere SNMP Extension Agent sends a trap
whenever a connection is dropped by the database server. The OID of this
trap is 1.3.6.1.2.1.39.2.1.
The only other traps sent by the Adaptive Server Anywhere agent are
dynamic traps.
☞ For more information about dynamic traps, see “Creating dynamic
traps” on page 19.
A dynamic trap is a trap that is sent by the Adaptive Server Anywhere
Extension Agent when a simple expression involving the value of a
particular property, statistic, or option is true. Dynamic traps are created in
the
trapnum is the dynamic trap number. It must start at 1 and be sequential.
oid is the OID of the property, statistic, or option. OIDs in either the
Adaptive Server Anywhere MIB or the RDBMS MIB are supported. If the
OID given is an invalid Adaptive Server Anywhere or RDBMS OID, the
Adaptive Server Anywhere MIB prefix (1.3.6.1.4.1.897.2.) is prepended.
☞ For a list of OIDs in the Adaptive Server Anywhere MIB, see “Adaptive
Server Anywhere MIB Reference” on page 23.
☞ For a list of OIDs in the RDBMS MIB, see “RDBMS MIB Reference”
on page 41.
dbnumis the database number. This field is optional, but if specified, it
must match the database number of the [DBn] section of the
file.
op must have one of the following values:
♦ = or == (equality)
♦ !=, <>, or >< (inequality)
♦ <= or =< (less than or equal)
♦ >= or => (greater than or equal)
♦ < (less than)
♦ > (greater than)
asasnmp.ini
19
Note
Only equality or inequality are supported for string values.
value is the value to use in the expression. String values may be enclosed
in single or double quotes; these quotes will not be included in the value. If
you want the beginning or closing quotation marks to be included in the
string, you must double them. Note that single quotes occurring within the
string should not be doubled.
You can specify as many trap fields as you wish in the
asasnmp.ini
file. The
OID used for the trap will be 1.3.6.1.4.1.897.2.4.1, and the data sent
with the trap will indicate the trap number of the trap that was sent.
You can specify as many Trap fields as you wish in the
asasnmp.ini
OID used for the trap will be 1.3.6.1.4.1.897.2.4.1, and the data sent
with the trap includes the following:
♦ the trap number (starts at 1 for the first dynamic trap sent by the Adaptive
Server Anywhere SNMP agent)
♦ the database index
♦ the database name trap index (from the
asasnmp.ini
file)
♦ the variable name
♦ the variable value (this is the current value of the variable, not necessarily
the threshold value)
Dynamic trap behaviorOnce a dynamic trap is triggered, the trap is not be sent again until the
condition that caused it to be triggered changes to FALSE and then back to
TRUE again.
For example, if you have a dynamic trap set using 1.1.11.1 >= 5120,
then the trap is triggered when the server’s cache size reaches 5 MB (= 5120
KB) and the dynamic trap is disabled, so no more traps are sent. The only
way the trap is re-enabled is if the cache size later drops below 5 MB. You
would then be notified if the cache size grew to 5 MB again.
file. The
Trap examples
TrapinformationDescription
Trap1=1.1.5 > 10000Trap sent when the number of bytes sent from the
server is greater than 10 000
Trap2=1.3.6.1.2.1.39.1.4.1.4.14.1 >= 10485760Trap sent if the size of the transaction log file is
larger than 10 MB
20
PART II
ADAPTIVE SERVER
ANYWHERE SNMP
EXTENSION AGENT
REFERENCE
This section lists the OIDs supported by the Adaptive Server Anywhere
SNMP Extension Agent. It lists the contents of the tables in the Adaptive
Server Anywhere MIB and the RDBMS MIB.
CHAPTER 2
Adaptive Server Anywhere MIB Reference
About this chapterThis chapter contains descriptions of the tables in the Adaptive Server
Anywhere MIB.
Contents
Topic:page
The Adaptive Server Anywhere MIB24
23
The Adaptive Server Anywhere MIB
The following sections list the OIDs of the statistics, properties, and options
that can be retrieved and set using the Adaptive Server Anywhere SNMP
Extension Agent. By default,
Agent
The Agent table lists information about the Adaptive Server Anywhere
SNMP Extension Agent.
Writable properties are marked with an asterisk (*). The valuenis the
database number in the
OIDTypeNameValue returned
1.3.6.1.4.1.897.2.3.1StringasaVersionAgent version
asasnmp.ini
file.
1.3.6.1.4.1.897.2.3.2.
1.3.6.1.4.1.897.2.3.3.
1.3.6.1.4.1.897.2.3.4.
1.3.6.1.4.1.897.2.3.5.
1.3.6.1.4.1.897.2.3.6StringasaRestart*0
n
n
n
n
StringasaDBConnStrConnection string
Integer32asaConnected*1if the agent is connected, 0 otherwise
Integer32asaStarted*1 if the database is started, 0 otherwise
StringasaProc*” “
asaMetaData tables
The following metadata tables are included in the Adaptive Server
Anywhere MIB:
The following table lists OIDs and names of the database server properties
that can be retrieved using the Adaptive Server Anywhere SNMP Extension
Agent.
Writable properties are marked with an asterisk (*). The valuenis the
database number in the
About this chapterThis chapter contains descriptions of each of the tables in the RDBMS MIB.
Contents
Topic:page
The RDBMS MIB42
41
The RDBMS MIB
The following sections list the OIDs of the values that can be retrieved using
the Adaptive Server Anywhere SNMP Extension Agent. By default, the
RDBMS MIB is located in
9\snmp\RDBMS-MIB.mib
rdbmsDbTable
This table lists information about the databases installed on a system.
C:\Program Files\Sybase\SQL Anywhere
.
The valuedbis the database number in the
OIDTypeNameValue returned
1.3.6.1.2.1.39.1.1.1.1.
1.3.6.1.2.1.39.1.1.1.2.
1.3.6.1.2.1.39.1.1.1.3.
1.3.6.1.2.1.39.1.1.1.4.
1.3.6.1.2.1.39.1.1.1.5.
db
IntegerrdbmsDbIndex
db
OIDrdbmsDbPrivateMibOID1.3.6.1.4.1.897.2
db
StringrdbmsDbVendorNameproperty(‘CompanyName’)
db
StringrdbmsDbNamedb_property(‘name’)
db
StringrdbmsDbContactproperty(‘LicensedUser’)
asasnmp.ini
db
rdbmsDbInfoTable
This table provides additional information about the databases on the system.
The valuedbis the database number in the
This OID is not currently supported by the Adaptive Server Anywhere
SNMP Extension Agent.
cated
Backup
cated and dbInfoSizeUsed.
♦ 1=bytes
♦ 2=KB
♦ 3=MB
♦ 4=GB
♦ 5=TB
(Each unit is 1024 times the previous.)
db_property(‘pagesize’) * db_property(‘filesize’)
property(‘filesize’) - db_property(‘freepages’) )
1
NULL
rdbmsDbParamTable
This table lists the configuration parameters for the databases on the system.
The valuedbis the database number in the
index of the option in the asa.2.3 subtree.
OIDTypeNameValue returned
1.3.6.1.2.1.39.1.3.1.1.
1.3.6.1.2.1.39.1.3.1.2.
1.3.6.1.2.1.39.1.3.1.3.
1.3.6.1.2.1.39.1.3.1.4.
1.3.6.1.2.1.39.1.3.1.5.
db
db
db
db
db
StringrdbmsDbParamNameOption name
IntegerrdbmsDbParamSubIndex
OIDrdbmsDbParamIDOID in Adaptive Server
StringrdbmsDbParamCurrValueOption value
StringrdbmsDbParamCommentNULL
asasnmp.ini
file, whilenis the
n
Anywhere MIB corresponding to this option
1
43
1
This OID is not currently supported by the Adaptive Server Anywhere
SNMP Extenstion Agent.
rdbmsDbLimitedResourceTable
This table lists free space information on each dbspace. In this table,
represents each dbspace as follows:
♦ 1-13 are for normal dbspaces (numbered 0-12 in the database)
♦ 14 is the transaction log file
♦ 15 is the transaction log mirror file
♦ 16 is the temporary file
♦ 17 is the write file
The valuedbis the database number in the
OIDTypeNameValue returned
1.3.6.1.2.1.39.1.4.1.1.n.
1.3.6.1.2.1.39.1.4.1.2.n.
1.3.6.1.2.1.39.1.4.1.3.n.
1.3.6.1.2.1.39.1.4.1.4.n.
db
StringrdbmsDbLimitedResource-
Name
db
OIDrdbmsDbLimitedResourceID1.3.6.1.4.1.897.2
db
IntegerrdbmsDbLimitedResource-
Limit
db
IntegerrdbmsDbLimitedResourceCur-
rent
asasnmp.ini
Name of dbspace, or Transaction Log, Transaction Log
Mirror, Temporary File, or
Write File.
Free space available on disk +
current file size, in bytes
Current file size
file.
n
1.3.6.1.2.1.39.1.4.1.5.n.
1.3.6.1.2.1.39.1.4.1.6.n.
1.3.6.1.2.1.39.1.4.1.7n.
44
db
IntegerrdbmsDbLimitedResource-
Highwater
db
IntegerrdbmsDbLimitedResource-
Failure
db
StringrdbmsDbLimite-
dResourceDescription
1
This OID is not currently supported by the Adaptive Server Anywhere
Current size
1
0
”Bytes”
SNMP Extenstion Agent.
rdbmsSrvTable
Chapter 3. RDBMS MIB Reference
This table lists the database servers running or installed on your system.
The valuedbis the database number in the
OIDTypeNameValue returned
1.3.6.1.2.1.39.1.5.1.1.
1.3.6.1.2.1.39.1.5.1.2.
1.3.6.1.2.1.39.1.5.1.3.
1.3.6.1.2.1.39.1.5.1.4.
db
OIDrdbmsSrvPrivateMibOID1.3.6.1.4.1.897.2
db
StringrdbmsSrvVendorNameproperty(‘CompanyName’)
db
StringrdbmsSrvProductNameproperty(‘ProductName’)
db
StringrdbmsSrvContactproperty(‘LicencedCompany’)
asasnmp.ini
file.
rdbmsSrvInfoTable
This table lists additional information about the database servers in your
system.
This OID is not currently supported by the Adaptive Server Anywhere
1
0
1
0
SNMP Extenstion Agent.
rdbmsSrvParamTable
This table lists the server options that can be set by the Adaptive Server
Anywhere SNMP Extension Agent through the Adaptive Server Anywhere
MIB.nis the index, as follows: