major / MySQLTuner-perl

MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability.
GNU General Public License v3.0
8.86k stars 1.28k forks source link

Generating HTML Report #791

Open stevefxp1 opened 1 month ago

stevefxp1 commented 1 month ago

Hello all,

I am trying to generate HTML reports usign Aha. When I run: perl /usr/bin/mysqltuner --verbose --color | aha --black --title "MySQLTuner" > /home/administrator/reports.html I am getting sh: 1: infconfig: not found.

What does this mean to me? Do I need to adjust something?

Thanks, Steve

C0RD commented 1 month ago

If perl /usr/bin/mysqltuner --verbose --color > /dev/null doesn't show this error, your problem is with aha and you came to the wrong project.

stevefxp1 commented 1 month ago

It does error out that way...please see screenshot. Screenshot 2024-07-31 120558

C0RD commented 1 month ago

ok. "ifconfig" it is.

this issue relates to mysqltuner, when you run it with the --verbose-flag. 'ifconfig' is deprecated afaik and has been replaced by the 'ip a'-command. (that mysqltuner doesn't know about yet)

But at least in my tests mysqltuner throws this error but is working anyways. You may workaround this by installing ifconfig (or making sure that it is in your PATH). In Debian/Ubuntu 'ifconfig' is in the package 'net-tools'.

stevefxp1 commented 1 month ago

Ok so I need to wait for you folks to update the script to take into account 'ip a', so this runs without error.Sent from my T-Mobile 5G Device -------- Original message --------From: Cord Beermann @.> Date: 7/31/24 16:59 (GMT-05:00) To: major/MySQLTuner-perl @.> Cc: stevefxp1 @.>, Author @.> Subject: Re: [major/MySQLTuner-perl] Generating HTML Report (Issue #791) ok. "ifconfig" it is. this issue relates to mysqltuner, when you run it with the --verbose-flag. 'ifconfig' is deprecated afaik and has been replaced by the 'ip a'-command. (that mysqltuner doesn't know about yet) But at least in my tests mysqltuner throws this error but is working anyways.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

jmrenouard commented 23 hours ago

Hi @stevefxp1

Pull requests are welcomes on this project :)