ASM health
- Last Updated 3/31/2023, 12:34:01 PM UTC
- About 2 min read
Plugin info
name: ora-asm-status
Collects the availability status for an ASM instance
# Prerequisites
- Linux
- User Groups:
oinstall,asmadmin,asmdba
- User Groups:
- Windows
- Group Memeberships:
ORA_ASMADMIN,ORA_ASMDBA
- Group Memeberships:
Important, the connection to the database/ASM takes place over BEQ. This means that the process resource limits for
myrmex-admust match those set for the oracle database/ASM processes. Set these limits in thesystemdunit file formyrmex-adand then reload and restart themyrmex-adservice. Refer to https://www.man7.org/linux/man-pages/man5/systemd.exec.5.html#PROCESS_PROPERTIES (opens new window) for the process limit directives and theirulimitequivalents.
# Events
myrmex/ora-asm-status/sid/downset to 1 when ASM instance is down- Dimensions
sidthe ASM SID
- Dimensions
myrmex/plugins/error/plugin/msgset to error message on plugin execution failure- Dimensions
pluginthe name of the plugin that failed
- Dimensions
# Configuration
Plugin is configured with a yaml file:
source: the value that will appear as the source of metrics generated by this configuration. defaults to plugin hostnametimeout: execution timeout in duration format (opens new window). Defaults to10soracle_home: path to ASMORACLE_HOMEsid: ASM SIDconnect_as: (optional) one ofsysdba,sysoper,sysasm. Default issysdba
# Example Configuration
# path to oracle_home for this asm instance
oracle_home: /u01/app/12.2.0.1/grid
# sid to check
sid: +ASM1
# Validate Configuration
ora-asm-status --run-conf /path/to/config/file.yaml --validate
# Testing
Run the plugin from the command line and get any emmited events on stdout
ora-asm-status --run-conf /path/to/config/file.yaml
# List events emmited by this plugin
ora-asm-status --events