ASM disk statistics


Job details

Name: ASM disk statistics
Platform: Oracle
Category: Capacity
Description: Checks ASM disks for status and statistics.
Long description: Checks ASM disks for status and statistics.
Version: 3.2
Default schedule: 2,12,22,32,43,52 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & _priv_read_v_asm_disk_stat = ‘1′]

Parameters

Name Default value Description
Delete statistics older than (hours) 336
Ignore device NULL ASM devices you want to ignore warnings and alarms for
Ignore status NULL ASM device statuses you want to ignore

Job Summary

select name, path, group_number, disk_number, mount_status, header_status, mode_status, state, reads, writes, read_errs, write_errs, total_mb, free_mb from v$asm_disk_stat;

Implementation Details

Implementation of the monitoring job involves the creation of tables (“dbw_asm_disk_stat” and “dbw_asm_disk_stat_history”) to hold current and historical data concerning ASM disk activities. There’s also the implementation of the “ASM_disk_statistics_check” procedure which pulls data from Oracle’s ASM views and populates these tables.

The procedure includes logic to:

Reporting

The job includes a reporting template structured into different chapters and presentations. This process is designed to represent data effectively for end-users by providing valuable insights into ASM disk performance and safety.

Report Sections

SQL Commands for Reports

The select commands for each section (e.g. the basic disk info and performance metrics) pull data from the above-mentioned tables, allowing dynamic generation of historical and real-time performance data.

Dependencies and Compatibility

The job requires specific Oracle privileges (e.g., select on v$asm_disk_stat) and is compatible with Oracle database environments that use Automatic Storage Management (ASM) for disk management. Dependencies include proper schema permissions and operational ASM setups. Clean-up routines and failure management scripts ensure the accuracy and cleanliness of logged data, reinforcing the reliability of the monitoring process.

Overall, this dbWatch Control Center job represents a comprehensive approach to ASM disk monitoring, leveraging SQL procedures and custom reporting to maintain database health and performance.