[ZBX-7629] "pused" and "used" not working Created: 2014 Jan 09 Updated: 2017 May 30 Resolved: 2014 Jan 11 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S), Templates (T) |
Affects Version/s: | 2.0.10, 2.2.1 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Minor |
Reporter: | fred | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CentOS 6 x86 |
Description |
I created a clone of the built in trigger "Lack of free swap space on {HOST.NAME}" I then tried to alter the expression to read. {Template OS Linux:system.swap.size[,pused].last(0)}<50 Which gives the error I get the same error when I use "used". Only "pfree" and "total" work. Tried on Zabbix-server v 2.0.10 and on v2.2.1 According to the "system.swap.size[<device>,<type>]" documentation located at the following link it is supposed to work. |
Comments |
Comment by Aleksandrs Saveljevs [ 2014 Jan 09 ] |
Does item system.swap.size[,pused] exist on "Template OS Linux"? In the default template in Zabbix pre-2.2.2 there are only system.swap.size[,free], system.swap.size[,pfree] and system.swap.size[,total]. |
Comment by Aleksandrs Saveljevs [ 2014 Jan 09 ] |
In other words, if you wish to create a trigger for an item in the template, that item has to exist in the corresponding template in the frontend. |
Comment by fred [ 2014 Jan 11 ] |
I tried creating the trigger from scratch for just one Host and I get the same error. No template involved. |
Comment by richlv [ 2014 Jan 11 ] |
creating trigger will not help if item is missing. create item first. please use zabbix forums, irc and other channels for community support. see https://www.zabbix.org/wiki/Getting_help for more information |