major/MySQLTuner-perl

Generating HTML Report

stevefxp1 opened this issue · 5 comments

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

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.

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

C0RD commented

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'.

Hi @stevefxp1

Pull requests are welcomes on this project :)