Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice