Debian 10 Buster not recognizing domain name assigned by dhcp

I have two buster servers that get assigned static IPs via DHCP (dhclient). the DHCP server assigns all parameters including domain (mydomain.org). One server works fine, i.e. hostname -f. On this server /etc/resolv.conf is correct: # Generated by NetworkManager search mydomain.org nameserver x.x.x.x hostname -f on the working server returns the FQDN as it should.…

Nagios NRPE won’t allow arguments

I am trying to use a Nagios NRPE plugin to communicate with my servers. I have a command definition in /etc/nagios/nrpe_local.cfg to use it: command[check_service]=/usr/lib/nagios/plugins/check_service -s $ARG1$ When I manually run the command in my terminal, it succeeds: # /usr/lib/nagios/plugins/check_service -s bind9 OK: Service bind9 is running! When I try running it from my Nagios…