Same CheckMk agent section for multiple checks

Hello,

I want to port my the lm-sensors plugin to check_mk 2.
This already works, but now I want to set thresholds via existing rules, to reuse them.

My idea is to splitt the the plugin into multiple sub-plugins for that.
lmsensors-temp, lmsensors-fan etc.

But all these plugins need to use the same parse function and the same agent section.

I am certain I read somewhere that it is possible somehow, but I don’t know how to do it.

Best wishes

Found the answer in myself.
The parameter sections in the register function did the trick.