Hello,
I made a little script to check the raid status for my HP servers in perl. This script return a string (Problem or OK).
I have create an item checkraid with character for the type and zabbix agent.
I have also create a trigger as follwow : {Unix_t:checkraid.str(Problem).count(600,Problem," eq")}>1
But this trigger don't work, if I modify my trigger to this {Unix_t:checkraid.str(Problem)#1}, it works.
I have also try this {Unix_t:checkraid.str(Problem).count(600,"Problem" ,"eq")}>1, but the result is the same...
Could you help me please ?
I made a little script to check the raid status for my HP servers in perl. This script return a string (Problem or OK).
I have create an item checkraid with character for the type and zabbix agent.
I have also create a trigger as follwow : {Unix_t:checkraid.str(Problem).count(600,Problem," eq")}>1
But this trigger don't work, if I modify my trigger to this {Unix_t:checkraid.str(Problem)#1}, it works.
I have also try this {Unix_t:checkraid.str(Problem).count(600,"Problem" ,"eq")}>1, but the result is the same...
Could you help me please ?

Comment