diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-11-12 20:48:33 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-11-12 20:48:33 +0100 |
commit | c8f711e9eca894379de0690c3070355ca33b823d (patch) | |
tree | 027991f0f5e728b921ef68f230aba1ba59005217 | |
parent | c78de7953e0975ab3d12112fd359520df5219efa (diff) |
icli: json support: long plugin output and performance data are not available at the moment
-rwxr-xr-x | bin/icli | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -460,7 +460,8 @@ sub read_json { = ( $host->{status} eq 'PENDING' ? 0 : 1 ); $host->{current_state} = $statusmap{ $host->{status} }; $host->{plugin_output} = $host->{status_information}; - $host->{long_plugin_output} = $host->{status_information}; + $host->{long_plugin_output} = q{}; + $host->{performance_data} = q{}; ( $host->{current_attempt}, $host->{max_attempts} ) = split( '/', $host->{attempts} ); @@ -475,7 +476,8 @@ sub read_json { = ( $service->{status} eq 'PENDING' ? 0 : 1 ); $service->{current_state} = $statusmap{ $service->{status} }; $service->{plugin_output} = $service->{status_information}; - $service->{long_plugin_output} = $service->{status_information}; + $service->{long_plugin_output} = q{}; + $service->{performance_data} = q{}; ( $service->{current_attempt}, $service->{max_attempts} ) = split( '/', $service->{attempts} ); |