On May 19, 2006, at 12:36 PM, Marc Powell wrote:
If I've found the same plugin you did, it's just a perl wrapper for
/usr/sbin/vdf. Can you run /usr/sbin/vdf as the nagios user? If not, it
likely needs root privs to run. You can either allow nagios to call it
via sudo (using visudo to grant permissions and changing the plugin to
call 'sudo /usr/sbin/vdf' _or_ give /usr/sbin/vdf the suid bit to allow any user to execute it with root permissions (chmod u+s /usr/sbin/ vdf).

Do it with sudo or else every time you upgrade your ESX farm, you'll have to re-set that bit on every server, since the upgrade-packages will replace that file with a new one.

Cheers,
D

--

Derek J. Balling
Systems Administrator
Vassar College
124 Raymond Ave
Box 13 - Computer Center 217
Poughkeepsie, NY 12604
(845) 437-7231


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to