From b38186e8bca7b8cd03d96ec4f96e19255f5d51d7 Mon Sep 17 00:00:00 2001 From: Petrica Martinescu Date: Sun, 29 May 2016 17:07:59 +0300 Subject: [PATCH] fix failing tests --- Gauge/ProcessesGauge.php | 2 +- gauges.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gauge/ProcessesGauge.php b/Gauge/ProcessesGauge.php index 633558a..3194e63 100644 --- a/Gauge/ProcessesGauge.php +++ b/Gauge/ProcessesGauge.php @@ -31,7 +31,7 @@ class ProcessesGauge implements GaugeInterface * @param float $cpuAbove * @param float $memoryAbove */ - public function __construct($cpuAbove = 5.0, $memoryAbove = 1.0, $sshString, $sshIdentityFile) + public function __construct($cpuAbove = 5.0, $memoryAbove = 1.0) { $this->cpuAbove = $cpuAbove; $this->memoryAbove = $memoryAbove; diff --git a/gauges.yml b/gauges.yml index e32889c..cc7cc9f 100644 --- a/gauges.yml +++ b/gauges.yml @@ -18,5 +18,5 @@ gauges: ssh_string: user@host ssh_port: 22 ssh_identity_file: /absolute/path/to/identity/file - cpu_above: 10 - memory_above: 5 + cpu_above: 5 + memory_above: 1