The data source of disk size value in SNMP command

book

Article ID: 129742

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM)

Issue/Introduction



What is the data source of the value of “gkTotalDBDiskUsage” and “gkLogDiskSize” in the snmp command result?

(1) .1.3.6.1.4.1.10449.1.3.1.10 XCEEDIUM-MIB::gkTotalDBDiskUsage.0 = INTEGER: 58689997
(2) .1.3.6.1.4.1.10449.1.3.1.11 XCEEDIUM-MIB::gkLogDiskSize.0 = INTEGER: 13326

Environment

CA Privileged Access Manager 3.x

Resolution

gkTotalDBDiskUsage used to be just the total size of the uag database. 
However it is fixed in 3.2.5 and 3.3.0 so it is the total size of ALL the MySQL databases after those.

gkLogDiskSize is the size of the database log /var/lib/mysql/uag/log.ibd.  
gkLogRecords is the value returned by this query: SELECT COUNT(log_id) FROM log WHERE machine_id = unhex('%s')