-
-
Save Bjoernsen/bd7b9ab506ac55748292 to your computer and use it in GitHub Desktop.
Munin settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable this for template generation | |
Alias /munin /var/cache/munin/www | |
# Enable this for cgi-based templates | |
Alias /munin-cgi/static /var/cache/munin/www/static | |
ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/cgi-bin/munin-cgi-graph | |
#ScriptAlias /cgi-bin/munin-cgi-graph /usr/lib/cgi-bin/munin-cgi-graph | |
#Alias /cgi-bin/static /var/cache/munin/www/static | |
ScriptAlias /munin-cgi/munin-cgi-html /usr/lib/cgi-bin/munin-cgi-html | |
#ScriptAlias /cgi-bin/munin-cgi-html /usr/lib/cgi-bin/munin-cgi-html | |
<Directory /var/cache/munin/www> | |
Order allow,deny | |
Allow from all | |
Options FollowSymLinks SymLinksIfOwnerMatch | |
AuthUserFile /etc/munin/munin-htpasswd | |
AuthName "Munin" | |
AuthType Basic | |
require valid-user | |
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresDefault M310 | |
</IfModule> | |
</Directory> | |
<Location /munin-cgi> | |
<IfModule mod_fastcgi.c> | |
SetHandler fastcgi-script | |
</IfModule> | |
</Location> | |
<Location /munin-cgi/static> | |
SetHandler None | |
</Location> | |
<Location /munin-cgi/munin-cgi-graph> | |
<IfModule mod_fastcgi.c> | |
SetHandler fastcgi-script | |
</IfModule> | |
</Location> | |
<Location /munin-cgi/munin-cgi-html> | |
<IfModule mod_fastcgi.c> | |
SetHandler fastcgi-script | |
</IfModule> | |
</Location> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
013/07/30 10:41:56 Opened log file | |
2013/07/30 10:41:56 Request path is /server/cool.server/entropy-day.png | |
2013/07/30 10:41:56 asked for (server, cool.server, entropy, day) | |
2013/07/30 10:41:56 Starting munin-graph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013/07/30 11:13:45 Opened log file | |
2013/07/30 11:13:45 Opened log file | |
2013/07/30 11:14:41 Opened log file | |
2013/07/30 11:14:41 Opened log file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log_level 4 | |
log_file /var/log/munin/munin-node.log | |
pid_file /var/run/munin/munin-node.pid | |
background 1 | |
setsid 1 | |
user root | |
group root | |
ignore_file [\#~]$ | |
ignore_file DEADJOE$ | |
ignore_file \.bak$ | |
ignore_file %$ | |
ignore_file \.dpkg-(tmp|new|old|dist)$ | |
ignore_file \.rpm(save|new)$ | |
ignore_file \.pod$ | |
host_name cool.server | |
allow ^127\.0\.0\.1$ | |
host * | |
# And which port | |
port 4949 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
dbdir /var/lib/munin | |
htmldir /var/cache/munin/www | |
logdir /var/log/munin | |
rundir /var/run/munin | |
tmpldir /etc/munin/templates | |
staticdir /etc/munin/static | |
cgitmpdir /var/lib/munin/cgi-tmp | |
includedir /etc/munin/munin-conf.d | |
graph_strategy cgi | |
cgiurl_graph /munin-cgi/munin-cgi-graph | |
html_strategy cgi | |
[cool.server] | |
address 12.34.56.78 | |
use_node_name yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
telnet localhost 4949 | |
Trying 127.0.0.1... | |
Connected to localhost. | |
Escape character is '^]'. | |
# munin node at cool.server | |
nodes | |
cool.server | |
. | |
list | |
cpu | |
fetch cpu | |
user.value 6859001 | |
nice.value 75067 | |
system.value 1624285 | |
idle.value 1026099055 | |
iowait.value 62342 | |
irq.value 32 | |
softirq.value 24027 | |
steal.value 0 | |
guest.value 0 | |
. | |
quit | |
Connection closed by foreign host. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment