I've created a template for my linux servers to monitor via snmp. In that template I have items for checking disks via dskPath.X and dskPercent.X
Each item individual works as expected. For example on server 'Arwen' when I do a snmpget on dskPath.1 I get / and when I do a dskPercent.1 I get 15 both of which are correct.
I created a trigger that looks for two failed instances of dskPercent.1 above X percent.
The problem is when the trigger goes off, the output looks like this.
What i was trying to do was to get zabbix to put the character string from dskPath.1 into the trigger output so it would show {Linux Disk usage:/} usage = 15%: PROBLEM
Getting the string from item one, into the trigger output from item 2 would be immensely helpful so we could see at a glance which partition is full. How can I accomplish this?
Each item individual works as expected. For example on server 'Arwen' when I do a snmpget on dskPath.1 I get / and when I do a dskPercent.1 I get 15 both of which are correct.
I created a trigger that looks for two failed instances of dskPercent.1 above X percent.
Code:
Trigger Name: Disk 1 ({Linux Disk usage:$dskPath.1} usage = {ITEM.VALUE}%
Trigger Expression: {BC Admin Server:dskPercent.1.last(#2)}>80
Arwen: Disk 1 {Linux Disk usage:$dskPath.1} usage = 15%: PROBLEM
Disk 1 Percent = 15
Previous for Disk 1 Percent: 15
2011.11.21 20:00:26
Disk 1 Percent = 15
Previous for Disk 1 Percent: 15
2011.11.21 20:00:26
Getting the string from item one, into the trigger output from item 2 would be immensely helpful so we could see at a glance which partition is full. How can I accomplish this?