check_disk_root with params set to '' causes error

Bug #1730567 reported by Xav Paice
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NRPE Charm
Fix Released
Undecided
Unassigned

Bug Description

If we set the disk_root param to '', we expect that to disable the check. What actually happens is the check returns "DISK UNKNOWN: Must set a threshold value before using -p".

This is due to the default adding " -p / " to whatever the param value is, however that enables the check regardless of the config value.

Related branches

Xav Paice (xavpaice)
tags: added: canonical-bootstack
Haw Loeung (hloeung)
Changed in nrpe-charm:
status: New → Fix Committed
Haw Loeung (hloeung)
Changed in nrpe-charm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.