mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
remove pingcheck debug statements (#15173)
This commit is contained in:
@@ -122,7 +122,6 @@ class PingCheck implements ShouldQueue
|
||||
continue;
|
||||
}
|
||||
|
||||
dump($line);
|
||||
if (preg_match_all(
|
||||
'/^(?<hostname>[^\s]+) is (?<status>alive|unreachable)(?: \((?<rtt>[\d.]+) ms\))?/m',
|
||||
$line,
|
||||
@@ -226,7 +225,6 @@ class PingCheck implements ShouldQueue
|
||||
*/
|
||||
private function recordData(string $hostname, string $status, float $rtt = 0): void
|
||||
{
|
||||
dump(get_defined_vars());
|
||||
if (Debug::isVerbose()) {
|
||||
echo "Attempting to record data for $hostname... ";
|
||||
}
|
||||
|
Reference in New Issue
Block a user