Hello guys,
I wonder. if there is any way how to change value i am getting via SNMP.... In my case, I am getting information about used mobile technology at my device. This technology is represented by number. For example 1=LTE, 2 = EDGE, 3 HUSPA etc.... I would like to do preprocesing of item, that would be replace number for text. But issue is, that I cant figure our, which way it is possible.
I have tried regular expression, where pattern is my number and output is text matched with number..... ( pattern = 1 ----> output = LTE), then I add next regular expression below the first one ( pattern = 2 ----> output = EDGE). But it doesnt work for me.
Is it even possible to do this conditional replacement?
I wonder. if there is any way how to change value i am getting via SNMP.... In my case, I am getting information about used mobile technology at my device. This technology is represented by number. For example 1=LTE, 2 = EDGE, 3 HUSPA etc.... I would like to do preprocesing of item, that would be replace number for text. But issue is, that I cant figure our, which way it is possible.
I have tried regular expression, where pattern is my number and output is text matched with number..... ( pattern = 1 ----> output = LTE), then I add next regular expression below the first one ( pattern = 2 ----> output = EDGE). But it doesnt work for me.
Is it even possible to do this conditional replacement?
Comment