After re-reading the bug description, I noticed that you ran the plugin as root on the server itself. Since NRPE checks are ran as the "nagios" user you might need to setup sudo access for this user? Another thing that could change when invoked from the command line versus via NRPE is the environment (ENV).
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/740136 Title: check_nrpe reports "All OK" even if it is not all OK. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios-nrpe/+bug/740136/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs