The poller of fan returns the text string "fan1:2035,fan2:8033,cpu_fan1:8123".
parse((?<result>\d+),{fan}) return 1
parse((?<result>\d\d\d\d),{fan}) return 2035
How can I use parse function to get the values of 8033 and 8123?
The poller of fan returns the text string "fan1:2035,fan2:8033,cpu_fan1:8123".
parse((?<result>\d+),{fan}) return 1
parse((?<result>\d\d\d\d),{fan}) return 2035
How can I use parse function to get the values of 8033 and 8123?