I have this trigger:
{Template App Backup:eventlog[Application,,,CloudBerry Backup Server Edition,,,].str(Result: Success)}=0 and {Template App Backup:eventlog[Application,,,CloudBerry Backup Server Edition,,,].str(Result: Failed)}=1
in this trigger Zabbix consult a backup event log to show if have success or fail.
But I have 2 problem:
1- I need to include a regex to change name of trigger with a phrase that have in log like: "Plan name: test"
2- without the name in regex I will receive a false positive, because in 1 server I have 1 app that have 4 plans like this: plan1: 10pm, plan2: 11pm, plan3: 12am, plan4: 01am, if the plan2 fail, but 3 and 4 success, the trigger show success, and I can't see if have a fail.
{Template App Backup:eventlog[Application,,,CloudBerry Backup Server Edition,,,].str(Result: Success)}=0 and {Template App Backup:eventlog[Application,,,CloudBerry Backup Server Edition,,,].str(Result: Failed)}=1
in this trigger Zabbix consult a backup event log to show if have success or fail.
But I have 2 problem:
1- I need to include a regex to change name of trigger with a phrase that have in log like: "Plan name: test"
2- without the name in regex I will receive a false positive, because in 1 server I have 1 app that have 4 plans like this: plan1: 10pm, plan2: 11pm, plan3: 12am, plan4: 01am, if the plan2 fail, but 3 and 4 success, the trigger show success, and I can't see if have a fail.
Comment