I discovered that when nagios-nrpe-server was converted to systemd in 18.04, PrivateTmp=true was set as the default in the config file, which broke my checks. Since private temp directories are unique across servers, I opted to disable PrivateTmp for nrpe rather than attempting to set each one in config management. Copying /lib/systemd/system /nagios-nrpe-server.service to /etc/systemd/system and settting PrivateTmp=false fixed my issue.
Please feel free to close this bug report -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927250 Title: nrpe not working for check_postgres.PL plugin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios-nrpe/+bug/1927250/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
