Icinga2: 2.8.0: warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository'

Created on 19 Nov 2017  路  4Comments  路  Source: Icinga/icinga2

Since an update to 2.8.0 on master I get a lot of

warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint

It looks like everything is working but spams a lot.

The endpoint are still on 2.7.x
If I update an endpoint to 2.8.0 the message for this endpoint is gone.
It doesn't matter if an endpoint is client or satellite.

If I update a satellite it shows the same message for connected endpoints with version 2.7.x.

One endpoint (filtered):

[2017-11-18 23:56:32 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:56:32 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:56:33 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:56:34 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:56:34 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:56:34 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:56:35 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:56:35 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:56:36 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:56:36 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:56:37 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:56:38 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:56:42 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:00 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:00 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:00 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:00 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:02 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:02 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:02 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:03 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:04 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:04 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:04 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:05 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:05 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:06 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:06 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:07 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:08 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:57:12 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.

all endpoints:

[2017-11-18 23:58:37 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-ffm.rad-ffm.local'.
[2017-11-18 23:58:37 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-bh.rad-bh.local'.
[2017-11-18 23:58:38 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:58:39 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-bh.rad-bh.local'.
[2017-11-18 23:58:40 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-bh.rad-bh.local'.
[2017-11-18 23:58:41 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-ex1.extern1.local'.
[2017-11-18 23:58:41 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-cc.cc.private'.
[2017-11-18 23:58:41 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-ffm.rad-ffm.local'.
[2017-11-18 23:58:42 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-az.rad-az.local'.
[2017-11-18 23:58:42 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-rh.rad-rh.local'.
[2017-11-18 23:58:42 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'icinga-dtm.dtm.private'.
[2017-11-18 23:58:46 +0000] warning/JsonRpcConnection: Call to non-existent function 'event::UpdateRepository' from endpoint 'server4.hq1.local'.

$ uname -a

Linux lx-icinga.hq1.local 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux

# icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: r2.8.0-1)

Copyright (c) 2012-2017 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: Debian GNU/Linux
  Platform version: 9 (stretch)
  Kernel: Linux
  Kernel version: 4.9.0-4-amd64
  Architecture: x86_64

Build information:
  Compiler: GNU 6.3.0
  Build host: fd5704a3fd2e

$ icinga2 feature list

Disabled features: compatlog debuglog elasticsearch gelf graphite icingastatus livestatus opentsdb perfdata statusdata syslog
Enabled features: api-users api checker command ido-mysql influxdb mainlog notification

$ icinga2 daemon -C

information/cli: Icinga application loader (version: r2.8.0-1)
information/cli: Loading configuration file(s).
information/ConfigItem: Committing config item(s).
warning/ApiListener: Attribute 'key_path' for object 'api' of type 'ApiListener' is deprecated and should not be used.
warning/ApiListener: Attribute 'ca_path' for object 'api' of type 'ApiListener' is deprecated and should not be used.
warning/ApiListener: Attribute 'cert_path' for object 'api' of type 'ApiListener' is deprecated and should not be used.
warning/ApiListener: Please read the upgrading documentation for v2.8: https://www.icinga.com/docs/icinga2/latest/doc/16-upgrading-icinga-2/
information/ApiListener: My API identity: icinga.extern1.zmt.info
warning/ApplyRule: Apply rule 'satellite-host' (in /etc/icinga2/zones.d/global-templates-sat/satellite.conf: 29:1-29:41) for type 'Dependency' does not match anywhere!
warning/ApplyRule: Apply rule 'VZDUMP' (in /etc/icinga2/zones.d/global-templates-sat/downtimes.conf: 19:1-19:40) for type 'ScheduledDowntime' does not match anywhere!
warning/ApplyRule: Apply rule 'Update' (in /etc/icinga2/zones.d/global-templates-sat/downtimes.conf: 31:1-31:40) for type 'ScheduledDowntime' does not match anywhere!
warning/ApplyRule: Apply rule 'win_check-USB-Device-Disc-Publisher-SE' (in /etc/icinga2/zones.d/global-templates-sat/service-dummy.conf: 27:1-27:54) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'win_check-New-Client' (in /etc/icinga2/zones.d/global-templates-sat/services-windows.conf: 100:1-100:36) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'win_check_CDDrive' (in /etc/icinga2/zones.d/global-templates-sat/services-windows.conf: 114:1-114:33) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'win_check-USB-Device' (in /etc/icinga2/zones.d/global-templates-sat/services-windows.conf: 126:1-126:36) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'ping4' (in /etc/icinga2/zones.d/global-templates-sat/services.conf: 6:1-6:21) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'ping6' (in /etc/icinga2/zones.d/global-templates-sat/services.conf: 16:1-16:21) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'SNMP_' (in /etc/icinga2/zones.d/global-templates-sat/services.conf: 238:1-238:66) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'Areca RAID' (in /etc/icinga2/zones.d/global-templates-sat/services.conf: 647:1-647:26) for type 'Service' does not match anywhere!
information/ConfigItem: Instantiated 1 ApiListener.
information/ConfigItem: Instantiated 89 Zones.
information/ConfigItem: Instantiated 87 Endpoints.
information/ConfigItem: Instantiated 3 ApiUsers.
information/ConfigItem: Instantiated 1 FileLogger.
information/ConfigItem: Instantiated 2709 Notifications.
information/ConfigItem: Instantiated 2 NotificationCommands.
information/ConfigItem: Instantiated 276 CheckCommands.
information/ConfigItem: Instantiated 35 HostGroups.
information/ConfigItem: Instantiated 1 IcingaApplication.
information/ConfigItem: Instantiated 1 EventCommand.
information/ConfigItem: Instantiated 185 Hosts.
information/ConfigItem: Instantiated 43 Comments.
information/ConfigItem: Instantiated 1 UserGroup.
information/ConfigItem: Instantiated 184 Dependencies.
information/ConfigItem: Instantiated 2 Users.
information/ConfigItem: Instantiated 4 TimePeriods.
information/ConfigItem: Instantiated 2524 Services.
information/ConfigItem: Instantiated 24 ServiceGroups.
information/ConfigItem: Instantiated 1 CheckerComponent.
information/ConfigItem: Instantiated 1 IdoMysqlConnection.
information/ConfigItem: Instantiated 1 InfluxdbWriter.
information/ConfigItem: Instantiated 1 NotificationComponent.
information/ConfigItem: Instantiated 1 ExternalCommandListener.
information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars'
information/cli: Finished validating the configuration file(s).

icinga-az.rad-az.local

$ icinga2 daemon -C

information/cli: Icinga application loader (version: r2.7.0-1)
information/cli: Loading configuration file(s).
information/ConfigItem: Committing config item(s).
information/ApiListener: My API identity: icinga-az.rad-az.local
warning/ApplyRule: Apply rule 'satellite-host' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/satellite.conf: 29:1-29:41) for type 'Dependency' does not match anywhere!
warning/ApplyRule: Apply rule 'VZDUMP' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/downtimes.conf: 19:1-19:40) for type 'ScheduledDowntime' does not match anywhere!
warning/ApplyRule: Apply rule 'Update' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/downtimes.conf: 31:1-31:40) for type 'ScheduledDowntime' does not match anywhere!
warning/ApplyRule: Apply rule 'win_check-USB-Device-Disc-Publisher-SE' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/service-dummy.conf: 27:1-27:54) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'win_check_CDDrive' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/services-windows.conf: 114:1-114:33) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'win_check-USB-Device' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/services-windows.conf: 126:1-126:36) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'ping4' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/services.conf: 6:1-6:21) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'ping6' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/services.conf: 16:1-16:21) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'Check(SNMP) Interfaces: ' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/services.conf: 62:1-62:78) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'Check MsSql Size: ' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/services.conf: 79:1-79:74) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'Check MsSql Memory: ' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/services.conf: 96:1-96:76) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'Check MsSql Cache: ' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/services.conf: 116:1-116:75) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'SNMP_' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/services.conf: 238:1-238:66) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'ssl_' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/services.conf: 298:1-298:58) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'MySQL_' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/services.conf: 599:1-599:66) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'Areca RAID' (in /var/lib/icinga2/api/zones/global-templates-sat/_etc/services.conf: 647:1-647:26) for type 'Service' does not match anywhere!
information/ConfigItem: Instantiated 1 ApiListener.
information/ConfigItem: Instantiated 22 Zones.
information/ConfigItem: Instantiated 1 FileLogger.
information/ConfigItem: Instantiated 20 Endpoints.
information/ConfigItem: Instantiated 2 NotificationCommands.
information/ConfigItem: Instantiated 577 Notifications.
information/ConfigItem: Instantiated 129 CheckCommands.
information/ConfigItem: Instantiated 39 Hosts.
information/ConfigItem: Instantiated 1 IcingaApplication.
information/ConfigItem: Instantiated 35 HostGroups.
information/ConfigItem: Instantiated 1 EventCommand.
information/ConfigItem: Instantiated 12 Comments.
information/ConfigItem: Instantiated 38 Dependencies.
information/ConfigItem: Instantiated 1 UserGroup.
information/ConfigItem: Instantiated 4 TimePeriods.
information/ConfigItem: Instantiated 2 Users.
information/ConfigItem: Instantiated 538 Services.
information/ConfigItem: Instantiated 24 ServiceGroups.
information/ConfigItem: Instantiated 1 CheckerComponent.
information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars'
information/cli: Finished validating the configuration file(s).
aredistributed arelog bug corbackported

Most helpful comment

That's right, this should be changed to LogNotice. @Crunsher do you agree?

All 4 comments

This is because the Bottom Up Client mode is removed in 2.8.0 . Your satellites/clients are try to call a function that your master don't know anymore.

If you upgrade all of your satellites/clients the log entries should be gone.

But it needs time to update and the log is very unreadable.

That's right, this should be changed to LogNotice. @Crunsher do you agree?

Makes sense~

Was this page helpful?
0 / 5 - 0 ratings