Creating new special_agent but getting datasource not configured error

I am currently writing a new special_agent plugin for hardware that currently has none and even though I can configure the rules and apply it to my host, when I make a service discovery I get the “host configuration requires a datasource but none configured” error. I’m not seeing anything in the logs.

Doesn’t that error usually imply that the host has no API agent configured?

Okay, I was being an idiot. I ran cmk --debug HOST and my server_side_call module threw an error. Should have checked that first.