How-to about Oracle ASM ...
How-to about Oracle ASM ...
I know there're some Oracle ASM on Nagios Exchange,but is there a step-by-step example document about how to configure Oracle ASM plugin?
Re: How-to about Oracle ASM ...
Did you have a specific plugin in mind? check_asm has install instructions in the source and examples:
# * This plug-in needs to be run as ASM binaries owner (usually oracle).
# * Configure sudo to work with nrpe-owner.
# *
# * Run 'check_asm --help' for full description.
# *
# * Setup:
# *
# * 1. disable 'requiretty' for nrpe-owner in /etc/sudoers
# * Defaults:nagios !requiretty
# *
# * 2. enable sudo for nrpe-owner to run this script
# * nagios ALL=(oracle) NOPASSWD: /usr/lib64/nagios/plugins/check_asm
# *
# * 3. edit nrpe.cfg and insert required checks with options:
# *
# * command[check_asm_diskstatus]=sudo -u oracle /usr/lib64/nagios/plugins/check_asm --asm_home=$ASM_HOME--action=diskstatus
# * command[check_asm_dgstate]=sudo -u oracle /usr/lib64/nagios/plugins/check_asm --asm_home=$ASM_HOME- --action=dgstate
# * command[check_asm_alertlogerror]=sudo -u oracle /usr/lib64/nagios/plugins/check_asm --asm_home=$ASM_HOME- --action=alertlogerror
# * command[check_asm_usedspace]=sudo -u oracle /usr/lib64/nagios/plugins/check_asm --asm_home=$ASM_HOME- --action=usedspace --threshold DG1=98:99
# *
# * Sample output:
# *
# * check_asm --asm_home=/oracle/gridhome --action=diskstatus
# * [OK] Disk status: OK
# * check_asm --asm_home=/oracle/gridhome --action=dgstate
# * [OK] Diskgroup state: (CRS: MOUNTED) (FRA: MOUNTED) (DATA: MOUNTED)
# * check_asm --asm_home=/oracle/gridhome --action=alertlogerror
# * [OK] ASM AlertLog Errors: 0
# * check_asm --asm_home=/oracle/gridhome --action=usedspace --threshold DATA=95:98
# * [OK] Diskgroup used space: (CRS: 7.94%: OK) (FRA: 1.80%: OK) (DATA: 55.82%: OK)
# *
# *******************************************************************************
NRPE install instructions can be found at https://support.nagios.com/kb/article/n ... rpe-8.html or https://support.nagios.com/kb/article/n ... e-515.html.
# * This plug-in needs to be run as ASM binaries owner (usually oracle).
# * Configure sudo to work with nrpe-owner.
# *
# * Run 'check_asm --help' for full description.
# *
# * Setup:
# *
# * 1. disable 'requiretty' for nrpe-owner in /etc/sudoers
# * Defaults:nagios !requiretty
# *
# * 2. enable sudo for nrpe-owner to run this script
# * nagios ALL=(oracle) NOPASSWD: /usr/lib64/nagios/plugins/check_asm
# *
# * 3. edit nrpe.cfg and insert required checks with options:
# *
# * command[check_asm_diskstatus]=sudo -u oracle /usr/lib64/nagios/plugins/check_asm --asm_home=$ASM_HOME--action=diskstatus
# * command[check_asm_dgstate]=sudo -u oracle /usr/lib64/nagios/plugins/check_asm --asm_home=$ASM_HOME- --action=dgstate
# * command[check_asm_alertlogerror]=sudo -u oracle /usr/lib64/nagios/plugins/check_asm --asm_home=$ASM_HOME- --action=alertlogerror
# * command[check_asm_usedspace]=sudo -u oracle /usr/lib64/nagios/plugins/check_asm --asm_home=$ASM_HOME- --action=usedspace --threshold DG1=98:99
# *
# * Sample output:
# *
# * check_asm --asm_home=/oracle/gridhome --action=diskstatus
# * [OK] Disk status: OK
# * check_asm --asm_home=/oracle/gridhome --action=dgstate
# * [OK] Diskgroup state: (CRS: MOUNTED) (FRA: MOUNTED) (DATA: MOUNTED)
# * check_asm --asm_home=/oracle/gridhome --action=alertlogerror
# * [OK] ASM AlertLog Errors: 0
# * check_asm --asm_home=/oracle/gridhome --action=usedspace --threshold DATA=95:98
# * [OK] Diskgroup used space: (CRS: 7.94%: OK) (FRA: 1.80%: OK) (DATA: 55.82%: OK)
# *
# *******************************************************************************
NRPE install instructions can be found at https://support.nagios.com/kb/article/n ... rpe-8.html or https://support.nagios.com/kb/article/n ... e-515.html.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: How-to about Oracle ASM ...
How about check_ASM_disk_groups ?
It's hard to understand check_asm instructions.
It's hard to understand check_asm instructions.
cdienger wrote:Did you have a specific plugin in mind? check_asm has install instructions in the source and examples:
# * This plug-in needs to be run as ASM binaries owner (usually oracle).
# * Configure sudo to work with nrpe-owner.
# *
# * Run 'check_asm --help' for full description.
# *
# * Setup:
# *
# * 1. disable 'requiretty' for nrpe-owner in /etc/sudoers
# * Defaults:nagios !requiretty
# *
# * 2. enable sudo for nrpe-owner to run this script
# * nagios ALL=(oracle) NOPASSWD: /usr/lib64/nagios/plugins/check_asm
# *
# * 3. edit nrpe.cfg and insert required checks with options:
# *
# * command[check_asm_diskstatus]=sudo -u oracle /usr/lib64/nagios/plugins/check_asm --asm_home=$ASM_HOME--action=diskstatus
# * command[check_asm_dgstate]=sudo -u oracle /usr/lib64/nagios/plugins/check_asm --asm_home=$ASM_HOME- --action=dgstate
# * command[check_asm_alertlogerror]=sudo -u oracle /usr/lib64/nagios/plugins/check_asm --asm_home=$ASM_HOME- --action=alertlogerror
# * command[check_asm_usedspace]=sudo -u oracle /usr/lib64/nagios/plugins/check_asm --asm_home=$ASM_HOME- --action=usedspace --threshold DG1=98:99
# *
# * Sample output:
# *
# * check_asm --asm_home=/oracle/gridhome --action=diskstatus
# * [OK] Disk status: OK
# * check_asm --asm_home=/oracle/gridhome --action=dgstate
# * [OK] Diskgroup state: (CRS: MOUNTED) (FRA: MOUNTED) (DATA: MOUNTED)
# * check_asm --asm_home=/oracle/gridhome --action=alertlogerror
# * [OK] ASM AlertLog Errors: 0
# * check_asm --asm_home=/oracle/gridhome --action=usedspace --threshold DATA=95:98
# * [OK] Diskgroup used space: (CRS: 7.94%: OK) (FRA: 1.80%: OK) (DATA: 55.82%: OK)
# *
# *******************************************************************************
NRPE install instructions can be found at https://support.nagios.com/kb/article/n ... rpe-8.html or https://support.nagios.com/kb/article/n ... e-515.html.
Re: How-to about Oracle ASM ...
We don't have instructions for that one either but it looks like it will also need to be run on the Oracle machine with an agent like NRPE or NCPA. I would break it down into steps - first download and install the script on the Oracle machine and work on getting it to run. After that move on to installing an agent to run it and integrate with XI.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.