Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Nagios plug-in for Oracle ASM instance (11g and above) It checks: a) disk status b) diskgroup state (mounted/dismounted) c) ASM alertlog for any ORA- errors occured in last 24 hours d) diskgroup used space; you can define warning/critical thresholds per diskgroup
Current Version
1.5
Last Release Date
2015-06-09
Owner
Krzysztof Lewandowski
License
GPL
Compatible With
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)
I've added performance data support to this check: https://github.com/maciejkorzen/misc-perl/blob/532d24b178fa20cbbb7ba4a4fbf756541cfea536/check_asm (short URL: http://tiny.pl/qsfd6).
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!