Fix {#PVE_STOR_STATUS} macro

tags/zabbix-agent-addons-0.2.36-1
Daniel Berteaud 7 years ago
parent ffe8c6b0a5
commit 159247fb00
  1. 2
      zabbix_scripts/disco_pve_sudo

@ -51,7 +51,7 @@ if ($what eq 'nodes'){
push @{$json->{data}}, {
'{#PVE_STOR_ID}' => $store->{storage},
'{#PVE_STOR_TYPE}' => $store->{type},
'{#PVE_STOR_STATUS}' => ($store->{disabled} || 0),
'{#PVE_STOR_STATUS}' => (($store->{disable}) ? 0 : 1),
'{#PVE_STOR_SHARED}' => ($store->{shared} || 0),
'{#PVE_STOR_CONTENT}' => $store->{content}
};

Loading…
Cancel
Save