Hi,
I'm confusing about send correct message on action. Please take a look below real case situation:
Situation:
Most of server comes with redundant powersupply(PS), and i'm using ZABBIX to monitor the status of both PS via SNMP value. Let say psstatus.1 and psstatus.2. Now i would like to monitor both of PS unit and will alert me when one of those unit's != 3
Trigger:
Create trigger like this:
Action:
I'm create an action with message below:
Problem:
When psstatus-1's value changed, message reflect the correct situation/condition. But when psstatus-2's value changed, macro {ITEM.NAME} substitute with psstatus-1. I know, this is a correct behavior of {ITEM.NAME} macro, but is there any way to changing this behavior? So when psstatus-2's value changed, then macro {ITEM.NAME} will substitute with psstatus-2 correctly?
taken from zabbix 1.4 release 012 document:
i believe, at least on my case, if this can be done will much more reduce number of action that need to be create.
1 action for many monitored items?
am i right?
Is there any macro's suggestion for replacing {ITEM.NAME} and {TRIGGER.KEY} with?
Thanks
BEE
I'm confusing about send correct message on action. Please take a look below real case situation:
Situation:
Most of server comes with redundant powersupply(PS), and i'm using ZABBIX to monitor the status of both PS via SNMP value. Let say psstatus.1 and psstatus.2. Now i would like to monitor both of PS unit and will alert me when one of those unit's != 3
Trigger:
Create trigger like this:
Code:
{server1:psstatus.1.last(0)}#3 | {server1:psstatus.2.last(0)}#3
I'm create an action with message below:
Code:
SEVERITY:{TRIGGER.SEVERITY} - Event on {DATE} at {TIME}, {ITEM.NAME} for {HOSTNAME}({IPADDRESS}) has changed to {{HOSTNAME}:{TRIGGER.KEY}.last(0)}
When psstatus-1's value changed, message reflect the correct situation/condition. But when psstatus-2's value changed, macro {ITEM.NAME} substitute with psstatus-1. I know, this is a correct behavior of {ITEM.NAME} macro, but is there any way to changing this behavior? So when psstatus-2's value changed, then macro {ITEM.NAME} will substitute with psstatus-2 correctly?
taken from zabbix 1.4 release 012 document:
Code:
[I]{TRIGGER.KEY}
Key of [B][U][COLOR="Red"]first[/COLOR][/U][/B] item of the trigger which caused a notification. [/I]
Code:
[I]{ITEM.NAME}
Name of [COLOR="Red"][B][U]first[/U][/B][/COLOR] item of the trigger which caused a notification.[/I]
1 action for many monitored items?
am i right?
Is there any macro's suggestion for replacing {ITEM.NAME} and {TRIGGER.KEY} with?
Thanks
BEE


Comment