Skip to content

Icinga CheckCommand defaults-file not required #6

@trickert76

Description

@trickert76

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions