| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 26 min. | added CHECK_EOF to work around warnings about EOF and -1 being the same | Andreas Baumann | 1 | -1/+1 | |
| 2025-11-27 | Look for either replica or slave in replica status | Lorenz Kästle | 1 | -31/+17 | |
| 2025-11-26 | Add output formatting option where they were forgotten | Lorenz Kästle | 1 | -0/+19 | |
| 2025-11-07 | check_mysql: implement modern output | Lorenz Kästle | 1 | -101/+169 | |
| 2025-11-06 | check_mysql: replace cpp constant with a proper enum | Lorenz Kästle | 1 | -2/+5 | |
| 2025-09-30 | More renaming due to MySQL name chances | Lorenz Kästle | 1 | -11/+26 | |
| Due to MySQL changing several term in Version 8.0.22 the way to determine the status of replicas has changed. To adapt to these changes in a517dc614e44650a7e9204c4202feec7a40fd37f check_mysql was modified to adapt to different versions. Some parts were missed though which results in failures to detect the replica status properly. This parts should be contained in this commit. | |||||
| 2025-09-26 | check_mysql: Assume MySQL server by default (in replica check) | Lorenz Kästle | 1 | -5/+2 | |
| In the Debian Bug tracker (and then Github) a person pointed out, that a MySQL server does not respond with a hint that is indeed the MySQL software but only with the version string. Which makes sense if one assumes to be the only implementation. This commit changes the behaviour of the Replica check to assume that the counterpart is a MySQL server if there are not hints that it is a MariaDB server. | |||||
| 2025-09-15 | Run clang-format again | Lorenz Kästle | 1 | -31/+57 | |
| 2025-03-11 | Refactor check_mysql | Lorenz Kästle | 1 | -116/+101 | |
| 2025-02-24 | Add MySQL server version dectection and adaptive replica query | Lorenz Kästle | 1 | -2/+50 | |
| 2025-02-24 | Add check-replica option for check_mysql, deprecate check_slave | Lorenz Kästle | 1 | -37/+55 | |
| This commit adds an option "check-replica" to check_mysql which replaces "check-slave" (which still works). The changes are introduced to follow the naming scheme of MySQL/MariaDB, since this was changed there in version 8 (MySQL) or 10.5.1 (MariaDB). | |||||
| 2025-02-20 | Rename variable check_slave to check_replica | Lorenz Kästle | 1 | -4/+4 | |
| 2025-02-20 | clang-format | Lorenz Kästle | 1 | -321/+282 | |
| 2024-11-08 | check_mysql: delare file local variables static | Lorenz Kästle | 1 | -21/+21 | |
| 2024-10-31 | check_mysql: update copyright | Lorenz Kästle | 1 | -2/+2 | |
| 2024-08-28 | check_mysql: Label some booleans correctly | Lorenz Kästle | 1 | -4/+4 | |
| 2024-08-28 | check_mysql: remove unused global variables | Lorenz Kästle | 1 | -1/+1 | |
| 2023-10-18 | check_mysql: Use C99 booleans | RincewindsHat | 1 | -7/+7 | |
| 2023-09-18 | Merge branch 'master' into mysql_detect_mysqldump | RincewindsHat | 1 | -2/+5 | |
| 2023-09-18 | Initialize slaveresult to 0 and use strncat instead of bsd strlcat | RincewindsHat | 1 | -2/+2 | |
| 2023-09-18 | Add mysql_close to avoid spamming the server logs | RincewindsHat | 1 | -0/+1 | |
| 2023-05-30 | check_mysql: handle ER_ACCESS_DENIED_NO_PASSWORD_ERROR if ignore_auth=1 | Platon Pronko | 1 | -1/+4 | |
| In some situations MySQL might return ER_ACCESS_DENIED_NO_PASSWORD_ERROR instead of ER_ACCESS_DENIED_ERROR. Semantically these errors are the same. | |||||
| 2023-04-28 | Typo in check_mysql | Lorenz Kästle | 1 | -1/+1 | |
| 2021-10-31 | check_mysql.c: Detect running mysqldump | Gerardo Malazdrewicz | 1 | -6/+26 | |
| When checking a slave, if the IO Thread or the SQL Thread are stopped, check for running mysqldump threads, return STATE_OK if there is any. Requires PROCESS privilege to work (else the mysqldump thread(s) would not be detected). Enlarged SLAVERESULTSIZE to fit "Mysqldump: in progress" at the end of the string. Got a NULL pointer in row[seconds_behind_field] instead of the "NULL" string when a mysqldump is running [mysql 5.7.34 + libmariadb3 10.3.31], so added a check for that. | |||||
| 2019-03-21 | check_mysql: Allow sockets to be specified to -H | Robin Sonefors | 1 | -0/+3 | |
| The help text says that -H accepts a "unix socket (must be an absolute path)". Now that actually corresponds to reality. Signed-off-by: Robin Sonefors <robin.sonefors@op5.com> | |||||
| 2015-10-04 | use unknown exit code for help/version in plugins | Sven Nierlein | 1 | -2/+2 | |
| Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
| 2014-07-28 | check_mysql: ignore authentication failure | Jan Wagner | 1 | -2/+20 | |
| This patch allows checking if MySQL server is running without providing valid username and password. Similar to check_ssh plugin it returns MySQL server version string and protocol number. Example: check_mysql -n -H aaa.bbb.ccc.ddd MySQL OK - Version: 5.0.51a-24+lenny5 (protocol 10) This is useful for monitoring servers where one does not have administrator privileges or does not want to grant any privileges for the monitoring station. To enable this functionality new option --ignore-auth (-n) is added to check_mysql plugin. Thanks to Julius Kriukas Closes #1020 Closes #1178 | |||||
| 2014-04-03 | Fix check_mysql.c client options from file | awiddersheim | 1 | -6/+0 | |
| If you don't specify a group or a file to read data from the plugin tries to read from several files that don't exist and no groups. | |||||
| 2014-01-20 | Capitalize "Monitoring" when it's the first word | Holger Weiss | 1 | -1/+1 | |
| 2014-01-19 | Project rename initial commit. | Monitoring Plugins Development Team | 1 | -3/+3 | |
| This is an initial take at renaming the project to Monitoring Plugins. It's not expected to be fully complete, and it is expected to break things (The perl module for instance). More testing will be required before this goes mainline. | |||||
| 2013-08-18 | check_mysql: Don't accept new positional arguments | Holger Weiss | 1 | -4/+0 | |
| Do not also accept the new -f/--file and -g/--group options as positional arguments (especially not prior to "db_pass" and "db", as that would break backward compatibility). | |||||
| 2013-08-18 | check_mysql: Use xasprintf instead of asprintf | Holger Weiss | 1 | -1/+1 | |
| 2013-08-18 | check_mysql: Fix copy'n'pasted comments | Holger Weiss | 1 | -2/+2 | |
| 2013-08-18 | Merge branch 'master' of https://github.com/jonmilby/nagios-plugins | Holger Weiss | 1 | -4/+34 | |
| * 'master' of https://github.com/jonmilby/nagios-plugins: Updated check_mysql.c to take client options file and group parameters Conflicts: plugins/check_mysql.c | |||||
| 2013-08-18 | check_mysql: Connections should have been defined as a counter | Tim Laszlo | 1 | -3/+3 | |
| 2013-08-18 | Counter increments were incorrect; remove the leading space from perfdata | Tim Laszlo | 1 | -4/+7 | |
| 2013-08-18 | check_mysql: add perfromance metrics for all checks | Tim Laszlo | 1 | -10/+61 | |
| 2013-08-18 | check_mysql: when checking slave thread add performance data for seconds ↵ | Tim Laszlo | 1 | -3/+17 | |
| behind master | |||||
| 2013-08-18 | check_mysql: Cosmetic changes to SSL support | Holger Weiss | 1 | -23/+23 | |
| Use (slightly) more intuitive option names etc. | |||||
| 2013-08-18 | Added ssl support to check_myslq | Juan Carlos Fernandez | 1 | -2/+48 | |
| 2013-01-24 | Apply my patch from: | Daniël van Eeden | 1 | -3/+8 | |
| http://sourceforge.net/tracker/index.php?func=detail&aid=3269273&group_id=29880&atid=397597 | |||||
| 2012-12-28 | Updated check_mysql.c to take client options file and group parameters | Jonathan Milby | 1 | -4/+35 | |
| 2012-06-29 | Die when asprintf fails | Anders Kaseorg | 1 | -1/+1 | |
| Fixes many instances of warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Anders Kaseorg <andersk@mit.edu> | |||||
| 2010-04-22 | Add newline after "Usage:" in --help | Thomas Guyot-Sionnest | 1 | -1/+1 | |
| 2010-04-21 | Standardize the extra-opts notes | Thomas Guyot-Sionnest | 1 | -4/+0 | |
| 2010-04-14 | Fix translations when extra-opts aren't enabled | Thomas Guyot-Sionnest | 1 | -5/+5 | |
| Bug #2832884 reported problem with translations outputting pot file headers. This is caused by "" matching the header of the translation files. This patch moves gettext macros inside utils macros and update some french translations. | |||||
| 2009-05-20 | Fix check_mysql* not using password set in my.cnf (#2531905 - Ben Timby) | Thomas Guyot-Sionnest | 1 | -4/+4 | |
| 2009-03-24 | check_mysql: Fix segfault with old slaves (#2696823 - Oskar Ahner) | Thomas Guyot-Sionnest | 1 | -1/+2 | |
| 2009-02-20 | Typo fixes (Jan Wagner - SF 1878971) | Ton Voon | 1 | -1/+1 | |
| 2008-11-23 | Removing CVS/SVN tags and replacing with git-based versioning | Thomas Guyot-Sionnest | 1 | -6/+2 | |
| For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c | |||||
