Arguments with nrpe and icinga2

Hi
I’ve a question about icinga2 / nrpe and arguments.

I’ve a configuration with one master and one agent monitored for the moment.
On my master on /etc/icinga2/conf.d/services.conf, I have:

object Service "systemd_service" {
  import "generic-service"
  host_name = "server1"
  check_command = "nrpe"
  vars.nrpe_command = "systemd-service"
}

On my server1, I have on nrpe.cfg:

command[systemd-service]=/usr/lib/nagios/plugins/check_systemd_service --service sshd.service

check_systemd_service is linked with: GitHub - hkbakke/check-systemd-service: Nagios compatible systemd service checker

with this solution, no problem, check is executed and on icingaweb i can see result like:
OK - active since 2022-10-05 11:12:10

I want to do the same but with arguments.
So On my master I tried with many solutions like:

object Service "systemd_service" {
  import "generic-service"
  host_name = "server1"

  check_command = "nrpe"

  vars.nrpe_command = "systemd-service"
  vars.nrpe_arguments = "sshd.service"
}

And on my server1:
command[systemd-service]=/usr/lib/nagios/plugins/check_systemd_service --service $ARG1$

But with this solution I have
NRPE: Unable to read output

I tried many solutions with

vars.nrpe_arguments = [ "--service", "sshd.service"]

And in this case I have

CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected).

dont_blame_nrpe=1 is on my nrpe.cfg.

Do you have any ideas ?
I tried with other nrpe checks aned arguments but I have the same kind of problems.

Thanks

Have you tried:

command[systemd-service]=/usr/lib/nagios/plugins/check_systemd_service --service $ARG1$

vars.nrpe_arguments = [ “sshd.service”]

Just tried it now and on my nrpe logs I have:
Error: Request contained command arguments!

And on icingaweb:
CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected).

You might take a look here if that belongs to you as well.