11
votes
Accepted
Munin: Why is the utilization by month higher than by year?
The base tool used by Munin is rrdtool and this works by averaging down values for longer time periods. It records actual measured values eg. once every 5 minutes for a day (and then starts ...
- 97.9k
7
votes
Munin dynamic graph zoom (dynazoom) not working (Nginx, PHP-FPM)
You have wrong fastcgi_pass parameter, it should pass requests to spawn-fcgi just as munin's wiki says not to php-fpm.
For Ubuntu/Debian:
sudo apt-get install spawn-fcgi
spawn-fcgi -s /var/run/munin/...
- 146
7
votes
Apache graphs and data not updating in Munin on Ubuntu 14.04
I solved this! Getting frustrated as heck about this issue, I ran a Munin module suggest command like this:
sudo munin-node-configure --suggest
In the piles of output here are the relevant Apache ...
- 3,532
7
votes
Accepted
Munin : notification when everything is ok
The df plugin in Debian also checks the dynamically mounted filesystems under /run/user/<uid> which appear when a user logs in and which disappear when the user logs out. Even though all levels ...
- 5,933
7
votes
Accepted
Munin-node plugins on Debian 10 cannot read from home directories. Debian 9 works fine
The answer is that the munin-node package in Debian 10 includes /lib/systemd/system/munin-node.service, which sets ProtectHome=true. Debian 9's munin-node package does not have this file.
Setting ...
- 211
6
votes
Munin not plotting all disks
On Ubuntu 20.04 server problem was related to systemd.
I solved that by changing (as a root user) /usr/sbin/munin-run file from:
my $ignore_systemd_properties = 0;
to:
my $ignore_systemd_properties = ...
- 81
5
votes
Munin stopped updating
I once had this problem when one of my servers restarted, runing the command munin-check helped me realize the problem had to do with folder permissions.
Note: Even though I already had a folder /var/...
- 153
5
votes
Nginx Munin plugin shows no data
In my experience, these plugins are likely not working due to nginx misconfiguration. Here's a shortlist of what to do in this case:
1. Check nginx installation
Nginx must be compiled with ...
- 51
4
votes
How to setup monitoring of nodes behind firewall
As I am a long time Munin user, I can give you few quick thoughts on using it:
using a SSH tunnel (is that illegal as well?) to get behind the firewall.
The obvious port forward, you mentioned.
If ...
- 3,927
4
votes
Accepted
How do I silence one of Munin's plugin warnings?
You don't say how you have munin reporting, which makes this difficult to answer. I'll assume you have it sending emails directly, with something like this in munin.conf:
contact.dax.command mail -s ...
- 78.9k
3
votes
Accepted
Memcached in Munin
Debugging
You can debug the plugin by using the "munin-run" command, optionally with "--debug" and "--pidebug" parameters.
Check for dependencies
On a default installation, it will say:
# /usr/...
- 86
3
votes
Why is the Munin server giving just 404 status when hitting /munin-cgi/munin-cgi-graph?
Check if your apache/httpd is loading the fcgid or cgi module.
apachectl -M | grep cgi
Should respond
cgi_module (shared)
or
fcgid_module (shared)
(or both).
If its not there enable it with
...
3
votes
Accepted
Why is Munin being annoying?
Did you check root's crontab ? Use crontab -l as root to get a listing of it. Failing that take a look in the usual places
/etc/crontab
/etc/cron.d
/etc/cron.*
- 115k
3
votes
CPU Load on Virtual Machine
Really you're asking "Why does Munin report things in a strange way?" There are a number of reasons for this to happen. RRDtool (the component that creates the graphs you can see) is not meant to be a ...
- 5,572
3
votes
Munin could not draw graph
Make sure that /var/lib/munin/cgi-tmp/munin-cgi-graph/ is writable by web user/group. You can check with following command:
ls -l /var/lib/munin/cgi-tmp/munin-cgi-graph/
As long as you are using ...
3
votes
Munin node not showing up in overview
Did you resolve this situation? I believe the issue is in the server2 configuration file. In this file, one finds the line:
host_name server1.com
This line should either be "server2" or commented ...
- 131
3
votes
Accepted
Why is CPU usage somewhat "nicer" today than yesterday?
You likely had a background job start around the time the nice % jumps. You can check out the current niceness of processes on the system with ps (i.e. ps -eo cmd,pid,nice, -e for showing all ...
- 161
3
votes
Accepted
Munin Disk Latency Alerts
It´s probably the diskstats_latency plugin, try the following:
diskstats_latency.centos_home.avgwrwait.warning 0:15
diskstats_latency.centos_home.avgrdwait.warning 0:15
diskstats_latency.centos_swap....
- 46
2
votes
Munin not plotting all disks
I seem to have found a way to solve this
using your favorite editor (mine is vi but for simplicity we'll use nano)
sudo nano /etc/munin/plugin-conf.d/df
paste this
[df]
env.exclude none unknown ...
- 465
2
votes
Munin not plotting all disks
For any change done on a munin node, you have to restart the munin node service on that node (machine).
On that windows machine, go to services, find the one installed by munin and restart the ...
- 651
2
votes
Accepted
SELinux: no audit errors but nginx permission errors
I found the solution -> i learned that i need to disable "dontaudit" to see all audit.log entries...
semodule --disable_dontaudit --build
So with that i was able to create a SELinux module that ...
- 168
2
votes
munin + nginx: no dynazoom into graphs
I found this while looking for a solution to my problem and good news! I solved my problem. I hope this will help you get munin working on your setup too.
Requirements:
spawnfcgi:
Clone or download ...
2
votes
Accepted
Munin: do not notify state changes to OK
I freely concede this question is about munin rather than NAGIOS. However, the two tools live hand-in-glove, and NAGIOS's notification engine is sophisticated and configurable, whilst munin's isn't. ...
- 78.9k
2
votes
Accepted
CentOS 7 /proc/net/ip_conntrack: No such file or directory
Did you make updates without rebooting? You might want to check if you use firewalld instead of iptables and can just start that service again.
service firewalld restart
If that not helps or really ...
- 2,851
2
votes
Accepted
Munin disk utilization calculation.
From reading the diskstats plugin source, munin calculates the disk utilization percentage by looking at the total time spent doing IO over a given monitoring period. If the device is spending all it'...
- 5,436
2
votes
Accepted
How to determine which processes have most inodes opened
Count the number of entries in each /proc/[PID]/fd directory. That will give you the number of file descriptors each process has open. While it will take a while to enumerate all processes, missing ...
- 1,242
2
votes
Accepted
How to customize munin alert message text
The allowable syntax for the expansion can be seen in the message_expand function in LimitsOld.pm. As far as I can tell it doesn't implement enough control structures to do what you want.
Alternative ...
- 4,467
2
votes
Accepted
Munin aggregation not working (summing CPU time across servers)
Read your mail on the munin-users mailing list.
I may have a former version of Munin ; my configuration looks rather like this:
[example.com;totals]
lb_cpu.graph_title LB Total User CPU
...
- 36
2
votes
Setting warning / critical thresholds in plugin-conf.d file
tldr; Munin configuration key/value pairs are environment variables that are injected into a specific plugin's execution environment at runtime. They must be accessed from within the plugin's code ...
2
votes
Accepted
Munin/Nginx - Nginx prepending root path to file despite different path specifed with alias
The location ~* \.(js|css|png|jpg|jpeg|gif|ico|woff)$ block takes precedence for any URIs which end with .css, which means that nginx tries to use the wrong value for root.
Use the ^~ modifier on the ...
- 12.2k
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
munin × 330monitoring × 68
graph × 45
linux × 41
ubuntu × 30
apache-2.2 × 24
nginx × 21
centos × 19
rrdtool × 16
nagios × 10
mysql × 9
debian × 9
performance × 6
cpu-usage × 6
perl × 6
performance-monitoring × 6
logging × 5
virtualhost × 5
memory × 5
ubuntu-10.04 × 5
system-monitoring × 5
email × 4
amazon-ec2 × 4
centos7 × 4
mac-osx × 4