cat /usr/share/zabbix/hostinventories.php | grep -n2 note
49- // sort and sortorder
50- 'sort' => [T_ZBX_STR, O_OPT, P_SYS,
51: IN('"name","pr_macaddress_a","pr_name","pr_os","pr_serialno_a","pr_tag","pr_type","pr_notes"'),
52- null
53- ],
--
182- 'tag',
183- 'macaddress_a',
184: 'notes'
185- ];
186-
--
234- 'pr_tag' => 'tag',
235- 'pr_macaddress_a' => 'macaddress_a',
236: 'pr_notes' => 'notes'
237- ];
238-
cat /usr/share/zabbix/include/views/inventory.host.list.php | grep -n2 note
71- //make_sorting_header(_('Tag'), 'pr_tag', $this->data['sort'], $this->data['sortorder']),
72- //make_sorting_header(_('MAC address A'), 'pr_macaddress_a', $this->data['sort'], $this->data['sortorder']),
73: make_sorting_header(_('Notes'), 'pr_notes', $this->data['sort'], $this->data['sortorder'])
74- ]);
75-
--
93- //zbx_str2links($host['inventory']['tag']),
94- //zbx_str2links($host['inventory']['macaddress_a']),
95: zbx_str2links($host['inventory']['notes'])
96- ];
97- |