Commit Graph
9 Commits
Author SHA1 Message Date
DeltawingsandGitHub d3a8aaef51 Constants definition logic modification
Correction avoiding script exit when configuration file doesn't exist because MySQL connection constants can also be set at the beginning of this script.
2021-11-10 22:25:51 +01:00
Zane C. Bowers-HadleyandTony Murray d609e23600 /tmp fix (#250)
* convert the snmp scripts using tmp files over to use mktemp

* reverse this... joy... not a temp file but cache file ;(

* moved cache file from under /tmp to /var/cache/librenms

* fix mysql tmp usage
2019-08-08 21:18:06 -05:00
Shao Yu-Lung (Allen) 8114d88f91 remove duplicate code 2019-03-16 14:33:31 +08:00
dragansandDaniel Preussker 2996ad88b0 fix: Update mysql (#127)
Update mysql agent script based on updated changes in newest version of Percona Monitoring Plugins (Cacti template).

Changes enable correct parsing of status data for newer versions of MySQL/MariaDB database servers and should be backward compatible with older versions.
2017-10-27 07:39:09 +02:00
Tony Murray fc07e27c37 Fix permissions 2016-07-21 22:26:02 -05:00
Tony Murray e80b025818 Use mysqli instead of mysql 2016-07-21 21:31:25 -05:00
Mike Rostermund 66d502837d Moved mysql tag a bit up and added a newline to error msg. 2015-11-11 14:21:49 +01:00
Daniel Preussker 63d31665ce Fix MySQL Host Logic 2015-08-18 15:08:50 +00:00
f0o 195a46c1e3 Initial commit 2015-05-18 10:58:01 +00:00