I have a basic shell script that does a check on my linux boxes and writes either a 1 or a 0 to a log file.
Item:
log["/tmp/zabbix.urpmi.status","1|0","UTF-8",1]
I want this item to trigger if the logfile has a 1 at the bottom
Trigger:
{Hostname:log["/tmp/zabbix.urpmi.status","1|0","UTF-8",1].diff(0)}=0
diff(0)}=0 I can not seem to find the correct value to put here, to activate if the log has a 1 at the bottom not a 0
plz help me fix this basic issue that is driving me insane!
Item:
log["/tmp/zabbix.urpmi.status","1|0","UTF-8",1]
I want this item to trigger if the logfile has a 1 at the bottom
Trigger:
{Hostname:log["/tmp/zabbix.urpmi.status","1|0","UTF-8",1].diff(0)}=0
diff(0)}=0 I can not seem to find the correct value to put here, to activate if the log has a 1 at the bottom not a 0
plz help me fix this basic issue that is driving me insane!
Comment