Sybase Adaptive Server Anywhere SNMP Extension Agent manual Server statistics

Page 39

Chapter 2. Adaptive Server Anywhere MIB Reference

asaDbMetaData.asaDbOptMetaDataTable

This table contains metadata about the database options.

The value db is the database number in the asasnmp.ini file.

OID

Type

Name

Value returned

 

 

 

 

1.3.6.1.4.1.897.2.4.2.1.1.1.db

Integer32

asaDbOptIndex

db

1.3.6.1.4.1.897.2.4.2.1.1.2.db

Integer32

asaDbOptObjType

21

1.3.6.1.4.1.897.2.4.2.1.1.3.db

Integer32

asaDbOptType

32

1.3.6.1.4.1.897.2.4.2.1.1.4.db

OID

asaDbOptOID

OID of Adaptive Server Any-

 

 

 

where MIB entry3

1.3.6.1.4.1.897.2.4.2.1.1.5.db

String

asaDbOptName

Option name

 

 

 

 

1Values: 1=Server, 2=Database

2Values: 1=Statistic, 2=Property, 3=Option

3The OID returned does not include the database number. You must append the database number to the OID before it can be used in a query.

Server statistics

This table lists the OIDs and names of the database server statistics that can be retrieved using the Adaptive Server Anywhere SNMP Extension Agent.

The value n is the database number in the asasnmp.ini file.

OID

Type

Name

Statistic

 

 

 

 

1.3.6.1.4.1.897.2.1.1.1.n

Integer32

srvStatActiveReq

ActiveReq

1.3.6.1.4.1.897.2.1.1.2.n

Integer32

srvStatAvailIO

AvailIO

1.3.6.1.4.1.897.2.1.1.3.n

Counter64

srvStatBytesReceived

BytesReceived

1.3.6.1.4.1.897.2.1.1.4.n

Counter64

srvStatBytesReceivedUn-

BytesReceivedUncomp

 

 

comp

 

1.3.6.1.4.1.897.2.1.1.5.n

Counter64

srvStatBytesSent

BytesSent

1.3.6.1.4.1.897.2.1.1.6.n

Counter64

srvStatBytesSentUncomp

BytesSentUncomp

1.3.6.1.4.1.897.2.1.1.7.n

Counter64

srvStatCacheHitsEng

CacheHitsEng

1.3.6.1.4.1.897.2.1.1.8.n

Integer32

srvStatCachePinned

CachePinned

 

 

 

 

27

Image 39
Contents Adaptive Server Anywhere Snmp Extension Agent User’s Guide Page Contents Page About This Manual SQL Anywhere Studio documentation Page Page Documentation conventions Following icons are used in this documentation Asademo.db Adaptive Server Anywhere sample databaseFinding out more and providing feedback Using the Adaptive Server Anywhere Snmp Extension Agent Page Adaptive Server Anywhere Snmp Extension Agent Agent are included in your SQL Anywhere Studio installation Adaptive Server Anywhere Snmp Extension Agent Understanding Snmp Files\Sybase\SQL Anywhere 9\snmp\iAnywhere.mib Adaptive Server Anywhere MIBMIB Rdbms MIB Installing Snmp Using the Adaptive Server Anywhere Snmp Extension AgentTo restart the Snmp service Control Panel Configuring the Adaptive Server Anywhere Snmp Extension Agent To restart the Adaptive Server Anywhere Snmp Extension Agent Page ASAAgent DB1 Software SET Option PUBLIC.opt = ’value’ To configure the Snmp service Using trapsCreating dynamic traps Trap examples Adaptive Server Anywhere Snmp Extension Agent Reference Page Adaptive Server Anywhere MIB Reference Adaptive Server Anywhere MIB AgentAsaMetaData tables AsaSrvMetaData.asaSrvPropMetaDataTable AsaDbMetaData.asaDbPropMetaDataTable AsaDbMetaData.asaDbOptMetaDataTable Server statisticsOID Server properties OID Database statistics OID Database properties OID Adaptive Server Anywhere MIB Reference Database options Adaptive Server Anywhere MIB Reference OID Adaptive Server Anywhere MIB Reference OID Rdbms MIB Reference Rdbms MIB RdbmsDbTableRdbmsDbInfoTable Rdbms MIB Reference RdbmsDbParamTableWrite File RdbmsDbLimitedResourceTableRdbmsSrvInfoTable RdbmsSrvTableRdbmsSrvLimitedResourceTable RdbmsSrvParamTableIf this is 0, then it returns prop Page Index Index Cooperativecommittimeout option Index Index Odbcdescribebinaryasvarbinary Pinnedcursorpercentofcache ReadOnly property Truncatetimestampvalues option Installing Snmp Windows XP