-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
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
requiredflag 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.
Metadata
Metadata
Assignees
Labels
No labels