> My money is on "Requiretty". Locally you have a TTY, while NRPE does > not. The "Requiretty" setting in /etc/sudoers must be turned > off. Comment out this line in /etc/sudoers: > > Defaults requiretty
I agree -- this one had me stumped for days when I was producing a different plugin (for checking jvm processes) before the light finally came on. With RHEL5, the Requiretty setting became default on. Steve ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null