Do not prettify sensors discovery output (saves bandwidth)

tags/zabbix-agent-addons-0.2.20-1
Daniel Berteaud 12 years ago
parent 03ab9c3d1b
commit 166443918f
  1. 2
      zabbix-agent-addons.spec
  2. 2
      zabbix_scripts/disco_sensors

@ -1,7 +1,7 @@
Summary: Scripts for Zabbix monitoring Summary: Scripts for Zabbix monitoring
Name: zabbix-agent-addons Name: zabbix-agent-addons
Version: 0.0.1 Version: 0.0.1
Release: 1.beta1 Release: 1.beta2
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch

@ -17,5 +17,5 @@ foreach (<SENSORS>){
}; };
} }
close SENSORS; close SENSORS;
print to_json($json, { pretty => 1 }); print to_json($json);
exit(0); exit(0);

Loading…
Cancel
Save