Date: Wed, 12 Apr 2017 21:25:00 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218611] [PATCH] net-mgmt/percona-monitoring-plugins: follow FreeBSD hier(7) Message-ID: <bug-218611-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218611 Bug ID: 218611 Summary: [PATCH] net-mgmt/percona-monitoring-plugins: follow FreeBSD hier(7) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: feld@FreeBSD.org CC: alexey@renatasystems.org Flags: maintainer-feedback?(alexey@renatasystems.org) CC: alexey@renatasystems.org Keywords: patch Created attachment 181739 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D181739&action= =3Dedit percona-monitoring-plugins Percona monitoring plugins include scripts to monitor many things. One of t= he functions is to monitor MySQL servers. The options for supplying credentials are as follows: 1) edit the scripts to hardcode the credentials in (bad) 2) Pass as parameters in Nagios / tediously save for each graph in Cacti 3) Use a config file! Option 3 is great, but the scripts are looking in /etc/nagios and /etc/cacti for the files that supply the MySQL credentials. The following patch to the port ensures the scripts will look in %%LOCALBASE%%/etc/nagios and cacti so= we aren't putting files in base unnecessarily. Thanks! --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218611-13>