Quick one...
How would you handle regex in the DCI transformation?
Let's say you poll an SNMP OID which returns a string similar to "MyVal=18#-99#AB_01".
You want to extract the "-99" and return an integer to graph it...
In Perl it would sth like $1 ~=/#(.+)#/ - if I'm right.
Regards,
Jdamien
How would you handle regex in the DCI transformation?
Let's say you poll an SNMP OID which returns a string similar to "MyVal=18#-99#AB_01".
You want to extract the "-99" and return an integer to graph it...
In Perl it would sth like $1 ~=/#(.+)#/ - if I'm right.
Regards,
Jdamien

