Custom Plugin is not discovering services over WATO, only over site's console with commands

Hi andreas!! Thanks for your reply.

I have no idea how to define that snmp_scan_function, is something related with this section?

register.snmp_section(
	name = "sla_fortinet",
	detect = exists(".1.3.6.1.4.1.12356.101.4.9.2.1"),
	fetch = SNMPTree(
	        base = '.1.3.6.1.4.1.12356.101.4.9.2.1',
		oids = [
			"14", #LinkName
			"4", #LinkState
			"5", #LinkLatency
			"9", #LinkPacketLoss
		],
	),
	parse_function=parse_Sla,
)

Checking documentation I’ve found what you told me about snmp_scan_function: Monitoring via SNMP - Monitoring of SNMP devices with Checkmk but still have no idea how to implement it. Do you have any example or documentation about how set this?

Again, thanks for your help and time.