diff --git a/snmp/opensearch b/snmp/opensearch index 3fb4db66a..151e8d743 100755 --- a/snmp/opensearch +++ b/snmp/opensearch @@ -396,6 +396,6 @@ my $compressed = encode_base64($compressed_string); $compressed =~ s/\n//g; $compressed = $compressed . "\n"; -write_file( $output_base . '.snmp', { atomic => 1 }, $raw_json ); +write_file( $output_base . '.snmp', { atomic => 1 }, $compressed_string ); exit 0;