icinga2 icon indicating copy to clipboard operation
icinga2 copied to clipboard

Extending check_disk with -n parameter in ITL template

Open Wintermute2k6 opened this issue 1 year ago • 2 comments

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

Wintermute2k6 avatar May 08 '24 07:05 Wintermute2k6

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

RincewindsHat avatar May 08 '24 08:05 RincewindsHat

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.

Wintermute2k6 avatar May 14 '24 07:05 Wintermute2k6