From: Robert L. <rob...@kl...> - 2012-04-12 18:13:20
|
From: Bjørn Ruberg Sent: Thursday, April 12, 2012 1:37 PM To: mun...@li... Subject: Re: [munin-users] No Graphs On 12. april 2012 18:06, Robert Longfield wrote: [...] The url I use is a sub domain on our domain. stats2.company.com. I wanted to know the full URL like you would enter it into a browser. You know, those who start with http:// and such. I ask because we need to know how you [think you] access your Munin HTML page. I checked and there is no cgi-bin directory in the document root of stats2.company.com (/var/cache/munin/www). In Debian, the cgi-bin exists in /usr/lib/cgi-bin/. Aliasing there is configured in Apache. (I assume you use Apache, please tell us if otherwise.) You might also have an "apache.conf" file in /etc/munin/. If so, this needs to be symlinked into Apache's /etc/apache2/conf.d/ directory so that Apache is able to read the munin-specific settings. I’ll look at removing the plugins. That was going to be a question for later :) I install Munin with apt-get on my Debian 6 box. Which version of Munin? The default for Debian 6 is 1.4.5. Here is my munin.conf file: # Example configuration file for Munin, generated by 'make build' # The next three variables specifies where the location of the RRD # databases, the HTML output, logs and the lock/pid files. They all # must be writable by the user running munin-cron. They are all # defaulted to the values you see here. # dbdir /var/lib/munin htmldir /var/cache/munin/www logdir /var/log/munin rundir /var/run/munin # # Where to look for the HTML templates tmpldir /etc/munin/templates # (Exactly one) directory to include all files from. # includedir /etc/munin/munin-conf.d # Make graphs show values per minute instead of per second graph_period minute # Graphics files are normaly generated by munin-graph, no matter if # the graphs are used or not. You can change this to # on-demand-graphing by following the instructions in # http://munin.projects.linpro.no/wiki/CgiHowto # graph_strategy cgi Is using CGI a choice you made, or was it the default setting? The URL is http://stats2.company.com Apache wasn’t aliasing the cgi-bin directory so I setup a ‘ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/’ in the conf file. I verified that the munin cgi files are indeed in /usr/lib/cgi-bin/ I am running Munin version 1.4.5 I do not remember making a decision to use cgi. I’m happy to use whatever is going to work the best. |