Linode - Ubuntu, Nginx and Munin?

Does anyone have a good solid concise overview of how to do this? I've followed a few general Ubuntu sites that talk about it, but can't seem to make it work.

3 Replies

@jimcarroll:

Does anyone have a good solid concise overview of how to do this? I've followed a few general Ubuntu sites that talk about it, but can't seem to make it work.

How far did you get? What're the problems you're having? Please provide more information :)

Nginx is simple enough:

http://library.linode.com/web-servers/n … 0.04-lucid">http://library.linode.com/web-servers/nginx/php-fastcgi/ubuntu-10.04-lucid

There's even stackscripts for that, AFAIK.

Munin:

http://www.debuntu.org/how-to-monitorin … with-munin">http://www.debuntu.org/how-to-monitoring-a-server-with-munin

Sorry, I should elaborate.

I've got a full LEMP stack running my site – www.jimcarroll.com

(I'm a bit of a closet geek despite my odd job; started on a TRS-80 in 1982…

I used one of the scripts to set it up (Wordpress, Varnish caching, W3TC, etc…)

I've got Munin installed, and I think running….but following this:

http://www.darkcoding.net/software/sett … on-ubuntu/">http://www.darkcoding.net/software/setting-up-munin-on-ubuntu/

I get "

when I run :

sudo -u munin munin-cron

sudo -u munin munin-cron

2012/05/18 19:34:43 [ERROR] Error occured in under [] in the configuration.

ERROR: Failed to parse config file '/etc/munin/munin.conf': [ERROR] Error occured in under [] in the configuration. Please refer to the log if details are missing here.

munin.conf has:

allow ^127.0.0.1$

[jimcarroll.com]

address 127.0.0.1

usenodename yes

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/www/jimcarroll/munin

logdir /var/log/munin

rundir /var/run/munin

You'll want to move the host-specific stuff after all of the general configuration. The allow, dbdir, htmldir, logdir, and rundir statements apply to the whole server, and ought to appear before the [jimcarroll.com] heading.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct