Hi,
On the zabbix agent there are two userparameter.
One is just a counter.
The other is some text with some information.
I've made two items in a new tempate. One is getting the counter and the other one is getting the text field.
This works because i can see the values in latest data of the host.
I've made a trigger. basically if the count is higher then 0 a tigger is made active.
This works as designed.
In actions i have made a new action. When the trigger (made in the new template) has been triggered, a custom message will be send via email.
In the mail message i specified the {HOST.NAME} value and the counter {ITEM.VALUE1}.
so it says something like: "Ön <hostname> are <counter value> sessions active"
So far so good.
The next part I cannot solve.
I want to add the contents of that text field from the other item in to this custom message. {ITEM.VALUE2} does not work.
How do a pass a second item with a value into this message?
I have looked on serveral places, but the result is a *UNKNOW* value in the custom message.
Can anyone explain to me how i must solve this?
Thx in advance!
On the zabbix agent there are two userparameter.
One is just a counter.
The other is some text with some information.
I've made two items in a new tempate. One is getting the counter and the other one is getting the text field.
This works because i can see the values in latest data of the host.
I've made a trigger. basically if the count is higher then 0 a tigger is made active.
This works as designed.
In actions i have made a new action. When the trigger (made in the new template) has been triggered, a custom message will be send via email.
In the mail message i specified the {HOST.NAME} value and the counter {ITEM.VALUE1}.
so it says something like: "Ön <hostname> are <counter value> sessions active"
So far so good.
The next part I cannot solve.
I want to add the contents of that text field from the other item in to this custom message. {ITEM.VALUE2} does not work.
How do a pass a second item with a value into this message?
I have looked on serveral places, but the result is a *UNKNOW* value in the custom message.
Can anyone explain to me how i must solve this?
Thx in advance!
Comment