Hi,
I have a trigger on snmp trap received from my Veeam backup server and I want get the job name in the text received from trap.
My string received is:
13:21:57 2017/02/15 .1.3.6.1.4.1.31023.1.1.1.0.2 Events” "“Status" XXX-vcenter.XXX.it - ZBXTRAP 10.12.7.149 SNMP Job completed Job-Name=Tasso-Vm01 to Nas02 VM-Name=Tasso-Vm01d Source-Host-Name=XXX-vcenter.XXX.it Status=Success
I want get via regular expression {{ITEM.VALUE}.regsub} the name of job for set a tag.. but i don't understand how work this function.
Have some hints for extract the Job-Name from this text string?
All the best.
Giorgio.
I have a trigger on snmp trap received from my Veeam backup server and I want get the job name in the text received from trap.
My string received is:
13:21:57 2017/02/15 .1.3.6.1.4.1.31023.1.1.1.0.2 Events” "“Status" XXX-vcenter.XXX.it - ZBXTRAP 10.12.7.149 SNMP Job completed Job-Name=Tasso-Vm01 to Nas02 VM-Name=Tasso-Vm01d Source-Host-Name=XXX-vcenter.XXX.it Status=Success
I want get via regular expression {{ITEM.VALUE}.regsub} the name of job for set a tag.. but i don't understand how work this function.
Have some hints for extract the Job-Name from this text string?
All the best.
Giorgio.
Comment