-
Notifications
You must be signed in to change notification settings - Fork 8
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
sql malformed where clause #37
Comments
It seems I have same issue. Could we somehow fix it? |
I have exactly same issue.
|
It seems the problem is caused by the static parts of SQL queries, which is matches with MySQL but incompatible with PostgreSQL. @joernott are you using PostgreSQL with Icinga2? |
I tried to patch it to work with PostgreSQL:
Now it is not break on PostgreSQL, might not work on MySQL/MariaDB. or not work at all. Try to figure out how can be DB independent. |
Yes, we are working with Postgresql |
Should be fixed in #54 which now uses |
I have defined the following yaml file:
When trying to view this, I am getting this error message;
It look slike the WHERE clause is generated in a wrong order, the lines starting with "AND" are listed before the line starting with "WHERE".
This happens when I define a service. When I remove the service object from the yaml file, the tile is displayed, but it is in light purple (despite the hostalive for that host being green), but that is another issue.
The text was updated successfully, but these errors were encountered: