diff --git a/index.php b/index.php index 756e331..1fa3baf 100644 --- a/index.php +++ b/index.php @@ -16,6 +16,8 @@ if($_SERVER["REQUEST_URI"] == '/metrics') { } if(isset($c['jsonelem'])) { $c['value'] = getArrayValue($c['jsonelem'], json_decode($output, true)); + } else { + $c['value'] = $output; } }