I configured the munin on Centos 7 and it is configured but the graph is not creating when I am going to check the current day graph it is not showing anything. I checked the log file munin-cgi-graph.log
it is showing
Could not draw graph "/var/lib/munin/cgi-tmp/munin-cgi-graph/localhost/localhost/processes-pinpoint=1483825506,1483933506.png?&lower_limit=&upper_limit=&size_x=800&size_y=400"
I am using apache and munin 2.0.28.
If anyone knows what is the problem please help.
I am attaching the error screenshots:
Best Answer
Make sure that
/var/lib/munin/cgi-tmp/munin-cgi-graph/
is writable by web user/group. You can check with following command:As long as you are using CentOS and Apache, you should be able to fix it with following commands:
More info here: https://gist.github.com/viegelinsch/49c404b1b99a462bad4f
Additionally, you may need to change init script for
munin-fcgi-graph
because default configuration in package do not set permissions properly - reference: