Re: Possible to change the location of run_dir?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



But the socket files are not group writeable:

 

srwxr-xr-x 1 ceph ceph 0 Aug 21 15:58 /var/run/ceph/ceph-mgr.carf-ceph-osd16.asok

 

So users in that group can’t write to that admin socket, which is required for running `ceph --admin-daemon /var/run/ceph/ceph-osd.9.asok perf dump` (what telegraf is trying to run)?

 

Thanks,

-Bryan

 

From: David Turner [mailto:drakonstein@xxxxxxxxx]
Sent: Wednesday, September 20, 2017 1:34 PM
To: Bryan Banister <bbanister@xxxxxxxxxxxxxxx>; ceph-users@xxxxxxxxxxxxxx
Subject: Re: [ceph-users] Possible to change the location of run_dir?

 

Note: External Email


You can always add the telegraf user to the ceph group.  That change will persist on reboots and allow the user running the commands to read any folder/file that is owned by the group ceph.  I do this for Zabbix and Nagios now that the /var/lib/ceph folder is not public readable.

 

On Wed, Sep 20, 2017 at 2:27 PM Bryan Banister <bbanister@xxxxxxxxxxxxxxx> wrote:

We are running telegraf and would like to have the telegraf user read the admin sockets from ceph, which is required for the ceph telegraf plugin to apply the ceph  related tags to the data.  The ceph admin sockets are by default stored in /var/run/ceph, but this is recreated at boot time, so we can’t set permissions on these sockets which will persist.

 

We would like to change the run_dir for ceph to be a persistent directory.  Is there a way to do this?

 

Would be nice if there was a [global] config option or something we could put in the /etc/sysconfig/ceph file.

 

Thanks,

-Bryan

 



Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux