Hello,
I am looking to create a template to test some command status , I tried the below method to collect the info ,but my trigger seems not working ...
I am trying to get the alert if I see the DOWN from that command
My Item is like this
Type :Zabbix agent
Key : system.run[lpconfig -l | grep drive | grep DOWN |awk {'print "This " $9 " is " $6'} ,wait]
Type of information :text
Trigger
Expression :{Template-XXX-Status:system.run[lpconfig -l | grep drive | grep DOWN |awk {'print "This " $9 " is " $6'} ,wait].last(#3)}<>0
I see the latest data with the DOWN .. but its not triggering ,
Any help would be appreciated.
Thanks.
I am looking to create a template to test some command status , I tried the below method to collect the info ,but my trigger seems not working ...
I am trying to get the alert if I see the DOWN from that command
My Item is like this
Type :Zabbix agent
Key : system.run[lpconfig -l | grep drive | grep DOWN |awk {'print "This " $9 " is " $6'} ,wait]
Type of information :text
Trigger
Expression :{Template-XXX-Status:system.run[lpconfig -l | grep drive | grep DOWN |awk {'print "This " $9 " is " $6'} ,wait].last(#3)}<>0
I see the latest data with the DOWN .. but its not triggering ,
Any help would be appreciated.
Thanks.
Comment