Lvms, Root And Uptimeagent Users

by Aug 2, 2011

We are trying to query information from RedHat's LVM to determine how much space is free in the LVM pool but due to recent patches from Red Hat, the LVM comannds (vgs) can only be ran as root. What are your recommendations to have the uptimeagent user in linux to be able to run a script which calls the vgs command to display the needed information that needs to be piped into uptime?

Thanks!