Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative values and critical state when checking flash recovery area usage #22

Open
ccztux opened this issue Jan 2, 2018 · 2 comments

Comments

@ccztux
Copy link

ccztux commented Jan 2, 2018

Sometimes, the flash recovery area usage checks, are exiting with state critical and negative usage values. This happens on several monitoring-/oracle-systems.

Example:

CRITICAL - flra (/u01/app/oracle/fast_recovery_area) usage is -2.80%

Please let me know, if i can provide some more helpful infos.

@mt-lmk
Copy link

mt-lmk commented May 16, 2018

Seems like Oracle sometimes returns some funky numbers and reclaimable space is bigger than used space. That causes the Flash recovery area usage to be negative.
Wed May 16 00:08:01 2018: fetchall_array:
SELECT
name, space_limit, space_used, space_reclaimable, number_of_files
FROM
v$recovery_file_dest

Wed May 16 00:08:01 2018: args: $VAR1 = [];

Wed May 16 00:08:01 2018: RESULT:
$VAR1 = [
[
'+DATA',
'85899345920',
'10230956032',
'16989028352',
'8'
]
];

@mt-lmk
Copy link

mt-lmk commented May 16, 2018

As for the critical returned in this case use --warning ~:90 --critical ~:95 which will allow the negative values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants