The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Munin mysql_ plugin

Discussion in 'General Discussion' started by Wiseon3, Mar 28, 2015.

  1. Wiseon3

    Wiseon3 Registered

    Joined:
    Dec 5, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I'm trying to display additional mysql graphs in munin, using the /usr/local/cpanel/3rdparty/share/munin/plugins/mysql_ plugin, but I have the following error:
    Missing dependency Cache::Cache at /etc/munin/plugins/mysql_table_locks line 716.

    I've already installed perl-DBI, perl-IPC-ShareLite, perl-Cache-Cache and cpanel-perl-514-Cache-Cache. I've even installed Cache::Cache and DBI in perl -MCPAN -e shell.

    The plugin mysql_ seems to try to access Cache::SharedMemoryCache and it fails, that is why it throws the missing dependency error.

    What can I do to be able to use that plugin?
     
  2. Wiseon3

    Wiseon3 Registered

    Joined:
    Dec 5, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    For anyone interested, I managed to get it to work, with the help of cPanel support. You have to install IPC::ShareLite, then Cache::Cache in the user's perl:
    /usr/local/cpanel/3rdparty/perl/514/bin/perl -MCPAN -e shell
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page