** Description changed:

+ [Impact]
+ 
+ monitoring-plugins-standard in Hirsute is missing the check_mysql
+ plugin, which is present in Focal and >= Impish. The plugin is used to
+ tests connections to a MySQL server [1]. This is a regression for people
+ updating from Focal to Hirsute.
+ 
+ [Test Plan]
+ 
+ Check that the check_mysql plugin is actually built and installed.
+ Actual functionality can be verified manually by running the following
+ (without mysql-server-8.0 installed):
+ 
+ $ /usr/lib/nagios/plugins/check_mysql
+ Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)
+ 
+ and the following (after installing mysql-server-8.0):
+ 
+ $ /usr/lib/nagios/plugins/check_mysql
+ 
+ Access denied for user 'ubuntu'@'localhost' (using password: NO)
+ $ sudo /usr/lib/nagios/plugins/check_mysql
+ Uptime: 26  Threads: 2  Questions: 2  Slow queries: 0  Opens: 117  Flush 
tables: 3  Open tables: 36  Queries per second avg: 0.076|Connections=9c;;; 
Open_files=2;;; Open_tables=53;;; Queries=3c;;; Questions=1c;;; 
Table_locks_waited=0c;;; Threads_connected=1;;; Threads_running=2;;; 
Uptime=26c;;;
+ 
+ [Where problems could occur]
+ 
+ I don't see concrete risks coming from building the missing plugin, as
+ at the moment it's entirely missing. I only see the generic risk of
+ rebuilding a package against newer libraries.
+ 
+ [Development Fix]
+ 
+ The bug only affects Hirsute.
+ 
+ [1] https://www.monitoring-plugins.org/doc/man/check_mysql.html
+ 
+ [Original Description]
+ 
  check_mysql is included in 20.04 and also in 21.10
  but missing in current 21.04
  
  https://packages.ubuntu.com/focal/amd64/monitoring-plugins-standard/filelist
  https://packages.ubuntu.com/hirsute/amd64/monitoring-plugins-standard/filelist
  https://packages.ubuntu.com/impish/amd64/monitoring-plugins-standard/filelist
  
  i installed impish package on on hirsute and it works for me, so what is the 
reason of the missing files?
  wget 
http://de.archive.ubuntu.com/ubuntu/pool/universe/m/monitoring-plugins/monitoring-plugins-standard_2.3.1-1ubuntu2_amd64.deb
  dpki -i monitoring-plugins-standard_2.3.1-1ubuntu2_amd64.deb

** Also affects: monitoring-plugins (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Changed in: monitoring-plugins (Ubuntu Hirsute)
       Status: New => Triaged

** Changed in: monitoring-plugins (Ubuntu Hirsute)
     Assignee: (unassigned) => Paride Legovini (paride)

** Changed in: monitoring-plugins (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947141

Title:
  monitoring-plugins-standard check_mysql missing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/monitoring-plugins/+bug/1947141/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to