[Release] Checkmk stable release 2.3.0p17

Dear friends of Checkmk,

the new stable release 2.3.0p17 of Checkmk is ready for download.

This stable release ships with 15 changes affecting all editions of Checkmk,
2 changes for the Enterprise editions, 0 Cloud Edition specific and
1 Managed Services Edition specific changes.

Changes in all Checkmk Editions:

Checks & agents

  • 17033 if_fortigate: Show admin state in summary…
  • 17035 mysql_replica_slave: Adapt mk_mysql for MySQL version 8.0.22 and above…
  • 16252 FIX: Reduce API requests during gcp list-assets…
  • 17192 FIX: Some active checks ignored ‘Translation of service descriptions’…
  • 16869 FIX: azure: Don’t fetch vNet gateway peerings from another subscription…
  • 16868 FIX: azure: Fetch metrics in bulk…
  • 16873 FIX: elasticsearch_query: Fix update from 2.2 to 2.3…
  • 17191 FIX: mk_docker.py: Don’t crash if a devices ‘/sys/block/DEVICE/dev’ is missing
  • 16893 FIX: pure_storage_fa_volumes: protocol_endpoints result in DivisionByZero exception…
  • 16894 FIX: ups_*: support for NetVision OIDs…
  • 16870 FIX: vsphere: Determine snapshot age based on system time…

Event console

  • 16122 FIX: Fixed site matching for expected regular event console messages…
  • 16123 FIX: Use the original message text for rewriting the comment field…

Notifications

  • 17168 FIX: Test notifications: Fix simulation of “Start of downtime”…

Setup

  • 17265 FIX: Git: Support long commit messages…

Changes in the Checkmk Enterprise Edition:

Checks & agents

  • 16846 FIX: WATO configures correctly custom imstances for MS SQL Server plugin…

User interface

  • 17293 FIX: Synthetic Monitoring: Remove “Expand/Collapse all” buttons from HTML logs…

Changes in the Checkmk Cloud Edition:

NO CHANGES

Changes in the Checkmk Saas Edition:

NO CHANGES

Changes in the Checkmk Managed Services Edition:

Setup

  • 14236 FIX: Fixed missing hosts on remote sites…

You can download Checkmk from our download page: Download Checkmk for free | Checkmk

List of all changes: Werks

We greatly thank you for using Checkmk and wish you a successful monitoring,

Your Checkmk Team

After updating our checkmk instances and the mk_mysql plugin on the monitored server, the MySQL DB Slave mysql service is vanished:

image

root@misqlslave:~# cat /usr/lib/check_mk_agent/plugins/mk_mysql | grep VERSION
CMK_VERSION="2.3.0p17"
[...]
root@misqlslave:~# mysql --version
mysql  Ver 15.1 Distrib 10.1.37-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

Is this intended?
IMHO it was useful to see the seconds behind the master in checkmk…

The reason is that in our mysql version SHOW REPLICA STATUS\G; is not possible:

MariaDB [(none)]> SHOW REPLICA STATUS\G;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'REPLICA STATUS' at line 1
ERROR: No query specified

while SHOW SLAVE STATUS\G; works fine:

MariaDB [(none)]> SHOW SLAVE STATUS\G;
*************************** 1. row ***************************
               Slave_IO_State: Waiting for master to send event
                  Master_Host: misqlmaster.misoft.lan
                  Master_User: replication
                  Master_Port: 3306
                Connect_Retry: 60
[...]

We are “forced” to use a old mariadb version (10.1.37) right now, because many indices are not updated by our devs yet :frowning:

Could you please ensure backwards compatibility with the mk_mysql plugin? Thanks!

Edit: This is one of three mysql slave server our campany runs. On every other server the SHOW REPLICA STATUS; command does work :slight_smile:

Changing this to “SHOW SLAVE STATUS\G;” in the mk_mysql works for your Mariadb 10.1.37 without any problems ?

Looks like this command is available in all the latest MariaDB versions and not these old ones which are no longer maintained.

1 Like

Changing line 43 to: STATUS_COMMAND="show slave status\G"
does work for me!

I guess the -ge 8 is the reason why it doesnt work for me :frowning:
Changing it to -ge 11 does work again.

1 Like

We are discussing this internally and will do the necessary changes. Till then you already have a workaround.

2 Likes

3 posts were split to a new topic: Host Matrix gone

When a fix for that is provided as it is one month ago?!
You also have to be sure that the agent is updated immediately because the name of the agent section changed. Would be nice to put such info into the werk because the werk says there are no interaction needed.