StingRay2k01

Active Member
Jun 15, 2003
31
1
158
cPanel Access Level
Root Administrator
galamba said:
Hi

Just try new addon MUNIN, works fine all our boxes except one. This was called from WHM menu.


Not Found

The server was not able to find the document (./munin/index.html) you requested
Please check the url and try again. You might also want to report
this error to your webhost.

cpsrvd/10.6.1 Server at xxx.xxx.xxx.xxx

Installation script seems to ends correctly

Here are our specs:
WHM 10.8.0 cPanel 10.8.2-S120
Fedora i686 - WHM X v3.1.0


Same error I get. I am my webhost, so reporting to myself won't help hehe.
 

andy7t

Active Member
Dec 22, 2003
25
0
151
Monitoring multiple boxes

Hi,

Is there any way to get munin to monitor more than one server from the same place?

I notice that it seems to be designed to monitor multiple nodes- anyway of doing this?
 

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
andy7t said:
Hi,

Is there any way to get munin to monitor more than one server from the same place?

I notice that it seems to be designed to monitor multiple nodes- anyway of doing this?
You could refer to the munin website which has the complete installation details of monitoring multiple servers from a central location.
 

FvdM

Member
Feb 7, 2004
9
0
151
andy7t said:
Hi,

Is there any way to get munin to monitor more than one server from the same place?

I notice that it seems to be designed to monitor multiple nodes- anyway of doing this?
From what I understand from the config files in /etc/munin you can do it this way, but I haven't tried it myself:

1. set up the other box with Munin
2. on that box open /etc/munin/munin-node.conf
3. set the 'port' variable to whatever you want and make sure you accept incoming TCP traffic on that port in your firewall.
4. add a new line for the remote server's IP, it is regular expression so better stick with the default format:

Code:
allow ^123\.123\.123\.123$

Remote

5. On the remote (central) server on which you also have installed Munin open /etc/munin/munin.conf
6. where you see:

Code:
[servers.hostname.com]
    address 127.0.0.1
    use_node_name yes
add:

Code:
[extra.server.com]
    address 123.123.123.123
    use_node_name yes
    port 4949
'port' is what you have set in step 3

For more advanced settings check out the wiki at http://munin.projects.linpro.no/wiki/Munin_config_files
 

HostingZero.com

Active Member
Jun 23, 2005
28
0
151
Just installed it and it's running great, though no stats have been generated yet. Currently I don't see any load, but again, I'll have to see when the stats are being generated. :rolleyes:
 

andy7t

Active Member
Dec 22, 2003
25
0
151
HostingZero.com said:
Just installed it and it's running great, though no stats have been generated yet. Currently I don't see any load, but again, I'll have to see when the stats are being generated. :rolleyes:
My graphs still havn't updated in a week.
Still got the one point on the graph, last updated a week ago.

Any ideas why it's not updating the graphs (yes i have cleared my cache :))
 

FvdM

Member
Feb 7, 2004
9
0
151
andy7t said:
My graphs still havn't updated in a week.
Still got the one point on the graph, last updated a week ago.

Any ideas why it's not updating the graphs (yes i have cleared my cache :))
If you run `top -n 1 | grep munin` in SSH, does it return something like 'munin-node'?
 

FvdM

Member
Feb 7, 2004
9
0
151
IRCBrasil said:
Someone knows how I put it public? I tryed a Alias /monitor/ "/usr/local/cpanel/whostmgr/docroot/munin/domain" but I receive a 403.
I created a VirtualHost on 'mrtg.domain.com' in httpd.conf like this:

Code:
<VirtualHost xxx.xxx.xxx.xxx>
ServerAdmin [email protected]
DocumentRoot /usr/local/cpanel/whostmgr/docroot/munin
BytesLog domlogs/mrtg.domain.com-bytes_log
ServerName mrtg.domain.com

User munin
Group munin
CustomLog /usr/local/apache/domlogs/mrtg.domain.com combined
</VirtualHost>
Then added an 'mrtg' A entry in the DNS pointing to xxx.xxx.xxx.xxx (the server's main IP) in the 'domain.com' zone. And finally `chmod 755 /usr/local/cpanel/whostmgr/docroot/munin` and `service httpd restart` :)
 

andy7t

Active Member
Dec 22, 2003
25
0
151
[email protected] [~]# ps aux | grep munin
root 30435 0.0 0.4 7856 4200 ? Ss 15:56 0:00 /usr/sbin/munin-node

Munins runnig.

Service munin-node restart, command works, but graphs still stuck :-(
 

nurseryboy

Well-Known Member
Mar 3, 2003
78
0
156
henker said:
Nice feature indeed - but has anybody found a quick way to show munin only in root's WHM, not in every reseller's WHM ?
I agree. It's a very cool feature. Although it would definitely be nice to choose whether resellers can see it or not.
 

BW -Tim

Well-Known Member
Jun 3, 2006
62
0
156
I am thinking of uninstalling it because of the extra load on the servers. Also, it isn't that accurate- my 'toy/test' server was server load 8 at one point, yet it didn't record more than 4 (Don't worry, this server isn't used for hosting sites ;) ).

Does anyone know of any other similar scripts which use less resources?
 

Sheldon

Well-Known Member
Jun 7, 2004
378
0
166
Canada
Dont like all the issues people are having with it.

No digg.

I cant stand cPanel and why it has 50 million different problems all the time.

DirectAdmin doesnt have half of the issues.
 

mbrando

Active Member
Dec 31, 2004
38
0
156
galamba said:
Hi

Just try new addon MUNIN, works fine all our boxes except one. This was called from WHM menu.


Not Found

The server was not able to find the document (./munin/index.html) you requested
Please check the url and try again. You might also want to report
this error to your webhost.

cpsrvd/10.6.1 Server at xxx.xxx.xxx.xxx

Installation script seems to ends correctly

Here are our specs:
WHM 10.8.0 cPanel 10.8.2-S120
Fedora i686 - WHM X v3.1.0
Hi,

I had the same issue. Here is what I did to get it working:

Before starting uninstall Munin via WHM.

1) Forced cpanel update of perl to 5.8.7:
To check what is the perl version on your system, use:

perl -v

This is perl, v5.8.7 built for i686-linux

As you can see here, I am running the latest perl version available on CPanel so in this case an upgrade would not be necessary.

If you need to upgrade your perl installation, here is the proper way to do it, in order to not break your CPanel:

wget http://layer1.cpanel.net/perl587installer.tar.gz
tar xfz perl587installer.tar.gz
cd perl587installer
./install

After this is done, run:

/scripts/upcp

You can also run the following to ensure that all the necessary modules were reinstalled:

/usr/local/cpanel/bin/checkperlmodules

Once you have completed the upgrade, you can check again the perl version (perl -v) to ensure that this was properly installed.
from http://www.ducea.com/2006/06/02/cpanel-perl-upgrade/

2) then forced RRD tool update:
mv /usr/local/cpanel/3rdparty/bin/rrdtool /usr/local/cpanel/3rdparty/bin/rrdtool.bak
/scripts/rrdtoolinstall
3) Install Munin via WHM.

That got it installed and working. Only took about 5 hours to figure it out.

Mike
 

electric

Well-Known Member
Nov 5, 2001
790
11
318
benito said:
My munin only update the time on graphics, how much it get to show numbers ? :rolleyes:
Same problem here, on all our servers.

Once again, cpanel has dropped the ball and released a nice feature that does not work properly.

:confused: