4. Checking and Changing Properties#
The chapter describes how to check and change Altibase properties with altiPropertyTable.
altiPropertyTable#
Altibase settings can be checked or changed using altiPropertyTable.
[Figure 4-1] altiPropertyTable MIB
altiPropertyTable(2) under altibase(17180) has 6 subobjects. If multiple databases exist on one server, subobjects are grouped for classification. In the above figure, 5 objects are grouped under altiPropertyEntry to separate one from another.
altiPropertyIndex MIB(1)#
OID#
1.3.6.1.4.1.17180.2.1.1
Syntax#
DisplayString
Max-Access#
Read-only
Description#
Starting at 1, the altiPropertyIndex value increases by 1, depending on the number of Altibase servers managed by the Altibase SNMP subagent.
Example#
$ snmpget -v 2c -c private localhost altiPropertyIndex.1
ALTIBASE-MIB::altiPropertyIndex.1 = INTEGER: 1
$ snmpwalk -v 2c -c private localhost altiPropertyIndex
ALTIBASE-MIB::altiPropertyIndex.1 = INTEGER: 1
ALTIBASE-MIB::altiPropertyIndex.2 = INTEGER: 1
altiPropertyAlarmQueryTimeout MIB(2)#
OID#
1.3.6.1.4.1.17180.2.1.2
Syntax#
DisplayString
Max-Access#
Read-Write
Description#
altiPropertyAlarmQueryTimeout sets whether or not to raise a trap when a query timeout occurs in a session connected to Altibase. If this value is 0, a trap is not raised.
The initial value can be set for SNMP_ALARM_QUERY_TIMEOUT and the default value is 1.
Example#
$ snmpwalk -v 2c -c private localhost altiPropertyAlarmQueryTimeout
ALTIBASE-MIB::altiPropertyAlarmQueryTimeout.1 = STRING: 1
ALTIBASE-MIB::altiPropertyAlarmQueryTimeout.1 = STRING: 2
$ snmpset -v 2c -c private localhost altiPropertyAlarmQueryTimeout.1 s 0
ALTIBASE-MIB::altiPropertyAlarmQueryTimeout.1 = STRING: 0
$ snmpget -v 2c -c private localhost altiPropertyAlarmQueryTimeout.1
ALTIBASE-MIB::altiPropertyAlarmQueryTimeout.1 = STRING: 0
altiPropertyAlarmFetchTimeout MIB(3)#
OID#
1.3.6.1.4.1.17180.2.1.3
Syntax#
DisplayString
Max-Access#
Read-write
Description#
altiPropertyAlarmFetchTimeout sets whether or not to raise a trap when a query timeout occurs in a session connected to Altibase. If this value is 0, a trap is not raised.
The initial value can be set for SNMP_ALARM_QUERY_TIMEOUT, and the default value is 1.
Example#
$ snmpwalk -v 2c -c private localhost altiPropertyAlarmFetchTimeout
ALTIBASE-MIB::altiPropertyAlarmFetchTimeout.1 = STRING: 1
ALTIBASE-MIB::altiPropertyAlarmFetchTimeout.1 = STRING: 2
$ snmpset -v 2c -c private localhost altiPropertyAlarmFetchTimeout.1 s 0
ALTIBASE-MIB::altiPropertyAlarmFetchTimeout.1 = STRING: 0
$ snmpget -v 2c -c private localhost altiPropertyAlarmFetchTimeout.1
ALTIBASE-MIB::altiPropertyAlarmFetchTimeout.1 = STRING: 0
altiPropertyAlarmUtransTimeout MIB(4)#
OID#
1.3.6.1.4.1.17180.2.1.4
Syntax#
DisplayString
Max-Access#
Read-write
Description#
altiPropertyAlarmUtransTimeout sets whether or not to raise a trap when a utrans timeout occurs in a session connected to Altibase.
If this value is 0, a trap is not raised. The initial value can be set for SNMP_ALARM_UTRANS_TIMEOUT, and the default value is 1.
Example#
$ snmpwalk -v 2c -c private localhost altiPropertyAlarmUTransTimeout
ALTIBASE-MIB::altiPropertyAlarmUTransTimeout.1 = STRING: 1
ALTIBASE-MIB::altiPropertyAlarmUTransTimeout.1 = STRING: 2
$ snmpset -v 2c -c private localhost altiPropertyAlarmUTransTimeout.1 s 0
ALTIBASE-MIB::altiPropertyAlarmUTransTimeout.1 = STRING: 0
$ snmpget -v 2c -c private localhost altiPropertyAlarmUTransTimeout.1
ALTIBASE-MIB::altiPropertyAlarmUTransTimeout.1 = STRING: 0
altiPropertyAlarmSessionFailureCount MIB(5)#
OID#
1.3.6.1.4.1.17180.2.1.5
Syntax#
DisplayString
Max-Access#
Read-write
Description#
altiPropertyAlarmUtransTimeout sets whether or not to raise a trap when a utrans timeout occurs in a session connected to Altibase. If this value is 0, a trap is not raised.
The initial value can be set for SNMP_ALARM_UTRANS_TIMEOUT, and the default value is 3.
Example#
$ snmpwalk -v 2c -c private localhost altiPropertyAlarmSessionFailureCount
ALTIBASE-MIB::altiPropertyAlarmSessionFailureCount.1 = STRING: 3
ALTIBASE-MIB::altiPropertyAlarmSessionFailureCount.2 = STRING: 3
$ snmpset -v 2c -c private localhost altiPropertyAlarmSessionFailureCount.1 s 2
ALTIBASE-MIB::altiPropertyAlarmSessionFailureCount.1 = STRING: 2
$ snmpget -v 2c -c private localhost altiPropertyAlarmSessionFailureCount.1
ALTIBASE-MIB::altiPropertyAlarmSessionFailureCount.1 = STRING: 2