lausser / check_oracle_health

A plugin (monitoring-plugin, not nagios-plugin, see also http://is.gd/PP1330) which checks various parameters of Oracle database servers. (We also offer trainings: http://www.consol.de/open-source-monitoring/schulungen/workshops/#datenbank-monitoring)
http://labs.consol.de/nagios/check_oracle_health
GNU General Public License v2.0
34 stars 29 forks source link

Warning "Negative repeat count does nothing" when using mode "tablespace-usage" #31

Closed franklinjk closed 5 years ago

franklinjk commented 5 years ago

After upgrading my linux-server every time check_oracle_health gets executed with mode tablespace-usage, the following warnings appears before the check results:

Negative repeate count does nothing at ./check_oracle_health line 3818
Negative repeate count does nothing at ./check_oracle_health line 3818
Negative repeate count does nothing at ./check_oracle_health line 3818
OK - tbs USERS usage is ....

However this doesnt seem to inflict the determination of the tablespace values.

franklinjk commented 5 years ago

I figured out that this looks like a new warning introduced at pearl 5.21.

The real cause for these warnings seems to be in the file Tablespace.pm at line 609. I tried changing the value of "tlen" in line 606 from 20 to 100, and the warnings disappeared. Through i dont know enough about perl i cant tell the other possible impact of my change...

lausser commented 5 years ago

Look at labs.consol.de, there should be a 3.2.1.1 version in a few minutes. The warning should be gone.

Von: franklinjk [mailto:notifications@github.com] Gesendet: Freitag, 15. November 2019 13:50 An: lausser/check_oracle_health check_oracle_health@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Betreff: Re: [lausser/check_oracle_health] Warning "Negative repeat count does nothing" when using mode "tablespace-usage" (#31)

I figured out that this looks like a new warning introduced at pearl 5.21.

The real cause for these warnings seems to be in the file "Tablespace.pm" at line 609. I tried changing the value of "tlen" in line 606 from 20 to 100, and the warnings disappeared. Through i dont know enough about perl i cant tell the other possible impact of my change...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lausser/check_oracle_health/issues/31?email_source=notifications&email_token=AABQSOEWIX22CKGP2XIQJQTQT2LJHA5CNFSM4JN2G3WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEFKW3I#issuecomment-554347373 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AABQSOGF5PAUTCXYT43WQC3QT2LJHANCNFSM4JN2G3WA . https://github.com/notifications/beacon/AABQSOB66UO2VNE7NNIROFTQT2LJHA5CNFSM4JN2G3WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEFKW3I.gif

franklinjk commented 5 years ago

Installed 3.2.1.1 yesterday, and the warnings disappeared.