From owner-freebsd-ports-bugs@freebsd.org Wed Apr 12 21:25:01 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BFE86D3BC97 for ; Wed, 12 Apr 2017 21:25:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 94EFB6D5 for ; Wed, 12 Apr 2017 21:25:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v3CLP0ku059070 for ; Wed, 12 Apr 2017 21:25:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218611] [PATCH] net-mgmt/percona-monitoring-plugins: follow FreeBSD hier(7) Date: Wed, 12 Apr 2017 21:25:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: feld@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2017 21:25:01 -0000 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.=