From owner-freebsd-ports@freebsd.org Sun Mar 1 11:03:15 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CEF0D26D2D9 for ; Sun, 1 Mar 2020 11:03:15 +0000 (UTC) (envelope-from andyf@andyit.com.au) Received: from alpine.spintel.net.au (alpine.spintel.net.au [203.23.236.77]) (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 48VgNy13ldz4JjS; Sun, 1 Mar 2020 11:03:13 +0000 (UTC) (envelope-from andyf@andyit.com.au) Received: from drunkfish.andyit.com.au (210-1-210-40-cpe.spintel.net.au [210.1.210.40]) by alpine.spintel.net.au (Postfix) with ESMTPS id 146034C035B; Sun, 1 Mar 2020 20:08:01 +1100 (AEDT) Received: from mater.andyit.com.au (mater.andyit.com.au [172.22.2.22]) by drunkfish.andyit.com.au (8.15.2/8.15.2) with ESMTPS id 021980rv076677 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sun, 1 Mar 2020 19:08:00 +1000 (AEST) (envelope-from andyf@andyit.com.au) To: freebsd-ports@freebsd.org, mat@freebsd.org From: Andy Farkas Subject: sysutils/munin-* Message-ID: <322c8e08-c995-7515-1b6f-42d3e8ecd531@andyit.com.au> Date: Sun, 1 Mar 2020 19:08:00 +1000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-AU X-Rspamd-Queue-Id: 48VgNy13ldz4JjS X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of andyf@andyit.com.au has no SPF policy when checking 203.23.236.77) smtp.mailfrom=andyf@andyit.com.au X-Spamd-Result: default: False [6.38 / 15.00]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,body]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[andyit.com.au]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.91)[0.911,0]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(3.67)[ip: (9.58), ipnet: 203.23.236.0/24(4.79), asn: 18390(3.96), country: AU(0.01)]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(1.00)[0.999,0]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[77.236.23.203.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:18390, ipnet:203.23.236.0/24, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-Spam: Yes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2020 11:03:15 -0000 Trying to setup munin on my home server but it ain't going so well. [note: to save typing $(WWW) == /usr/local/www/] I've installed apache24 web server and can see the home page. The root index.html file is in $(WWW)/apache24/data/ and I can view it in a browser. Good. Then I Installed rrdtool, munin-common, munin-master and munin-node. I did 'munin-node-configure --shell | sh -x' to populate plugins. There are now 2 new directories created in $(WWW):  $(WWW)/cgi-bin/  (munin cgi scripts)  $(WWW)/munin/  (munin .html files) This seems wrong because apache has no way to see them. So I moved $(WWW)/munin/ into $(WWW)/apache24/data/ and did a 'ln -s apache24/data/munin/ munin' in the $(WWW) directory, then copied the files in $(WWW)/cgi-bin/ into $(WWW)/apache24/cgi-bin/ Yay! I can view munin stuff at http://www.mysite/munin/ I think this is what the munin port should've done in the first place. Any comments so far? My story continues because it is not working properly yet. I know munin-master is working because I'm getting an email every 5 minutes from munin-cron. It says: "Undefined subroutine &RRDs::graph called at /usr/local/lib/perl5/site_perl/Munin/Master/GraphOld.pm line 1406." and no graphs are showing, only broken-image icons. Any pointers on where to look to fix this? Thanks, -andyf