hello
Upgrade to Zabbix 1.8.4 to 2.4 and I'm testing Low-level discovery.
I need to restrict a trigger for a value of {#IFNAME} = ppp0, I need to be triggered if the incoming traffic on the ppp0 interface exceeds 50kb, so the first probe with:
{Tempt_Equipo_Linux_ligero:net.if.in[{#IFNAME},bytes].min(10m)}>51200
and shooting correctly, when I want to restrict {#IFNAME}=ppp0 indicates syntax error.
with:
{Tempt_Equipo_Linux_ligero:net.if.in[{#IFNAME},bytes].min(10m)}>51200 and {#IFNAME} = ppp0
Indicates error:
Viewing post, I understand that it can be done, but something I'm doing wrong, because my does not work me.
I guess it is a syntactic error, but I do not see where is the error.
Thanks for reading this far (as below), and excuse my English
Upgrade to Zabbix 1.8.4 to 2.4 and I'm testing Low-level discovery.
I need to restrict a trigger for a value of {#IFNAME} = ppp0, I need to be triggered if the incoming traffic on the ppp0 interface exceeds 50kb, so the first probe with:
{Tempt_Equipo_Linux_ligero:net.if.in[{#IFNAME},bytes].min(10m)}>51200
and shooting correctly, when I want to restrict {#IFNAME}=ppp0 indicates syntax error.
with:
{Tempt_Equipo_Linux_ligero:net.if.in[{#IFNAME},bytes].min(10m)}>51200 and {#IFNAME} = ppp0
Indicates error:
Code:
Incorrect trigger expression. Check expression part starting from " ppp0". [trigger_prototypes.php:165 → CFrontendApiWrapper->update() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CTriggerPrototype->update() → CTriggerPrototype->validateUpdate() → CTriggerPrototype->validateTriggerPrototypeExpression() → CApiService::exception() in /srv/www/htdocs/zabbix/include/classes/api/services/CTriggerPrototype.php:1004]
Viewing post, I understand that it can be done, but something I'm doing wrong, because my does not work me.
I guess it is a syntactic error, but I do not see where is the error.
Thanks for reading this far (as below), and excuse my English
Comment