-
Notifications
You must be signed in to change notification settings - Fork 175
txn_time/idle flap from OK to UNKNOWN #73
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
Comments
seeing the same thing |
So, no further comment? I'm starting to see flapping on another monitored system to which I don't have access to check, but I wouldn't be surprised that it related. If you want to keep the if, at least use something like:
This is untested. Just a thought. I directly removed the offending code. Cheers, |
A pull request was sent but is still waiting. |
+1 for the patch, having the same issue with queries agaist a table with contains a disabled column. |
@bucardo any chance to get this fixed soon? |
I am getting ERROR very frequently please could any one tell me how I can over come from this issue?
ERROR is getting from below code(took from check_postgres.pl) but I am unable to find way to over come from it Return unknown if stats_command_string / track_activities is off
|
@RajeshMadiwale: Are you seeing this also with the git version? If I remember correctly we changed a few bits here since the last tarball release. |
@ChristophBerg I did not tried with git version. |
I have tested with git version and yes I am able to get the correct output. |
I have been dealing with a problem in a new installation I was doing today. The problem came up as I saw in Icinga that txn_time and txn_idle were flapping and for no reason I could think of.
Checking the code, I found that the problem came here:
What would happen if the query had in some part the word 'disabled'? For example a column of a table which has been selected.
I think this is not the best way to check if a postgres setting is set accordinly.
Removing the offending code (as I'm sure the postgres setting has track_activities on) made everything work as expected.
The text was updated successfully, but these errors were encountered: