ehsan

Well-Known Member
Dec 11, 2001
185
0
316
After installing Munin, it wasn't showing any data after 3-4 days of waiting for it to compile. Then I restarted Munin and noticed it can't find a perl module. Following was the error:

Code:
[email protected] [~]# service munin-node restart
Stopping Munin Node agents: cat: /var/run/munin/munin-node.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
                                                           [FAILED]
Starting Munin Node: Can't locate Net/Server/Fork.pm in @INC (@INC contains: /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.2/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.1/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.2/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.1/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/sbin/munin-node line 130.
BEGIN failed--compilation aborted at /usr/sbin/munin-node line 130.
                                                           [  OK
I installed net::server:fork module from WHM/Install Perl Module and it started working fine. :)
 
Last edited by a moderator:

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,685
23
318
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
Hi,

  • /etc/munin/plugin-conf.d/cpanel.conf is the file in which each plugin could be configured;
  • /etc/munin/plugins is the folder that contains the plugins running on the server, each of them as a symlink to the (real) files in the folder /usr/share/munin/plugins.
Whenever you add or remove a plugin you need to:
  1. configure it, if any configuration is needed;
  2. restart the munin-node service.

Ciao,
Matteo
Thanks, so I am going to delete the symlinks I don't need in the /etc/munin/plugins folder.

But how do I restart munin to kick in the changes.

Thanks again.
 

abubin

Well-Known Member
Dec 7, 2004
401
3
168
I can't find munin in the add-ons section. Not in fantastico either. Where the heck is it?

Is it because I am using 7dana theme?
 

nichelly

Registered
Jul 2, 2007
1
0
51
My munin doesn't show me any graph

I saw this in /var/log/munin

2007/12/23-13:46:02 MyPackage (type Net::Server::Fork) starting! pid(19856)
Binding to TCP port 4949 on host *
Setting gid to "10 10"
Use of uninitialized value in eval {block} exit at /usr/sbin/munin-node line 452, <CHILD> line 8.

Does anybody have similar situation?
 
Mar 14, 2006
17
0
151
2 things. Make sure you have waited long enough for them to generate. And al that you reload the frame they are in so the images are not cached.

If that not it try uninstalling munin from cpanel. Erasing the saved graph files and then reinstalling it.
 

activa

Well-Known Member
May 23, 2006
212
0
166
Morocco
cPanel Access Level
Root Administrator
i hve the fallowing error in the munin log

Code:
Use of uninitialized value in eval {block} exit at /usr/sbin/munin-node line 452, <CHILD> line 14
.


and munin page not working , error 404 .
 

ceaza

Member
Apr 13, 2007
6
0
151
How do I configure what graphs to show

Hi
Munin is installed but i get the following:
server.com - no graphs
custdomain.com - mailman graphs

How do I configure for separate domains and services?
 

wiszmaster

Active Member
Jun 11, 2008
27
0
51
Has anybody upgraded up 1.2.6 yet?

In 1.2.6 a bugfix for the exim_maillog issue was introduced.
 

anup123

Well-Known Member
Mar 29, 2004
890
1
168
This Planet
Installed Munin. Things ran fine till weekly logrotate.
Uninstalled Munin.
Installed again.
Nothing worked after this.
No matter how many times I do uninstall/install, graphs never come up.
 

hekri

Well-Known Member
Oct 14, 2003
147
2
168
How to chang to update graphs not every 5 minutes i want update every 30 minute (lower cpu load)
 

fuzioneer

Well-Known Member
Dec 12, 2003
100
0
166
my munin install works fine for everything apart from mysql !

I have done the suggested fixes and dont get access denied [email protected] etc, here is the entry from tailing munin log


2009/03/10-10:51:41 MyPackage (type Net::Server::Fork) starting! pid(13344)
Binding to TCP port 4949 on host *
Setting gid to "10 10"
2009/03/10-10:51:42 CONNECT TCP Peer: "127.0.0.1:59822" Local: "127.0.0.1:4949"
find: /: Permission denied


any ideas ???
 

wiszmaster

Active Member
Jun 11, 2008
27
0
51
The mysql issue came up when upgrading to the latest stable release
'cPanel 11.24.4-R34387 - WHM 11.24.2'
Prior to that Stable Release update it worked just fine ... There has been a feature request/bugzilla ticket in for a while now to update munin .. but no response so far.
 

fuzioneer

Well-Known Member
Dec 12, 2003
100
0
166
ah thx for letting me know and I am indeed running same versions mentioned, ah well just have to wait for Cpanel to sort it out ;)
 

wiszmaster

Active Member
Jun 11, 2008
27
0
51
Just as an FYI, if you run the munin plugin manually, it will display data. It doesn't seem to be parsing that data into the image though.

[email protected] [/usr/share/munin/plugins]# ./mysql_size_all
xxx.value 235304
xxx.value 11193680
xxx.value 200702
xxx.value 578639
xxx.value 17962
xxx.value 6450849
xxx.value 1478214
xxx.value 479859
xxx.value 83586
xxx.value 50039879
xxx.value 133711
xxx.value 1024
xxx.value 974476
xxx.value 20408239
xxx.value 833256
xxx.value 717354
xxx.value 452802
xxx.value 228991
xxx.value 76091017
xxx.value 326275
xxx.value 475136
xxx.value 160177
xxx.value 493474
xxx.value 310293
xxx.value 124061
xxx.value 1034616
xxx.value 373686
xxx.value 437455
xxx.value 56959903
xxx.value 8123766
xxx.value 16812723
xxx.value 211802
xxx.value 861560
xxx.value 37335
xxx.value 9231753
xxx.value 6037913
xxx.value 168424
 

fuzioneer

Well-Known Member
Dec 12, 2003
100
0
166
strange i dont have that exact plugin in my folders, just the following MySQL ones

mysql_bytes
mysql_isam_space
mysql_queries
mysql_slowqueries
mysql_threads

What does yours do exactly ?

I ran a few of the plugins manually as you did and they all return results as you would expect but like you say no graphs