Morning guys,
found some information regarding "item.value" and "item.lastvalue" like starting with variable at col 1 in a new line, ...
But I never got anything else than the values of "item.(last)value" and "item.(last)value1" which contain the same data. Wasn't able to get values for anyone of the other (item-lastvalue2...9) variables.
found some information regarding "item.value" and "item.lastvalue" like starting with variable at col 1 in a new line, ...
But I never got anything else than the values of "item.(last)value" and "item.(last)value1" which contain the same data. Wasn't able to get values for anyone of the other (item-lastvalue2...9) variables.
My environment:
Operating system:
-CentOS release 5.4 (Final)
-Linux HOST.DOMAIN 2.6.18-164.11.1.el5PAE #1 SMP Wed Jan 20 08:16:13 EST 2010 i686 i686 i386 GNU/Linux
Zabbix-Server:
30650:20100619:074601.186 Starting Zabbix Server. Zabbix 1.8.2 (revision 11211).
30650:20100619:074601.186 **** Enabled features ****
30650:20100619:074601.186 SNMP monitoring: YES
30650:20100619:074601.186 IPMI monitoring: YES
30650:20100619:074601.187 WEB monitoring: YES
30650:20100619:074601.187 Jabber notifications: NO
30650:20100619:074601.187 ODBC: NO
30650:20100619:074601.187 SSH2 support: YES
30650:20100619:074601.187 IPv6 support: YES
30650:20100619:074601.187 **************************
Operating system:
-CentOS release 5.4 (Final)
-Linux HOST.DOMAIN 2.6.18-164.11.1.el5PAE #1 SMP Wed Jan 20 08:16:13 EST 2010 i686 i686 i386 GNU/Linux
Zabbix-Server:
30650:20100619:074601.186 Starting Zabbix Server. Zabbix 1.8.2 (revision 11211).
30650:20100619:074601.186 **** Enabled features ****
30650:20100619:074601.186 SNMP monitoring: YES
30650:20100619:074601.186 IPMI monitoring: YES
30650:20100619:074601.187 WEB monitoring: YES
30650:20100619:074601.187 Jabber notifications: NO
30650:20100619:074601.187 ODBC: NO
30650:20100619:074601.187 SSH2 support: YES
30650:20100619:074601.187 IPv6 support: YES
30650:20100619:074601.187 **************************
My trigger:
(see trigger.PNG)
(see trigger.PNG)
My action:
(see action.PNG)
Details of the "default message" field:
(see action.PNG)
Details of the "default message" field:
EventSystem: {HOSTNAME}
EventStatus: {STATUS}
DateTimeNOW: {DATE} {TIME}
EventDateTIME: {EVENT.DATE} {EVENT.TIME}
EventAge: {EVENT.AGE}
ItemName: {ITEM.NAME}
ItemLastValue: {ITEM.LASTVALUE}
Comment: {TRIGGER.COMMENT}
EventTrigger: {TRIGGER.NAME}
Current ITEM-LASTvalue:
{ITEM.LASTVALUE1} = ItemLastValue1
Previous ITEM-LASTvalues:
{ITEM.LASTVALUE2} = ItemLastValue2
{ITEM.LASTVALUE3} = ItemLastValue3
{ITEM.LASTVALUE4} = ItemLastValue4
Current ITEM-Value:
{ITEM.VALUE1} = ItemValue1
Previouse ITEM-Values:
{ITEM.VALUE2} = ItemValue2
{ITEM.VALUE3} = ItemValue3
{ITEM.VALUE4} = ItemValue4
{ITEM.VALUE5} = ItemValue5
Escalation history:
{ESC.HISTORY}
EventStatus: {STATUS}
DateTimeNOW: {DATE} {TIME}
EventDateTIME: {EVENT.DATE} {EVENT.TIME}
EventAge: {EVENT.AGE}
ItemName: {ITEM.NAME}
ItemLastValue: {ITEM.LASTVALUE}
Comment: {TRIGGER.COMMENT}
EventTrigger: {TRIGGER.NAME}
Current ITEM-LASTvalue:
{ITEM.LASTVALUE1} = ItemLastValue1
Previous ITEM-LASTvalues:
{ITEM.LASTVALUE2} = ItemLastValue2
{ITEM.LASTVALUE3} = ItemLastValue3
{ITEM.LASTVALUE4} = ItemLastValue4
Current ITEM-Value:
{ITEM.VALUE1} = ItemValue1
Previouse ITEM-Values:
{ITEM.VALUE2} = ItemValue2
{ITEM.VALUE3} = ItemValue3
{ITEM.VALUE4} = ItemValue4
{ITEM.VALUE5} = ItemValue5
Escalation history:
{ESC.HISTORY}
The resulting mail:
Subject: CPU User load is too high on SYSTEM-A: PROBLEM
EventSystem: SYSTEM-A
EventStatus: PROBLEM
DateTimeNOW: 2010.06.29 14:24:49
EventDateTIME: 2010.06.29 14:24:44
EventAge: 0m
ItemName: CPU user time (avg1)
ItemLastValue: 99.040918
Comment: CPU User load is to low on SYSTEM-A .
The treshold is 98%, it seams that there are user processes
consuming to much CPU. Connect to the system and check the
processes with top or nmon.
EventTrigger: CPU User load is too high on SYSTEM-A
Current ITEM-LASTvalue:
99.040918 = ItemLastValue1
Previous ITEM-LASTvalues:
*UNKNOWN* = ItemLastValue2
*UNKNOWN* = ItemLastValue3
*UNKNOWN* = ItemLastValue4
Current ITEM-Value:
99.0409 = ItemValue1
Previouse ITEM-Values:
*UNKNOWN* = ItemValue2
*UNKNOWN* = ItemValue3
*UNKNOWN* = ItemValue4
*UNKNOWN* = ItemValue5
Escalation history:
Problem started: 2010.06.29 14:24:44 Age: 0m
Subject: CPU User load is too high on SYSTEM-A: PROBLEM
EventSystem: SYSTEM-A
EventStatus: PROBLEM
DateTimeNOW: 2010.06.29 14:24:49
EventDateTIME: 2010.06.29 14:24:44
EventAge: 0m
ItemName: CPU user time (avg1)
ItemLastValue: 99.040918
Comment: CPU User load is to low on SYSTEM-A .
The treshold is 98%, it seams that there are user processes
consuming to much CPU. Connect to the system and check the
processes with top or nmon.
EventTrigger: CPU User load is too high on SYSTEM-A
Current ITEM-LASTvalue:
99.040918 = ItemLastValue1
Previous ITEM-LASTvalues:
*UNKNOWN* = ItemLastValue2
*UNKNOWN* = ItemLastValue3
*UNKNOWN* = ItemLastValue4
Current ITEM-Value:
99.0409 = ItemValue1
Previouse ITEM-Values:
*UNKNOWN* = ItemValue2
*UNKNOWN* = ItemValue3
*UNKNOWN* = ItemValue4
*UNKNOWN* = ItemValue5
Escalation history:
Problem started: 2010.06.29 14:24:44 Age: 0m

Comment