diff --git a/plugins/datasource-zabbix/helperFunctions.js b/plugins/datasource-zabbix/helperFunctions.js index 69129c2..f1b84fd 100644 --- a/plugins/datasource-zabbix/helperFunctions.js +++ b/plugins/datasource-zabbix/helperFunctions.js @@ -130,7 +130,7 @@ function (angular, _) { this.handleSLAResponse = function (itservice, slaProperty, slaObject) { var targetSLA = slaObject[itservice.serviceid].sla[0]; if (slaProperty.property === 'status') { - var targetStatus = slaObject[itservice.serviceid].status; + var targetStatus = parseInt(slaObject[itservice.serviceid].status); return { target: itservice.name + ' ' + slaProperty.name, datapoints: [