diff --git a/includes/alerts/transport.api.php b/includes/alerts/transport.api.php index c601ca6f6..199bd6880 100644 --- a/includes/alerts/transport.api.php +++ b/includes/alerts/transport.api.php @@ -38,7 +38,7 @@ foreach( $opts as $method=>$apis ) { $ret = curl_exec($curl); $code = curl_getinfo($curl, CURLINFO_HTTP_CODE); if( $code != 200 ) { - var_dump("API '$host' returnd Error"); //FIXME: propper debuging + var_dump("API '$host' returned Error"); //FIXME: propper debuging var_dump("Params: ".$api); //FIXME: propper debuging var_dump("Return: ".$ret); //FIXME: propper debuging return false; diff --git a/includes/alerts/transport.hipchat.php b/includes/alerts/transport.hipchat.php index 930ae4870..4dc80b10d 100644 --- a/includes/alerts/transport.hipchat.php +++ b/includes/alerts/transport.hipchat.php @@ -46,7 +46,7 @@ foreach($opts as $option) { $code = curl_getinfo($curl, CURLINFO_HTTP_CODE); if($code != 200) { - var_dump("API '$url' returnd Error"); + var_dump("API '$url' returned Error"); var_dump("Params: " . $message); var_dump("Return: " . $ret); return false; diff --git a/includes/alerts/transport.pagerduty.php b/includes/alerts/transport.pagerduty.php index 0ccd0ee32..ffa9be167 100644 --- a/includes/alerts/transport.pagerduty.php +++ b/includes/alerts/transport.pagerduty.php @@ -45,7 +45,7 @@ curl_setopt($curl, CURLOPT_POSTFIELDS, json_encode($protocol)); $ret = curl_exec($curl); $code = curl_getinfo($curl, CURLINFO_HTTP_CODE); if( $code != 200 ) { - var_dump("PagerDuty returnd Error, retry later"); //FIXME: propper debuging + var_dump("PagerDuty returned Error, retry later"); //FIXME: propper debuging return false; } return true; diff --git a/includes/alerts/transport.slack.php b/includes/alerts/transport.slack.php index 15ba3ea19..376b9bf34 100644 --- a/includes/alerts/transport.slack.php +++ b/includes/alerts/transport.slack.php @@ -42,7 +42,7 @@ foreach( $opts as $tmp_api ) { $ret = curl_exec($curl); $code = curl_getinfo($curl, CURLINFO_HTTP_CODE); if( $code != 200 ) { - var_dump("API '$host' returnd Error"); //FIXME: propper debuging + var_dump("API '$host' returned Error"); //FIXME: propper debuging var_dump("Params: ".$alert_message); //FIXME: propper debuging var_dump("Return: ".$ret); //FIXME: propper debuging return false; diff --git a/validate.php b/validate.php index a79558dcd..0cbad0fe7 100755 --- a/validate.php +++ b/validate.php @@ -98,7 +98,7 @@ if ($space_check < 1) { $bins = array('fping'); foreach ($bins as $bin) { if (!is_file($config[$bin])) { - print_fail("$bin location is incorrect orbin not installed"); + print_fail("$bin location is incorrect or bin not installed"); } else { print_ok("$bin has been found"); }