-
Notifications
You must be signed in to change notification settings - Fork 282
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
Icinga\Exception\ProgrammingError in IdoQuery.php:981 Got invalid column: host #3545
Comments
Hi, Thanks for the report. I can confirm this issue. Best, |
Hi, As a workaround we truncated the following tables:
Best regards |
@lippserd Do you think our workaround is a valid approach to "solve" the issue? We did this in our stage environment and until now it seems to work fine. Now we need to decide whether we update our live environment. So in case the same happens in our live environment, can we safely truncate the tables or would you advise to wait for a proper fix from you? Update: We had no issues during the update of our live environment. |
FYI: Icinga/icinga2#6569 and https://github.com/Icinga/icinga2/pull/6572/files include an official workaround. |
@ekeih Yes, the workaround is perfectly fine. @K0nne This exception is thrown if an invalid column is used for filters in one of our views. In this case it is the |
Today I found the following syslog entry:
Expected Behavior
No errors ;)
Current Behavior
For all hosts which were crated prior to the update, their host custom vars are not shown in the host-tab. New hosts, which were created today, and alle the services are not affected.
Possible Solution
Steps to Reproduce (for bugs)
unknown so far
Context
Yesterday we updated our environment from Icinga2 2.8.2 -> 2.9.1 and Icinga Web2 2.5.1 -> 2.6.0.
Your Environment
Icinga Web 2 Version
2.6.0
Git Commit
cfe6c7b
Git Commit Datum
2018-07-19
Copyright
© 2013-2018 Das Icinga Projekt
businessprocess 2.1.0
monitoring 2.6.0
pnp 1.1.0
icinga2 --version
):icinga2 - The Icinga 2 network monitoring daemon (version: r2.9.1-1)
Copyright (c) 2012-2018 Icinga Development Team (https://www.icinga.com/)
License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl2.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Application information:
Installation root: /usr
Sysconf directory: /etc
Run directory: /run
Local state directory: /var
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid
System information:
Platform: Red Hat Enterprise Linux Server
Platform version: 7.4 (Maipo)
Kernel: Linux
Kernel version: 3.10.0-693.21.1.el7.x86_64
Architecture: x86_64
Build information:
Compiler: GNU 4.8.5
Build host: unknown
Operating System and version:
RHEL 7.4
Enabled features (
icinga2 feature list
):Disabled features: command compatlog debuglog elasticsearch gelf graphite influxdb livestatus mainlog opentsdb statusdata
Enabled features: api checker ido-mysql notification perfdata syslog
Config validation (
icinga2 daemon -C
):[2018-08-02 11:23:21 +0200] information/cli: Icinga application loader (version: r2.9.1-1)
[2018-08-02 11:23:21 +0200] information/cli: Loading configuration file(s).
[2018-08-02 11:23:23 +0200] information/ConfigItem: Committing config item(s).
[2018-08-02 11:23:23 +0200] information/ApiListener: My API identity: icingamaster01
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 72495 Services.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 1 SyslogLogger.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 40 HostGroups.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 1 NotificationComponent.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 1 NotificationCommand.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 80782 Notifications.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 1 IcingaApplication.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 16876 Hosts.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 1 ApiListener.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 1 PerfdataWriter.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 1 CheckerComponent.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 13 Zones.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 18 Endpoints.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 4 ApiUsers.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 1 IdoMysqlConnection.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 248 CheckCommands.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 3 TimePeriods.
[2018-08-02 11:23:28 +0200] information/ConfigItem: Instantiated 1 User.
[2018-08-02 11:23:28 +0200] information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars'
[2018-08-02 11:23:28 +0200] information/cli: Finished validating the configuration file(s).
If you run multiple Icinga 2 instances, the
zones.conf
file (oricinga2 object list --type Endpoint
andicinga2 object list --type Zone
) from all affected nodes.The text was updated successfully, but these errors were encountered: