Skip to content

Commit

Permalink
Add support for zabbix 3.4, display the System Name
Browse files Browse the repository at this point in the history
  • Loading branch information
interpeix committed Jan 19, 2017
1 parent 60a2eff commit 374dd46
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/classes/de/gigatec/zabbix/ZabbixService.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ App.de_gigatec_zabbix_ZabbixService = Ember.Object.extend({
sortorder: 'DESC',
expandDescription: '1',
expandData: '1',
selectHosts: "extend",
filter: {
value: '1'
}
Expand Down
1 change: 1 addition & 0 deletions src/classes/de/gigatec/zabbix/ZabbixStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ App.de_gigatec_zabbix_ZabbixStatus = Ember.Object.extend({
'confirmed': 0,
'system': value.hostname,
'name': value.description,
'host': value.hosts[0].name
};
triggerList.push(item);

Expand Down
2 changes: 1 addition & 1 deletion src/templates/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function program3(depth0,data) {
stack1 = depth0.priorityClass;
stack1 = typeof stack1 === functionType ? stack1() : stack1;
buffer += escapeExpression(stack1) + "\">\n <td class=\"system\">";
stack1 = depth0.system;
stack1 = depth0.host;
stack1 = typeof stack1 === functionType ? stack1() : stack1;
buffer += escapeExpression(stack1) + "</td>\n <td class=\"name\">";
stack1 = depth0.name;
Expand Down

0 comments on commit 374dd46

Please sign in to comment.