Natalia,
Now I see your problem.
I have not tested it yet but here is what I found on documentation about Received value:
So it will not work if you are using two checks. The scenario will fail in your case and I can't think of any workaround yet. Sorry! 
Is there a possibility that you can receive both values (qa and jboss) using one agent check? In such way you could parse both values at once thus adding the host to the correct group.
Ingus
Now I see your problem.
I have not tested it yet but here is what I found on documentation about Received value:
Specify the value received from an agent (Zabbix, SNMP). Case sensitive string comparison. If multiple Zabbix agent or SNMP checks are configured for a rule, received values for all of them are checked (each check generates a new event which is matched against all conditions).

Is there a possibility that you can receive both values (qa and jboss) using one agent check? In such way you could parse both values at once thus adding the host to the correct group.
Ingus

Comment