Icinga / icinga2

The core of our monitoring platform with a powerful configuration language and REST API.
https://icinga.com/docs/icinga2/latest
GNU General Public License v2.0
1.98k stars 571 forks source link

Extending check_disk with -n parameter in ITL template #10054

Open Wintermute2k6 opened 1 month ago

Wintermute2k6 commented 1 month ago

Is your feature request related to a problem? Please describe.

ATM (05/08/2024) there is a missing parameter option for the check_disk plugin in the ITL templates it would be kind to renew the template and add the -n, --newlines.

Describe the solution you'd like

"-n" = {
            set_if = "$disk_newlines$"
            description = "Set Newlines for Output"
        }

Additional context

ref/NC/817559

RincewindsHat commented 1 month ago

For completeness: This is a parameter available only in the Nagios Plugins not the Monitoring Plugins

Wintermute2k6 commented 1 month ago

Nontheless it's addition has no negative impact on the usage of the check_disk version of the monitoring plugins, and the user can choose to use it via the director or the icinga config itself.