diff options
-rw-r--r-- | plugins/t/check_apt.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/t/check_apt.t b/plugins/t/check_apt.t index 71230979..9ba0ff8e 100644 --- a/plugins/t/check_apt.t +++ b/plugins/t/check_apt.t @@ -18,8 +18,8 @@ sub make_result_regexp { } else { $status = "CRITICAL"; } - return sprintf('/^APT %s: %d packages available for upgrade \(%d critical updates\).\s*$/', - $status, $warning, $critical); + return sprintf('/^APT %s: %d packages available for upgrade \(%d critical updates\)\. |available_upgrades=%d;;;0 critical_updates=%d;;;0$/', + $status, $warning, $critical, $warning, $critical); } if (-x "./check_apt") { |