[one-users] Monitoring vmware datastores
Tino Vazquez
cvazquez at c12g.com
Fri Jan 31 08:25:15 PST 2014
Hi Ondra,
Unfortunately, the setuid for df works only for ESX 5.1. I recommend
updating as far as possible. If not, logging as root is the only
solution we've found so far to get monitoring to work on ESX 5.0
datastores, but it is not ideal for production environments.
Hope it helps,
-Tino
--
OpenNebula - Flexible Enterprise Cloud Made Simple
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova
--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
"To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at abuse at c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.
On 31 January 2014 17:22, Hamada, Ondrej <ondrej.hamada at acision.com> wrote:
> Hi,
>
> I need to monitor datastores on ESXi 5.0. Problem is that as a oneadmin user
> i'm not allowed to run even 'df' command. I've tried to set the set-groupid
> bit for 'df' (chmod +s /sbin/df), but it does not work. I'm still getting:
> "Error during version check: Failed to get vmkernel version: Operation not
> permitted (running as non-root?)". The only workaround is to set ssh config
> for oneadmin user to log into ESXi as a root.
>
>
>
> Tino mentioned here:
> https://www.mail-archive.com/users@lists.opennebula.org/msg13374.html, that
> it is possible to run the 'df' under non-root. My question is how to do
> that? Am I missing some hidden configuration option?
>
>
>
> Regards,
>
>
>
> Ondra
>
>
> ________________________________
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you for
> understanding.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
More information about the Users
mailing list