Page 1 of 1

check_oracle_health

Posted: Sun Nov 06, 2011 1:36 pm
by tdev457
Hi,
I am new to nagios.When I use check_oracle_health with sql mode to query database I have follovin problem.
When the result is < 1 I receive message UNKNOWN - got no valid response for select.......
I need to store all possible results from query.How to change default behaviour of this plugin???
Thanks!!!

Re: check_oracle_health

Posted: Mon Nov 07, 2011 3:20 pm
by nscott
tdev,

It is just a perl plugin, so you could edit it as you see fit. I'm not a perl guy, but what you'd just need to find where it checks to see if the value is -1 and remove it.