You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue within the example Icinga check command in combination with the check itself.
The definition says, that proxysql_defaultfile is required. But when the defaultfile is given, the proxysql_user and proxysql_password is completly ignored. My default doesn't contain a user+pass.
I'm not sure, what is better here.
remove the required flag in the definition
or rewrite the Python script
In my case, I've just remove the flag.
And a minor issue. Maybe change the env python to env python3 because Python2 is EOL since nearly 2 years.
Also - in my case of latest Icinga2 on Debian-11, the check is already defined within the ITL, so it isn't necessary to redeclare the checkcommand.
The text was updated successfully, but these errors were encountered:
There is an issue within the example Icinga check command in combination with the check itself.
The definition says, that
proxysql_defaultfile
is required. But when the defaultfile is given, theproxysql_user
andproxysql_password
is completly ignored. My default doesn't contain a user+pass.I'm not sure, what is better here.
required
flag in the definitionIn my case, I've just remove the flag.
And a minor issue. Maybe change the env python to env python3 because Python2 is EOL since nearly 2 years.
Also - in my case of latest Icinga2 on Debian-11, the check is already defined within the ITL, so it isn't necessary to redeclare the checkcommand.
The text was updated successfully, but these errors were encountered: