summaryrefslogtreecommitdiff
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2017-08-03 12:59:24 +0100
committerJonathan Cave <jonathan.cave@canonical.com>2017-08-03 12:59:24 +0100
commitd96b98fe15594d8997397a3e75257b63bb0561b6 (patch)
tree34a522f4784ce0b0e4d8a5e13bc38b2836d33dc8
parent61811ab3c130f24a935ec2216460785788047e38 (diff)
Add check for bc command
-rw-r--r--jobs/disk.txt.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/jobs/disk.txt.in b/jobs/disk.txt.in
index b13a54a7..101e3fbc 100644
--- a/jobs/disk.txt.in
+++ b/jobs/disk.txt.in
@@ -110,6 +110,7 @@ estimated_duration: 15
user: root
requires:
block_device.state != 'removable' and block_device.name == '{name}'
+ package.name == 'bc' or executable.name == 'bc'
_summary: Check of CPU load imposed by {product}
_description: Check to ensure CPU load of {product} is not too high
command: disk_cpu_load {name}